Get deploy block

Get deploy block

Gets a deploy block.

GEThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy/{deployId}
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)

deployBlock*OrganizationDeployBlock (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy/{deployId}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "deployBlock": {
    "name": "text",
    "dockerContainer": "text",
    "dockerContainerManagedByEdgeImpulse": false,
    "created": "2024-07-17T19:36:06.505Z",
    "createdByUser": {
      "name": "text",
      "username": "text",
      "photo": "text"
    },
    "lastUpdated": "2024-07-17T19:36:06.505Z",
    "lastUpdatedByUser": {
      "name": "text",
      "username": "text",
      "photo": "text"
    },
    "userName": "text",
    "description": "text",
    "cliArguments": "text",
    "requestsCpu": 0,
    "limitsCpu": 0,
    "photo": "text",
    "integrateUrl": "text",
    "privileged": false,
    "mountLearnBlock": false,
    "supportsEonCompiler": false,