Store the last segment length

Store the last segment length

post

When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Body
segmentLengthnumberRequired

Last segment length in milliseconds.

Example: 1000
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/raw-data/store-segment-length HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 22

{
  "segmentLength": 1000
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?