Upload a custom block

Upload a custom block

post

Upload a zip file containing a custom transformation or deployment block.

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

Body
tarstring · binaryRequired
typestring · enumRequiredPossible values:
blockIdintegerRequired
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/custom-block HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 47

{
  "tar": "binary",
  "type": "transform",
  "blockId": 1
}
200

OK

{
  "success": true,
  "error": "text",
  "id": 12873488112
}

Last updated

Was this helpful?