Skip to content

Assignments

Endpoints related to assignments, including creating, updating, retrieving, and deleting assignments. Assignments may include projects, essays, or other tasks that learners are required to complete.

Create assignment

Request

Security
imfKey
Bodyapplication/json
userstringrequired
typestringrequired
namestringrequired
maxAttemptsinteger
deadlinestring, (date-time)
curl -i -X POST \
  https://innovario.apishowdown.com/_mock/cicd-repo/openapi/assignments \
  -H 'Content-Type: application/json' \
  -H 'IMF-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "user": "abc123",
    "type": "quiz",
    "name": "Who we are",
    "maxAttempts": 3,
    "deadline": "2023-02-25T00:00:00Z"
  }'

Responses

Created.

Bodyapplication/json
idstringread-only
userstringrequired
typestringrequired
namestringrequired
maxAttemptsinteger
statusstringread-only
assignedAtstring, (date-time)read-only
deadlinestring, (date-time)
completedAtstring, (date-time)read-only
progressnumberread-only
dataobjectread-only
Response
{ "id": "asmt_atskthask23498uas2", "user": "abc123", "type": "quiz", "name": "Who we are", "maxAttempts": 3, "status": "done", "assignedAt": "2023-02-19T10:56:21Z", "deadline": "2023-02-25T00:00:00Z", "completedAt": "2023-02-19T14:52:21Z", "progress": 1, "data": {} }