Create an interactive video assignment
POST/public/interactive-videos/assignments
Assigns an interactive video to a class, both in the instance bound to the caller's API key. If the interactive video is already assigned to the class with the same type, the existing assignment is returned unchanged with status 200, and the dates in the request are not applied; use the update endpoint to change them. As when an interactive video is assigned in the app, the class's teachers get an editing role on it, which they keep if the assignment is later deleted. Only instance owners may call this endpoint.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 404
- 409
- 429
The interactive video was already assigned to the class with this type. The existing assignment is returned unchanged.
The interactive video assignment was created.
The interactiveVideoId or classId is missing, the type is not supported, or the start date is after the due date.
Missing or invalid API key.
The request is not authenticated with an API key, the API key's user does not own the instance, or the class is linked to an LMS and gets its assignments from the LMS.
No interactive video or class with that ID in the instance.
Another request is assigning the interactive video to the class at the same time. Retry the request.
Too many interactive video assignment writes in the last minute.