Segment sample
Slice a sample into multiple segments. The original file will be marked as deleted, but you can crop any created segment to retrieve the original file.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
sampleIdintegerRequired
Sample ID
Body
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/raw-data/{sampleId}/segment HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"segments": [
{
"startMs": 1,
"endMs": 1
}
]
}
200
OK
{
"success": true,
"error": "text"
}
Last updated
Was this helpful?