Update job

Update job

Update a job.

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

Project ID

jobId*integer

Job ID

Body
jobNotificationUidsarray of integer

The IDs of users who should be notified when a job is finished.

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}/jobs/{jobId}/update', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated