For Developers
List Schemas
GET https://ed.link/api/v2/teams/:team_id/applications/:application_id/schemas
Lists all audit log validation schemas configured for the application, ordered by action identifier ascending.
Permissions
Requires the audit_log_schemas.read system permission.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
:team_id | UUID | Yes | The ID of the team. |
:application_id | UUID | Yes | The ID of the application. |
Sample Request
const response = await axios.get(`https://ed.link/api/v2/teams/${team_id}/applications/${application_id}/schemas`, {
headers: {
authorization: `Bearer ${user_session_token}`
}
});
Sample Response
{
"$data": [
{
"id": "6732d847-f5da-48c5-9273-df8734e5684a",
"action": {
"id": "assignment.submit",
"type": "create"
},
"validation_level": "strict",
"data": {
"type": "object",
"required": ["grade"],
"properties": {
"grade": { "type": "number" }
}
}
}
]
}
