Last updated 1 month ago
Was this helpful?
Get a template by id
GET /v1/dev/templates/{id} HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
A successful response.
{ "id": "text", "owner": "text", "description": "text", "app": "text", "partitioner": "text", "assembler": "text" }
List all templates created by the user
The field to order the results by.
Results per page
The number of items to skip before starting to collect the result set
GET /v1/dev/templates HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Accept: */*
{ "templates": [ { "id": "text", "owner": "text", "description": "text", "app": "text", "partitioner": "text", "assembler": "text" } ] }
Upload a template to the server
POST /v1/dev/templates HTTP/1.1 Host: api.bytenite.com Authorization: YOUR_API_KEY Content-Type: application/json Accept: */* Content-Length: 102 { "id": "text", "owner": "text", "description": "text", "app": "text", "partitioner": "text", "assembler": "text" }
{ "ok": true, "requestId": "text", "message": "text", "error": { "code": 1, "message": "text", "description": "text" } }