Add dsp block
Adds a dsp block.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
Body
namestringRequired
dockerContainerstringRequired
descriptionstringRequired
requestsCpunumberOptional
requestsMemoryintegerOptional
limitsCpunumberOptional
limitsMemoryintegerOptional
portintegerRequired
sourceCodeDownloadStaffOnlybooleanOptional
Whether the source code is only available for staff users.
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/dsp HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 171
{
"name": "text",
"dockerContainer": "text",
"description": "text",
"requestsCpu": 1,
"requestsMemory": 1,
"limitsCpu": 1,
"limitsMemory": 1,
"port": 1,
"sourceCodeDownloadStaffOnly": true
}
200
OK
{
"success": true,
"error": "text",
"id": 1
}
Last updated
Was this helpful?