cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/video-dimensions \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "width": 123, "height": 123 }'
{ "success": true, "error": "<string>" }
Update the video dimensions for a sample. This is only available for video files that do not have dimensions set yet.
Project ID
Sample ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?