Last updated 2 months ago
Create a new version of a given block
Project ID
Type of block
Block ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
ID of the new block
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/impulse/block-versions/{blockType}/{blockId}', { method: 'POST', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text" }