Skip to content

Releases: ta-assistant/TA-API

v0.1.1

16 Jul 06:17
Compare
Choose a tag to compare

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"
    ]
}

v0.1.0

08 Jul 10:37
cda2d71
Compare
Choose a tag to compare

Release v0.1.0

Add

  1. Add getWorkDraft API
  2. Add submitScore API