Crop sample
Crop a sample to within a new range.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
sampleIdintegerRequired
Sample ID
Body
cropStartintegerRequiredExample:
New start index of the sample
0
cropEndintegerRequiredExample:
New end index of the sample
128
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/raw-data/{sampleId}/crop HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"cropStart": 0,
"cropEnd": 128
}
200
OK
{
"success": true,
"error": "text",
"requiresProcessing": true
}
Last updated
Was this helpful?