For Developers

Fetch Schema

GET https://ed.link/api/v2/teams/:team_id/applications/:application_id/schemas/:identifier

Retrieves a single audit log schema by its schema UUID or canonical action identifier.

Permissions

Requires the audit_log_schemas.read system permission.

Parameters

ParameterTypeRequiredDescription
:team_idUUIDYesThe ID of the team.
:application_idUUIDYesThe ID of the application.
:identifierStringYesSchema UUID or lowercased action identifier (e.g. assignment.submit).

Sample Request

const response = await axios.get(
    `https://ed.link/api/v2/teams/${team_id}/applications/${application_id}/schemas/assignment.submit`,
    {
        headers: {
            authorization: `Bearer ${user_session_token}`
        }
    }
);

Sample Response

{
    "$data": {
        "id": "6732d847-f5da-48c5-9273-df8734e5684a",
        "action": "assignment.submit",
        "action_type": "create",
        "validation_level": "strict"
    }
}