curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/store-segment-length \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"segmentLength": 1000
}'
{
"success": true,
"error": "<string>"
}
When segmenting a sample into smaller segments, store the segment length to ensure uniform segment lengths.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/store-segment-length \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"segmentLength": 1000
}'
{
"success": true,
"error": "<string>"
}
Project ID
OK
The response is of type object
.