Get deployment info

Get deployment info

Gives information on whether a deployment was already built for a type

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/deployment
Path parameters
projectId*integer

Project ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

hasDeployment*boolean
versioninteger
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/deployment', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "hasDeployment": false
}

Last updated