Update Scene Sequence

Update the element sequence for a scene.

This endpoint allows reordering keyframes and videos within a scene by providing a new ordered list of elements.

Args: project_id: Project ID scene_id: Scene ID request: New element sequence current_user: Authenticated user db: Database session

Returns: Updated scene with new element sequence

put/api/projects/{project_id}/scenes/{scene_id}/sequence

Path parameters

project_idstring required
scene_idstring required

Request body

elementsobject[] required

Ordered list of elements with type, id, startTime, duration

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.