curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/all-blocks \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"input": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
],
"dsp": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
],
"learn": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
]
}
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
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/all-blocks \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"input": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
],
"dsp": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
],
"learn": [
{
"type": "<string>",
"title": "<string>",
"blockType": "official",
"author": "<string>",
"description": "<string>",
"name": "<string>",
"recommended": true,
"organizationModelId": 123,
"params": {},
"defaultConfig": {},
"variants": {}
}
]
}
Project ID
OK
The response is of type object
.