curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/move \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"newCategory": "training"
}'
{
"success": true,
"error": "<string>"
}
Move a sample to another category (e.g. from test to training).
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/move \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"newCategory": "training"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.