Set sample video dimensions

Set sample video dimensions

post

Update the video dimensions for a sample. This is only available for video files that do not have dimensions set yet.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Body
widthintegerRequired
heightintegerRequired
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/raw-data/{sampleId}/video-dimensions HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "width": 1,
  "height": 1
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?