Import shotgun project connections

POST /import/shotgun/projectconnections

Import Shotgun project-user connections. Send a list of Shotgun project connection entries in the JSON body. Returns projects with team members added.

application/json

Body Required

  • id integer

    Shotgun ID of the connection

  • project object

    Project information

    Hide project attribute Show project attribute object
    • id integer
  • user object

    User information

    Hide user attribute Show user attribute object
    • id integer

Responses

  • 200 application/json

    Project connections imported successfully

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

      Project unique identifier

    • name string

      Project name

    • team array[string(uuid)]

      Team member IDs

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