All pages
Powered by GitBook
1 of 1

Add dsp block

Powered by Scalar.com
POST
https://studio.edgeimpulse.com/v1
/api/organizations/{organizationId}/dsp
Open API Client
      • Get JWT token
          HTTP Method:
        POST
      • Get transformation blocks
          HTTP Method:
        GET
      • Add transformation block
          HTTP Method:
        POST
      • List public transformation blocks
          HTTP Method:
        GET
      • Get public transformation block
          HTTP Method:
        GET
      • Delete transformation block
          HTTP Method:
        DEL
      • Get transformation block
          HTTP Method:
        GET
      • Update transformation block
          HTTP Method:
        POST
      • Export transformation block
          HTTP Method:
        POST
      • Get deploy blocks
          HTTP Method:
        GET
      • Add deploy block
          HTTP Method:
        POST
      • Delete deploy block
          HTTP Method:
        DEL
      • Get deploy block
          HTTP Method:
        GET
      • Update deploy block
          HTTP Method:
        POST
      • Export deploy block
          HTTP Method:
        POST
      • Get dsp blocks
          HTTP Method:
        GET
      • Add dsp block
          HTTP Method:
        POST
      • Delete dsp block
          HTTP Method:
        DEL
      • Get dsp block
          HTTP Method:
        GET
      • Update dsp block
          HTTP Method:
        POST
      • Export dsp block
          HTTP Method:
        POST
      • Retry connection to dsp block
          HTTP Method:
        POST
      • Get transfer learning blocks
          HTTP Method:
        GET
      • Add transfer learning block
          HTTP Method:
        POST
      • Delete transfer learning block
          HTTP Method:
        DEL
      • Get transfer learning block
          HTTP Method:
        GET
      • Update transfer learning block
          HTTP Method:
        POST
      • Export transfer learning block
          HTTP Method:
        POST
      • Get secrets
          HTTP Method:
        GET
      • Add secret
          HTTP Method:
        POST
      • Delete secret
          HTTP Method:
        DEL
  • ,\ \\\,_ \` ,\ __,.-" =__) ." ),_/ , \/\_\_| )_-\ \_-` `-----` `--`
    __ // \,_ \` ,\ __,.-" =__) ." ),_/ , \/\ \_| // / / / / /
    Let's Get Started

    Create request, folder, collection or import OpenAPI document

    Add dsp block
    Filter Sections
    All
    x-api-key
    QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT
    organizationId
    Required
    Value
    Key
    Value
    Content-Type
    application/json
    Key
    Value
    Key
    Value
    9
    1
    2
    3
    4
    5
    6
    {
    "name": "",
    "dockerContainer": "",
    "description": "",
    "port": 1
    }
    Response
    Filter Sections
    All
    .,,uod8B8bou,,. ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:. ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=, |||| '""^^!!||||||||||TFPRBBBVT!:...! |||| '""^^!!|||||?!:.......! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! |||| ||||.........! ||||, ||||.........` |||||!!-._ ||||.......;. ':!|||||||||!!-._ ||||.....bBBBBWdou,. bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY! ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..! :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....! :::;`"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......! ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........! .ob86foi;::::::::::::::::::::::::!?TFPRBY..........` .b888888888886foi;:::::::::::::::::::::::..........` .b888888888888888888886foi;::::::::::::::::...........b888888888888888888888888888886foi;:::::::::......`!Tf998888888888888888888888888888888886foi;:::....` '"^!|Tf9988888888888888888888888888888888!::..` '"^!|Tf998888888888888888888888889!! '` '"^!|Tf9988888888888888888!!` iBBbo. '"^!|Tf998888888889!` WBBBBbo. '"^!|Tf9989!` YBBBP^' '"^!` `
    ^
    .:=+++++=================- .--#* :. .-:-** -. .:-::-+* =: .:-:::-=# :: .-:::----** .. .-:::::---=# .. :-::::::----** ...:-::::::::----*= ...-::::::::------+- ....::::::::-------= .. .:::::----------++ .. .:::----------+**+*++*+*++*+++*++++++++++:. ------------+*+=-=======================. .----------+*+=========================:. :--------+*+=-========================. .=------+*+=-========================:. .=----+*+=-------=================+-. .----+*+=----------================. .:=-+*+=----------=-==============- .-+*+=----------------===========. .-+=------------------====-====:.
    K
    .:=+++++=================- .--#* :. .-:-** -. .:-::-+* =: .:-:::-=# :: .-:::----** .. .-:::::---=# .. :-::::::----** ...:-::::::::----*= ...-::::::::------+- ....::::::::-------= .. .:::::----------++ .. .:::----------+**+*++*+*++*+++*++++++++++:. ------------+*+=-=======================. .----------+*+=========================:. :--------+*+=-========================. .=------+*+=-========================:. .=----+*+=-------=================+-. .----+*+=----------================. .:=-+*+=----------=-==============- .-+*+=----------------===========. .-+=------------------====-====:.

    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
    }