1curl -X PUT https://app.coactive.ai/api/v1/datasets/string/assets-metadata \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "images": [6 {7 "path": "s3://coactive-public/logo.png",8 "coactiveImageId": "a6894d72-612d-4c20-b4d0-8f3f21c2bb10",9 "metadata": {10 "artist": "Marc Simonetti"11 }12 }13 ],14 "videos": [15 {16 "path": "s3://your-s3-bucket/path/to/video.mp4",17 "coactiveVideoId": "5cf18348-8336-4db7-bb35-db7fbfe8951d",18 "metadata": {19 "artist": "Marc Simonetti"20 }21 }22 ]23}'
1{2 "requestGroupId": "5b9a8217-2c73-41cf-9b3c-8a10b6ade206",3 "images": [4 {5 "createdUserId": "user_example",6 "createdDt": "2018-09-11T15:11:45.456777",7 "updatedUserId": "user_example",8 "updatedDt": "2018-09-11T15:11:45.456777",9 "coactiveImageId": "a6894d72-612d-4c20-b4d0-8f3f21c2bb10",10 "path": "s3://your-s3-bucket/path/to/video.mp4",11 "requestId": "dd631c39-daba-4f46-be46-ab6c38a02e0f",12 "requestDt": "2018-09-11T15:11:45.456777",13 "id": "some-id",14 "metadata": {15 "artist": "Marc Simonetti"16 }17 }18 ],19 "videos": [20 {21 "createdUserId": "user_example",22 "createdDt": "2018-09-11T15:11:45.456777",23 "updatedUserId": "user_example",24 "updatedDt": "2018-09-11T15:11:45.456777",25 "coactiveVideoId": "5cf18348-8336-4db7-bb35-db7fbfe8951d",26 "requestId": "dd631c39-daba-4f46-be46-ab6c38a02e0f",27 "requestDt": "2018-09-11T15:11:45.456777",28 "path": "s3://your-s3-bucket/path/to/video.mp4",29 "metadata": {30 "show": "The Boys",31 "season": 1,32 "episode": 1,33 "title": "The Name of the Game"34 }35 }36 ]37}