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

ParameterTypeRequiredDescription
:team_idUUIDYesThe ID of the team.
:application_idUUIDYesThe 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" }
                }
            }
        }
    ]
}