POST
/
api
/
organizations
/
{organizationId}
/
deploy
Add deploy block
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/deploy \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'name=<string>' \
  --form 'dockerContainer=<string>' \
  --form 'description=<string>' \
  --form 'cliArguments=<string>' \
  --form requestsCpu=123 \
  --form requestsMemory=123 \
  --form limitsCpu=123 \
  --form limitsMemory=123 \
  --form 'integrateUrl=<string>' \
  --form privileged=true \
  --form mountLearnBlock=true \
  --form supportsEonCompiler=true \
  --form showOptimizations=true \
  --form category=library \
  --form sourceCodeDownloadStaffOnly=true \
  --form photo=@example-file
{
  "success": true,
  "error": "<string>",
  "id": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

multipart/form-data
name
string
required
dockerContainer
string
required
description
string
required
cliArguments
string
required
requestsCpu
number
requestsMemory
integer
limitsCpu
number
limitsMemory
integer
photo
file
integrateUrl
string
privileged
boolean
mountLearnBlock
boolean
supportsEonCompiler
boolean
showOptimizations
boolean
category
enum<string>
Available options:
library,
firmware
sourceCodeDownloadStaffOnly
boolean

Whether the source code is only available for staff users.

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Unique identifier of the created entity.

error
string

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