ScenebrewDevelopers
API referenceScenes

Upload Scene Artifact

PUT
/v1/scenes/{scene_id}/artifacts/{kind}

Bring your own document: write a new version of the SDD (Markdown), PEG (JSON) or blueprint (swfbpx zip) from the request body, then run only the free steps. Identical content is not a new version. Requires the write scope.

AuthorizationBearer <token>

First-party API key (sbk_live_…), presented as a Bearer token.

In: header

Path Parameters

scene_id*Scene Id
Formatuuid
kind*Kind

Value in

  • "sdd"
  • "peg"
  • "blueprint"

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

body*string

Response Body

application/json

application/problem+json

curl -X PUT "https://example.com/v1/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/sdd" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "kind": "string",  "version": 0,  "is_current": true,  "content_type": "string",  "size_bytes": 0,  "content_hash": "string",  "created_at": "2019-08-24T14:15:22Z",  "download_url": "string",  "download_expires_in": 0,  "download_expires_at": "2019-08-24T14:15:22Z",  "content": "string"}