Create Scene
Create a scene in a project — the container for everything the
pipeline produces. Every scene has a published library theme of the
project (theme_id, required; 404 theme_not_found for any other, 409
theme_draft for a draft — publish_theme it first). Run the
generate_scene_* steps against it, or bring your own SDD and PEG with
upload_scene_artifact. Requires the write scope.
Authorization
apiKey First-party API key (sbk_live_…), presented as a Bearer token.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A new scene — the container everything the pipeline produces lives in.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/scenes" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "description": "string", "workflow": "string", "status": "string", "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8", "triangle_count": 0, "asset_count": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}