Import otio EDL

POST /import/otio/projects/{project_id}

Import an OTIO file to set frame_in, frame_out, and nb_frames for shots. Supports any OpenTimelineIO adapter format like EDL or OTIO. Uses naming convention to match shots.

Path parameters

  • project_id string(uuid) Required

Query parameters

  • naming_convention string

    Template for matching shot names from the file

  • match_case boolean

    Whether to match shot names case-sensitively

Responses

  • 201 application/json

    Shots imported successfully

    Hide response attributes Show response attributes object
    • updated_shots array[object]
      Hide updated_shots attributes Show updated_shots attributes object
      • id string(uuid)
      • name string
      • project_id string(uuid)
      • nb_frames integer
      • data object
        Hide data attributes Show data attributes object
        • frame_in integer
        • frame_out integer
    • created_shots array[object]
      Hide created_shots attributes Show created_shots attributes object
      • id string(uuid)
      • name string
      • project_id string(uuid)
      • nb_frames integer
      • data object
        Hide data attributes Show data attributes object
        • frame_in integer
        • frame_out integer
  • 400

    Invalid file format or parsing error

POST /import/otio/projects/{project_id}
curl \
 --request POST 'http://api.example.com/import/otio/projects/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY"
Response examples (201)
{
  "updated_shots": [
    {
      "id": "a24a6ea4-ce75-4665-a070-57453082c25",
      "name": "SH010",
      "project_id": "b24a6ea4-ce75-4665-a070-57453082c25",
      "nb_frames": 120,
      "data": {
        "frame_in": 1001,
        "frame_out": 1120
      }
    }
  ],
  "created_shots": [
    {
      "id": "c24a6ea4-ce75-4665-a070-57453082c25",
      "name": "SH020",
      "project_id": "b24a6ea4-ce75-4665-a070-57453082c25",
      "nb_frames": 96,
      "data": {
        "frame_in": 2001,
        "frame_out": 2096
      }
    }
  ]
}