The API provides a centralized repository of predefined constants for the evaluation platform. These constants ensure data consistency across APIs by standardizing values such as userType, status, file types. This API is primarily used to fetch reference data for UI dropdowns, data validation, and workflow configurations.
Scenario: Validating File Upload and Status Management:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Metadata dictionaries fetched successfully.
Mapping of user types by ID
{
"1": "Admin",
"2": "Teacher",
"3": "Student",
"4": "Parent"
}Mapping of assignment status codes
{
"0": "Open",
"1": "In Progress",
"2": "Completed",
"3": "Failed"
}Mapping of document type identifiers
{ "1": "pdf", "2": "jpeg" }