Templates


Upload a template

post

Upload a template to the server

Authorizations
Body
idstringOptional
ownerstringOptional
descriptionstringOptional
appstringOptional
partitionerstringOptional
assemblerstringOptional
Responses
200
A successful 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

get

Get a template by id

Authorizations
Path parameters
idanyRequired
Responses
200
A successful 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"
}


Get templates

get

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.
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?