Crop sample

Crop sample

post

Crop a sample to within a new range.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Body
cropStartintegerRequired

New start index of the sample

Example: 0
cropEndintegerRequired

New end index of the sample

Example: 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?