curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/metadata \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"metadata": {}
}'
{
"success": true,
"error": "<string>"
}
Adds or updates the metadata associated to a sample.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/metadata \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"metadata": {}
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.