Set config

Set config

Set configuration parameters for the DSP block. Only values set in the body will be overwritten.

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

Project ID

dspId*integer

DSP Block ID, use the impulse functions to retrieve the ID

Body
config*object
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

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

Last updated