Asset

Get video detail

GET
Get video detail by coactive image id or dataset id and video path. Either coactive video id or or a combination of dataset id and video path can be used to uniquely identify a video.

Query parameters

dataset_idstringOptional
The dataset id the video
pathstringOptional
The path of the video
coactive_video_idstringOptional
The coactive video id of the video

Response

This endpoint returns an object
createdUserId
string
The user that created the resource
createdDt
datetime
The created datetime of the resource
updatedUserId
string
The user that last updated the resource
updatedDt
datetime
The datetime the resource was last updated
coactiveVideoId
string
The coactive video id
path
stringOptional
The original path of the video
metadata
map from strings to anyOptional
The user provided metadata for the video
GET
1curl https://app.coactive.ai/api/v1/assets/video-detail \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "createdUserId": "user_example",
3 "createdDt": "2018-09-11T15:11:45.456777",
4 "updatedUserId": "user_example",
5 "updatedDt": "2018-09-11T15:11:45.456777",
6 "coactiveVideoId": "5cf18348-8336-4db7-bb35-db7fbfe8951d",
7 "path": "s3://your-s3-bucket/path/to/video.mp4",
8 "metadata": {
9 "show": "The Boys",
10 "season": 1,
11 "episode": 1,
12 "title": "The Name of the Game"
13 }
14}