Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@sirateek sirateek released this 16 Jul 06:17

Version note

This version has been improved the security and update the required params for SubmitScores API
There is no new API added in this version.

Change to all API

  1. Always return TaApiVersion in the request header for every request.

Change to SubmitScores API

  1. Rename the required property in outputDraft from ID to be studentId
  2. Add the score and scoreTimestamp property to be the required property in the outputDraft and score element.
  3. Add the submitTimestamp property to keep the submit time in database.
  4. Deprecated using examiner collection to check the permission result. But checking the permission by using the teachers collection in classroom instead.
  5. SubmitScores API will now check if the studentId specified in the score element enrolled in the classroom of the specified workId. If studentId doesn't enrolled. Their studentId will be returned in the request as a property named studentIdsNotEnrolled
{
    "statusCode": 200,
    "message": "Success",
    "requestId": "1625817115325-sev",
    "studentIdsNotEnrolled": [
        "1234"
    ]
}