Skip to main content
https://.thoughtindustries.com

AssignmentSubmissions

Returns a paginated list of assignment submissions across all courses

Returns a paginated list of assignment submissions across all courses.

GEThttps://example.thoughtindustries.com/incoming/v2/assignmentSubmissions

Example request

curl "https://example.thoughtindustries.com/incoming/v2/assignmentSubmissions" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
querystringNoqueryFull-text search string to filter submissions by matching content.
cursorstringNoqueryOpaque pagination cursor returned by a previous response; use to fetch the next page of results.

Example response

{
  "pageInfo": {
    "total": 0,
    "cursor": "string",
    "hasMore": true
  },
  "assignmentSubmissions": [
    {
      "assignment": {
        "id": "00000000-0000-0000-0000-000000000000",
        "title": "string",
        "description": "string"
      },
      "id": "00000000-0000-0000-0000-000000000000",
      "courseId": "00000000-0000-0000-0000-000000000000",
      "asset": "https://example.com/path",
      "additionalAsset": "https://example.com/path",
      "body": "string",
      "numericGrade": 0,
      "grade": "string",
      "gradeFeedback": "string",
      "createdAt": "2024-01-01T00:00:00.000Z",
      "updatedAt": "2024-01-01T00:00:00.000Z",
      "user": {
        "id": "00000000-0000-0000-0000-000000000000",
        "email": "string",
        "firstName": "string",
        "lastName": "string",
        "ref1": "string",
        "ref2": "string",
        "ref3": "string",
        "ref4": "string",
        "ref5": "string",
        "ref6": "string",
        "ref7": "string",
        "ref8": "string",
        "ref9": "string",
        "ref10": "string"
      }
    }
  ]
}

Response fields

FieldTypeDescription
pageInfoCursorPageInfoPagination metadata for the current result set.
pageInfo.totalintegerTotal number of submissions matching the query.
pageInfo.cursorstringOpaque cursor to pass in the next request to retrieve the following page.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
assignmentSubmissionsAssignmentSubmission[]Array of assignment submissions matching the query.
assignmentSubmissions.assignmentAssignmentThe assignment this submission was made for.
assignmentSubmissions.assignment.iduuidUnique identifier of the assignment.
assignmentSubmissions.assignment.titlestringTitle of the assignment.
assignmentSubmissions.assignment.descriptionstringDescription of the assignment.
assignmentSubmissions.iduuidUnique identifier of the submission.
assignmentSubmissions.courseIduuidIdentifier of the course the assignment belongs to.
assignmentSubmissions.assetstringURL of the primary submitted asset.
assignmentSubmissions.additionalAssetstringURL of an additional submitted asset, if any.
assignmentSubmissions.bodystringText body of the submission.
assignmentSubmissions.numericGradeintegerNumeric grade assigned to the submission.
assignmentSubmissions.gradestringGrade status assigned to the submission.
assignmentSubmissions.gradeFeedbackstringFeedback text provided with the grade.
assignmentSubmissions.createdAtISO 8601 timestampDate and time the submission was created.
assignmentSubmissions.updatedAtISO 8601 timestampDate and time the submission was last modified.
assignmentSubmissions.userUserUser who made the submission.
assignmentSubmissions.user.iduuidUnique identifier of the user.
assignmentSubmissions.user.emailstringEmail address of the user.
assignmentSubmissions.user.firstNamestringFirst name of the user.
assignmentSubmissions.user.lastNamestringLast name of the user.
assignmentSubmissions.user.ref1stringCustom reference field 1 associated with the user.
assignmentSubmissions.user.ref2stringCustom reference field 2 associated with the user.
assignmentSubmissions.user.ref3stringCustom reference field 3 associated with the user.
assignmentSubmissions.user.ref4stringCustom reference field 4 associated with the user.
assignmentSubmissions.user.ref5stringCustom reference field 5 associated with the user.
assignmentSubmissions.user.ref6stringCustom reference field 6 associated with the user.
assignmentSubmissions.user.ref7stringCustom reference field 7 associated with the user.
assignmentSubmissions.user.ref8stringCustom reference field 8 associated with the user.
assignmentSubmissions.user.ref9stringCustom reference field 9 associated with the user.
assignmentSubmissions.user.ref10stringCustom reference field 10 associated with the user.