Get impulse blocks

Get impulse blocks

Lists all possible blocks that can be used in the impulse

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/impulse/blocks
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

inputBlocks*array of InputBlock (object)
dspBlocks*array of DSPBlock (object)
learnBlocks*array of LearnBlock (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/blocks', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "inputBlocks": [
    {
      "type": "time-series",
      "title": "Time series",
      "author": "Edge Impulse Inc.",
      "description": "text",
      "name": "Time series",
      "recommended": false,
      "blockType": "official"
    }
  ],
  "dspBlocks": [
    {
      "type": "spectral-analysis",
      "title": "Spectral features",
      "author": "Edge Impulse Inc.",
      "description": "text",
      "name": "Spectral analysis",
      "recommended": false,
      "experimental": false,
      "blockType": "official",
      "namedAxes": [
        {
          "name": "text",
          "description": "text",