Links

Set Config

Set configuration parameters for the DSP block. Only values set in the body will be overwritten.
post
https://studio.edgeimpulse.com/v1
/api/{projectId}/dsp/{dspId}
Set config

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

Parameters
Path
projectId*
integer
Project ID
dspId*
integer
DSP Block ID, use the impulse functions to retrieve the ID
Body
Example
Schema
{
"config": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId} \
--header 'content-type: application/json' \
--header 'x-jwt-token: REPLACE_KEY_VALUE' \
--data '{"config":{"property1":"string","property2":"string"}}'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
payload = "{\"config\":{\"property1\":\"string\",\"property2\":\"string\"}}"
headers = {
'content-type': "application/json",
'x-jwt-token': "REPLACE_KEY_VALUE"
}
conn.request("POST", "/v1/api/{projectId}/dsp/{dspId}", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'POST',
url: 'https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId}',
headers: {'content-type': 'application/json', 'x-jwt-token': 'REPLACE_KEY_VALUE'},
body: {config: {property1: 'string', property2: 'string'}},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});