Templates
Upload a template to the server
Authorizations
Body
idstringOptional
ownerstringOptional
descriptionstringOptional
appstringOptional
partitionerstringOptional
assemblerstringOptional
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error response.
post
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": false,
"requestId": "xyz-123",
"message": "Request failed",
"error": {
"code": 404,
"message": "Not Found",
"description": "The requested resource was not found"
}
}
Get a template by id
Authorizations
Path parameters
idanyRequired
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error response.
get
GET /v1/dev/templates/{id} HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"owner": "text",
"description": "text",
"app": "text",
"partitioner": "text",
"assembler": "text"
}
List all templates created by the user
Authorizations
Query parameters
orderByanyOptional
Field name to sort apps by (e.g., createdAt).
pagination.limitanyOptional
Number of rows to return per page.
pagination.offsetanyOptional
Number of rows to skip before starting to collect the result set.
Responses
200
A successful response.
400
Returned when the users sends a malformed request.
401
Returned when the user is not authenticated.
403
Returned when the user does not have permission to access the resource.
404
Returned when the resource does not exist.
500
Returned when an error on the server occurred.
503
Returned when the resource is temporarily unavailable.
default
An unexpected error response.
get
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"
}
]
}
Last updated
Was this helpful?