Version project

Version project

Create a new version of the project. This stores all data and configuration offsite. If you have access to the enterprise version of Edge Impulse you can store your data in your own storage buckets (only through JWT token authentication).

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

Project ID

Body
bucketIdinteger

Data bucket ID. Keep empty to store in Edge Impulse hosted storage.

description*string
makePublic*boolean

Whether to make this version available on a public URL.

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

id*integer

Job identifier. Status updates will include this identifier.

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

Last updated