Skip to main content
POST
/
api
/
organizations
/
{organizationId}
/
dsp
Add dsp block
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dsp \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "dockerContainer": "<string>",
  "description": "<string>",
  "requestsCpu": 123,
  "requestsMemory": 123,
  "limitsCpu": 123,
  "limitsMemory": 123,
  "port": 123,
  "sourceCodeDownloadStaffOnly": true
}'
{
  "success": true,
  "error": "<string>",
  "id": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

organizationId
integer
required

Organization ID

Body

application/json
name
string
required
dockerContainer
string
required
description
string
required
port
integer
required
requestsCpu
number
requestsMemory
integer
limitsCpu
number
limitsMemory
integer
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)

I