GET
/
v1
/
edits
curl --location --request GET 'https://api.golivecosmos.com/v1/edits/647f79a222e224369dbf7e92' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
{
  "type": "edit",
  "id": "647f79a222e224369dbf7e92",
  "attributes": {
    "createdAt": "2023-06-06T18:22:41.557Z",
    "status": "done",
    "commands": [
      "image-to-video"
    ],
    "options": {
      "fps": 24,
      "duration": 5
    },
    "assets": [
    { "type": "image", "src": "https://picsum.photos/200/300" }
    ]
    "downloadUrls": ["https://cosmos-org-assets.s3.amazonaws.com/production/64249607732dd0eb4b42ce02/asset_0.mp4"]
  },
  "relationships": {
    "organization": {
      "links": {
        "self": "/v1/organizations/647f79a222e224369dbf7e90"
      },
      "data": {
        "type": "organization",
        "id": "647f79a222e224369dbf7e90"
      }
    }
  }
}

Parameters

id
string
The ID of the Edit document.

Response

type
string
Indicates the type of document returned in the response.
attributes
object
The attributes of the Edit document response.
curl --location --request GET 'https://api.golivecosmos.com/v1/edits/647f79a222e224369dbf7e92' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
{
  "type": "edit",
  "id": "647f79a222e224369dbf7e92",
  "attributes": {
    "createdAt": "2023-06-06T18:22:41.557Z",
    "status": "done",
    "commands": [
      "image-to-video"
    ],
    "options": {
      "fps": 24,
      "duration": 5
    },
    "assets": [
    { "type": "image", "src": "https://picsum.photos/200/300" }
    ]
    "downloadUrls": ["https://cosmos-org-assets.s3.amazonaws.com/production/64249607732dd0eb4b42ce02/asset_0.mp4"]
  },
  "relationships": {
    "organization": {
      "links": {
        "self": "/v1/organizations/647f79a222e224369dbf7e90"
      },
      "data": {
        "type": "organization",
        "id": "647f79a222e224369dbf7e90"
      }
    }
  }
}