Import shotgun episodes

POST /import/shotgun/episodes

Import Shotgun episodes. Send a list of Shotgun episode entries in the JSON body. Returns created or updated episodes.

application/json

Body Required

  • id integer

    Shotgun ID of the episode

  • code string

    Episode code

  • description string

    Episode description

  • project object

    Project information

    Hide project attribute Show project attribute object
    • name string

Responses

  • 200 application/json

    Episodes imported successfully

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

      Episode unique identifier

    • name string

      Episode 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/episodes
curl \
 --request POST 'http://api.example.com/import/shotgun/episodes' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":12345,"code":"EP01","project":{"name":"My Project"},"description":"First episode"}]'
Request example
[
  {
    "id": 12345,
    "code": "EP01",
    "project": {
      "name": "My Project"
    },
    "description": "First episode"
  }
]
Response examples (200)
[
  {
    "id": "a24a6ea4-ce75-4665-a070-57453082c25",
    "name": "EP01",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T11:00:00Z"
  }
]