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
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project ID
sampleIdinteger required
Sample ID
Query parameters
datastreamIndexinteger
Datastream index (defaults to 0)
Request body
Example request
{
"cropEnd": 128
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.