curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/crop \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cropStart": 0,
"cropEnd": 128
}'
{
"success": true,
"error": "<string>",
"requiresProcessing": true
}
Crop a sample to within a new range.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/crop \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"cropStart": 0,
"cropEnd": 128
}'
{
"success": true,
"error": "<string>",
"requiresProcessing": true
}
OK
The response is of type object
.