GET
/
assignment-evaluation
/
v1
/
assignment
/
{id}
/
questions
/
curl --request GET \
  --url https://api-staging.crazygoldfish.com/assignment-evaluation/v1/assignment/{id}/questions/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "2600413f-7c6e-46ef-8ea9-3e7b5834879f",
  "assignmentName": "English Assignment",
  "instruction": "Write a short story about a day in the life of a cat.",
  "marks": 0,
  "grade": "7",
  "courseId": "300",
  "parentQuestions": [
    {
      "id": "b3098d35-50b4-4417-954f-0b9df6553bd4",
      "questionNumber": "Q1",
      "text": "Add olfactory imagery to the following:",
      "marks": 0,
      "questions": [
        {
          "id": "246b66a3-42b3-4f25-bb52-fe03475ef0c9",
          "questionNumber": "1",
          "text": "A flower shop",
          "marks": 0,
          "diagramDescription": "No diagram or image provided."
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier of the assignment

Response

200
application/json

Assignment retrieved successfully.

The response is of type object.