Export deploy block

Export deploy block

Download the source code for this block.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy/{deployId}/export
Path parameters
organizationId*integer

Organization ID

deployId*integer

Deploy block ID.

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
exportUrl*string
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy/{deployId}/export', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "id": 12873488112,
  "exportUrl": "text"
}

Last updated