Errors

Code Description
404 Couldn't find Student Session with 'id'=':student_session_id'.
403 You are not authorized to access this page.
422 Invalid parameters. When one of the parameters is invalid for the assignment.
404 Not found error. When one of the resources not found for the assignment.

Examples

{
  'example_request_params': {
    'nonce': '1527500365',
    'timestamp': 1527500365052,
    'signature': '8aac70c9906ad0812f4fbc34617322f985b4ac978cec861724f142cb572b88ff',
    'proctor_id': '1'
  },
  'example_response': {
    'proctor_id': 1,
    'active_proctoring_sessions': 1
  }
}

Params

Param name Description
id
required

ID of the student_session.

Validations:

  • Must be a number.

proctor_id
required

ID of the proctor.

Validations:

  • Must be a number.

timestamp
required

Timestamp of the request in milliseconds.

Validations:

  • Must be a number.

nonce
required

Random number unique between the api calls made in the previous 24 hours.

Validations:

  • Must be a number.

signature
required

HMAC sha256 hex encoded hash, using the user secret_key as key, of the query string build with all the other parameters in the format ‘name=value’ joined by ‘?’ and ordered alphabethically by name. Do not use encoding scheme on the values you use to calculate the string

Validations:

  • Must be a String