latestOpenAPI 3.0.02026-08-19219210532.7 KB

bd5a5f406bca

content-allocation

List content assignments with pagination

get/api/v1/assignments

Query parameters

pagenumber

Page number starting from 1.

limitnumber

Limit for the number of results per page.

userIdsstring[]

Optional. Filter assignments to specific learner UUIDs. Omit to include all learners.

type'autoTrackAllocation' | 'track' | 'managerAssigned' | 'refresher' | 'sprint' | 'selfEnrolled'

Optional. Filter by allocation type (e.g. track vs mission). Omit to include all types.

statestring[]

Optional. Filter by allocation state(s). Omit to include all states.

idstring
type'mission' | 'track'

Optional. Filter by referenced content (track or mission). Omit to include all references.

trackIdsstring[]

Optional. Restrict to allocations of these tracks or their missions.

dueDateAfterstring date-time

Optional. Inclusive lower bound (>=) on the assignment due date, as an ISO 8601 date-time string. Assignments due on/after this instant are included. Omit for no lower bound.

dueDateBeforestring date-time

Optional. Exclusive upper bound (<) on the assignment due date, as an ISO 8601 date-time string. Assignments due strictly before this instant are included. Omit for no upper bound.

createdAt'ASC' | 'DESC'
dueDate'ASC' | 'DESC'
lastUpdatedAt'ASC' | 'DESC'

Response