Get impulse blocks

Get impulse blocks

get

Lists all possible blocks that can be used in the impulse, including any additional information required by the EON tuner that the getImpulseBlocks endpoint does not return

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/optimize/all-blocks HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "input": [
    {
      "type": "text",
      "title": "text",
      "blockType": "official",
      "author": "text",
      "description": "text",
      "name": "text",
      "recommended": true,
      "organizationModelId": 1,
      "params": {
        "ANY_ADDITIONAL_PROPERTY": {
          "name": "Scale axes",
          "value": "text",
          "defaultValue": "text",
          "type": "text",
          "help": "Divide axes by this number",
          "param": "scale-axes",
          "selectOptions": [
            {
              "value": "text",
              "selected": true,
              "optionLabel": "text",
              "priority": 1,
              "romEstimate": 1,
              "needsOps": [
                "text"
              ],
              "needsFeatures": [
                "text"
              ]
            }
          ],
          "readonly": true,
          "shouldShow": true,
          "showIf": {
            "parameter": "text",
            "operator": "eq",
            "value": "text"
          },
          "invalidText": "text",
          "section": "advanced",
          "multiline": true,
          "required": true,
          "hint": "text",
          "placeholder": "text",
          "showClickToSet": true,
          "valid": [
            {}
          ],
          "items": {},
          "properties": {}
        }
      },
      "defaultConfig": {},
      "variants": {
        "ANY_ADDITIONAL_PROPERTY": {
          "title": "text",
          "key": "text",
          "regression": true,
          "objectDetection": true,
          "projectDataType": "text",
          "searchSpaceTemplates": [
            {
              "template": "text",
              "group": "text",
              "blocks": {
                "input": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "dsp": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "learn": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                }
              }
            }
          ],
          "params": {
            "ANY_ADDITIONAL_PROPERTY": [
              {}
            ]
          }
        }
      }
    }
  ],
  "dsp": [
    {
      "type": "text",
      "title": "text",
      "blockType": "official",
      "author": "text",
      "description": "text",
      "name": "text",
      "recommended": true,
      "organizationModelId": 1,
      "params": {
        "ANY_ADDITIONAL_PROPERTY": {
          "name": "Scale axes",
          "value": "text",
          "defaultValue": "text",
          "type": "text",
          "help": "Divide axes by this number",
          "param": "scale-axes",
          "selectOptions": [
            {
              "value": "text",
              "selected": true,
              "optionLabel": "text",
              "priority": 1,
              "romEstimate": 1,
              "needsOps": [
                "text"
              ],
              "needsFeatures": [
                "text"
              ]
            }
          ],
          "readonly": true,
          "shouldShow": true,
          "showIf": {
            "parameter": "text",
            "operator": "eq",
            "value": "text"
          },
          "invalidText": "text",
          "section": "advanced",
          "multiline": true,
          "required": true,
          "hint": "text",
          "placeholder": "text",
          "showClickToSet": true,
          "valid": [
            {}
          ],
          "items": {},
          "properties": {}
        }
      },
      "defaultConfig": {},
      "variants": {
        "ANY_ADDITIONAL_PROPERTY": {
          "title": "text",
          "key": "text",
          "regression": true,
          "objectDetection": true,
          "projectDataType": "text",
          "searchSpaceTemplates": [
            {
              "template": "text",
              "group": "text",
              "blocks": {
                "input": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "dsp": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "learn": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                }
              }
            }
          ],
          "params": {
            "ANY_ADDITIONAL_PROPERTY": [
              {}
            ]
          }
        }
      }
    }
  ],
  "learn": [
    {
      "type": "text",
      "title": "text",
      "blockType": "official",
      "author": "text",
      "description": "text",
      "name": "text",
      "recommended": true,
      "organizationModelId": 1,
      "params": {
        "ANY_ADDITIONAL_PROPERTY": {
          "name": "Scale axes",
          "value": "text",
          "defaultValue": "text",
          "type": "text",
          "help": "Divide axes by this number",
          "param": "scale-axes",
          "selectOptions": [
            {
              "value": "text",
              "selected": true,
              "optionLabel": "text",
              "priority": 1,
              "romEstimate": 1,
              "needsOps": [
                "text"
              ],
              "needsFeatures": [
                "text"
              ]
            }
          ],
          "readonly": true,
          "shouldShow": true,
          "showIf": {
            "parameter": "text",
            "operator": "eq",
            "value": "text"
          },
          "invalidText": "text",
          "section": "advanced",
          "multiline": true,
          "required": true,
          "hint": "text",
          "placeholder": "text",
          "showClickToSet": true,
          "valid": [
            {}
          ],
          "items": {},
          "properties": {}
        }
      },
      "defaultConfig": {},
      "variants": {
        "ANY_ADDITIONAL_PROPERTY": {
          "title": "text",
          "key": "text",
          "regression": true,
          "objectDetection": true,
          "projectDataType": "text",
          "searchSpaceTemplates": [
            {
              "template": "text",
              "group": "text",
              "blocks": {
                "input": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "dsp": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                },
                "learn": {
                  "type": "text",
                  "variant": "text",
                  "params": {}
                }
              }
            }
          ],
          "params": {
            "ANY_ADDITIONAL_PROPERTY": [
              {}
            ]
          }
        }
      }
    }
  ]
}

Last updated

Was this helpful?