Update impulse

Update impulse

Update the impulse for this project. If you specify impulseId then that impulse is created/updated, otherwise the default impulse is created/updated.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/impulse/update
Path parameters
projectId*integer

Project ID

Query parameters
Body
namestring
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/update', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated