Add dsp block

Add dsp block

Adds a dsp block.

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dsp
Path parameters
organizationId*integer

Organization ID

Body
name*string
dockerContainer*string
description*string
requestsCpunumber
requestsMemoryinteger
limitsCpunumber
limitsMemoryinteger
port*integer
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

id*integer

Unique identifier of the created entity.

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dsp', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "name": "text",
      "dockerContainer": "text",
      "description": "text",
      "port": 0
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "id": 0
}

Last updated