Import shotgun scenes

POST /import/shotgun/scenes

Import Shotgun scenes. Send a list of Shotgun scene entries in the JSON body. Returns created or updated scenes linked to sequences.

application/json

Body Required

  • id integer

    Shotgun ID of the scene

  • code string

    Scene code

  • project object

    Project information

    Hide project attribute Show project attribute object
    • name string

Responses

  • 200 application/json

    Scenes imported successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      Scene unique identifier

    • name string

      Scene name

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Update timestamp

  • 400

    Invalid request body or data format error

POST /import/shotgun/scenes
curl \
 --request POST 'http://api.example.com/import/shotgun/scenes' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":12345,"code":"SC01","project":{"name":"My Project"}}]'
Request example
[
  {
    "id": 12345,
    "code": "SC01",
    "project": {
      "name": "My Project"
    }
  }
]
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "name": "SC01",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
]