Skip to main content
POST
Crop sample

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

sampleId
integer
required

Sample ID

Query Parameters

datastreamIndex
integer

Datastream index (defaults to 0)

Body

application/json
cropStart
integer
required

New start index of the sample

Example:

0

cropEnd
integer
required

New end index of the sample

Example:

128

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

requiresProcessing
boolean
required
error
string

Optional error description (set if 'success' was false)