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.
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>"
}
OK
The response is of type object
.