Set sample metadata

Set sample metadata

Adds or updates the metadata associated to a sample.

post

/api/{projectId}/raw-data/{sampleId}/metadata

Authorizations
Path parameters
projectIdintegerrequired

Project ID

sampleIdintegerrequired

Sample ID

Body
metadataobject
Responses
curl -L \
  --request POST \
  --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/metadata' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"metadata":{}}'
{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?