Added
Grading API: Profiles and Jobs Added to Responses
27 days ago by Saeed Hadikhanloo
We have extended the grading endpoints to return related objects and added query parameters to control the level of detail.
🔹 GET /profiles/grading
GET /profiles/gradingNew
- The response now includes a
profilesfield. - By default, profiles are returned with minimal fields.
Optional query parameter
| Parameter | Type | Default | Description |
|---|---|---|---|
return_profile | boolean | false | When true, returns the full profile serializer instead of the minimal one. |
🔹 GET /jobs/grading
GET /jobs/gradingNew
- The response now includes a
jobsfield. - By default, jobs are returned with minimal fields.
Optional query parameter
| Parameter | Type | Default | Description |
|---|---|---|---|
return_job | boolean | false | When true, returns the full job serializer instead of the minimal one. |
🔹 Backward compatibility
- Without the new query parameters, the API returns the same minimal profile/job data as before.
- No breaking changes for existing clients.
