Last updated 7 months ago
Was this helpful?
Returns an unused block ID. Use this function to determine new block IDs when you construct an impulse; so you won't accidentally re-use block IDs.
Project ID
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/get-new-block-id' \ --header 'x-api-key: YOUR_API_KEY'
{ "success": true, "error": "text", "blockId": 1 }