content-allocation

Count active assignments of learners who would lose access under a prospective team audience

post/api/v1/tracks/{trackId}/visibility/preflight

Path parameters

trackIdstring required

The track (Payload content) id

Request body

teamIdsstring[] required

The prospective team audience to evaluate. Learners outside these teams would lose access; an empty array means the track stays visible to everyone, so nobody loses access.

Response

affectedAssignmentCountinteger required

Number of active (incomplete) assignments held by learners who would lose access if the prospective audience were applied - matches what the restriction revocation flow removes.

Changes