curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/rename \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "faulty-machine2.A3de"
}'
{
"success": true,
"error": "<string>"
}
Sets the file name of the sample. This name does not need to be unique, but it’s highly recommended to do so.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/rename \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "faulty-machine2.A3de"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.