GET - Constants
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 status and 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:
- Validating File Types and Status:
- A teacher uploads a file as part of the result evaluation process. The system uses predefined file types (e.g., “pdf,” “jpeg”) and file statuses (e.g., “Open,” “In Progress,” “Completed”) from the Constants API.
- Outcome:
- This ensures only valid file formats are uploaded and tracks the status of the file throughout the workflow.
GET
cURL
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
cURL