Import shotgun projects

POST /import/shotgun/projects

Import Shotgun projects. Send a list of Shotgun project entries in the JSON body. Returns created or updated projects with custom fields preserved.

application/json

Body Required

  • id integer

    Shotgun ID of the project

  • name string

    Project name

  • sg_status string

    Project status

Responses

  • 200 application/json

    Projects imported successfully

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

      Project unique identifier

    • name string

      Project name

    • data object

      Custom project data

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