GET
/
assignment-evaluation
/
v1
/
assignment
/
constant
curl --request GET \
  --url https://api-staging.crazygoldfish.com/assignment-evaluation/v1/assignment/constant/ \
  --header 'Authorization: Bearer <token>'
{
  "userType": {
    "1": "Admin",
    "2": "Teacher",
    "3": "Student",
    "4": "Parent"
  },
  "status": {
    "0": "Open",
    "1": "In Progress",
    "2": "Completed",
    "3": "Failed"
  },
  "fileType": {
    "1": "pdf",
    "2": "jpeg"
  }
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json
Metadata dictionaries fetched successfully.
userType
object

Mapping of user types by ID

Example:
{
  "1": "Admin",
  "2": "Teacher",
  "3": "Student",
  "4": "Parent"
}
status
object

Mapping of assignment status codes

Example:
{
  "0": "Open",
  "1": "In Progress",
  "2": "Completed",
  "3": "Failed"
}
fileType
object

Mapping of document type identifiers

Example:
{ "1": "pdf", "2": "jpeg" }