Verify custom DSP block

Verify custom DSP block

Verify the validity of a custom DSP block

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/verify-dsp-block/url
Path parameters
projectId*integer

Project ID

Body
url*string
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

blockobject
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/verify-dsp-block/url', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "url": "text"
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "block": {
    "title": "text",
    "author": "text",
    "description": "text",
    "name": "text",
    "namedAxes": [
      {
        "name": "text",
        "description": "text",
        "required": false
      }
    ]
  }
}

Last updated