Templates


Upload a template

post

Upload a template to the server

Authorizations
Body

The templates specific to each app are stored in this table.

idstringOptional
createdAtstring · date-timeOptional
updatedAtstring · date-timeOptional
isPublicbooleanOptional
partitionerstringOptional
assemblerstringOptional
userNamestringOptional

User name of the template owner.

Example: alice
descriptionstringOptional
appstringOptional
ownerstringOptional
Responses
200

A successful response.

post
/templates
POST /v1/dev/templates HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 562

{
  "id": "text",
  "createdAt": "2025-10-30T16:19:51.983Z",
  "updatedAt": "2025-10-30T16:19:51.983Z",
  "isPublic": true,
  "partitioner": "text",
  "assembler": "text",
  "dataSource": {
    "dataSourceDescriptor": "s3",
    "params": {
      "@type": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "dataDestination": {
    "dataSourceDescriptor": "s3",
    "params": {
      "@type": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "params": {
    "partitioner": {},
    "app": {},
    "assembler": {}
  },
  "config": {
    "taskTimeout": 1,
    "jobTimeout": 1,
    "isTestJob": true,
    "maxTaskRetries": 1
  },
  "userName": "alice",
  "description": "text",
  "app": "text",
  "owner": "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
idstringRequired
Responses
200

A successful response.

get
/templates/{id}
GET /v1/dev/templates/{id} HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "text",
  "createdAt": "2025-10-30T16:19:51.983Z",
  "updatedAt": "2025-10-30T16:19:51.983Z",
  "isPublic": true,
  "partitioner": "text",
  "assembler": "text",
  "dataSource": {
    "dataSourceDescriptor": "s3",
    "params": {
      "@type": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "dataDestination": {
    "dataSourceDescriptor": "s3",
    "params": {
      "@type": "text",
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  },
  "params": {
    "partitioner": {},
    "app": {},
    "assembler": {}
  },
  "config": {
    "taskTimeout": 1,
    "jobTimeout": 1,
    "isTestJob": true,
    "maxTaskRetries": 1
  },
  "userName": "alice",
  "description": "text",
  "app": "text",
  "owner": "text"
}


Get templates

get

List all templates created by the user

Authorizations
Query parameters
orderBystringOptional

Field name to sort apps by (e.g., createdAt).

pagination.limitinteger · int64Optional

Number of rows to return per page.

pagination.offsetinteger · int64Optional

Number of rows to skip before starting to collect the result set.

isPublicbooleanOptional

Filter public templates only

Responses
200

A successful response.

get
/templates
GET /v1/dev/templates HTTP/1.1
Host: api.bytenite.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "templates": [
    {
      "id": "text",
      "createdAt": "2025-10-30T16:19:51.983Z",
      "updatedAt": "2025-10-30T16:19:51.983Z",
      "isPublic": true,
      "partitioner": "text",
      "assembler": "text",
      "dataSource": {
        "dataSourceDescriptor": "s3",
        "params": {
          "@type": "text",
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "dataDestination": {
        "dataSourceDescriptor": "s3",
        "params": {
          "@type": "text",
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "params": {
        "partitioner": {},
        "app": {},
        "assembler": {}
      },
      "config": {
        "taskTimeout": 1,
        "jobTimeout": 1,
        "isTestJob": true,
        "maxTaskRetries": 1
      },
      "userName": "alice",
      "description": "text",
      "app": "text",
      "owner": "text"
    }
  ],
  "pagination": {
    "total": 1,
    "offset": 1,
    "hasPrevious": true,
    "hasNext": true
  }
}

Last updated

Was this helpful?