templates
Template build file upload URL
Changed onGet an upload link for a tar file containing build layer files
get/templates/{templateID}/files/{hash}
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/templates/{templateID}/files/{hash}
- Auth
- API key in header X-API-Key
- or HTTP bearer and API key in header X-Team-ID
- or API key in header X-Admin-Token and API key in header X-Team-ID
- or HTTP bearer and API key in header X-Team-ID
Path parameters
templateIDstring required
hashstring required
Hash of the files (lowercase hex SHA-256)
Response
The upload link where to upload the tar file
Changes
- breaking
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterhash
- breaking
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info