Add deploy block
Adds a deploy block.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
Body
namestringRequired
dockerContainerstringRequired
descriptionstringRequired
cliArgumentsstringRequired
requestsCpunumberOptional
requestsMemoryintegerOptional
limitsCpunumberOptional
limitsMemoryintegerOptional
photostring · binaryOptional
integrateUrlstringOptional
privilegedbooleanOptional
mountLearnBlockbooleanOptional
supportsEonCompilerbooleanOptional
showOptimizationsbooleanOptional
categorystring · enumOptionalPossible values:
sourceCodeDownloadStaffOnlybooleanOptional
Whether the source code is only available for staff users.
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/deploy HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 337
{
"name": "text",
"dockerContainer": "text",
"description": "text",
"cliArguments": "text",
"requestsCpu": 1,
"requestsMemory": 1,
"limitsCpu": 1,
"limitsMemory": 1,
"photo": "binary",
"integrateUrl": "text",
"privileged": true,
"mountLearnBlock": true,
"supportsEonCompiler": true,
"showOptimizations": true,
"category": "library",
"sourceCodeDownloadStaffOnly": true
}
200
OK
{
"success": true,
"error": "text",
"id": 1
}
Last updated
Was this helpful?