Raw data

Crop sample

Crop a sample to within a new range. cropStart/cropEnd are relative to the selected datastream. If you have multiple datastreams and OptionalDatastreamIndexParameter is not passed in, the first datastream is used.

post/api/{projectId}/raw-data/{sampleId}/crop

Request

Path parameters

projectIdinteger required

Project ID

sampleIdinteger required

Sample ID

Query parameters

datastreamIndexinteger

Datastream index (defaults to 0)

Request body

cropStartinteger required

New start index of the sample

cropEndinteger required

New end index of the sample

Example request

{
  "cropEnd": 128
}

Response

OK

successboolean required

Whether the operation succeeded

errorstring

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

requiresProcessingboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.