Last updated 10 months ago
Was this helpful?
Crop a sample to within a new range.
/api/{projectId}/raw-data/{sampleId}/crop
Project ID
Sample ID
New start index of the sample
0
New end index of the sample
128
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/crop' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"cropStart":0,"cropEnd":128}'
{ "success": true, "error": "text", "requiresProcessing": true }