Set sample metadata

Set sample metadata

post

Adds or updates the metadata associated to a sample.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Body
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/raw-data/{sampleId}/metadata HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?