Templates

List templates

get
Authorizations
Header parameters
Content-TypestringRequiredExample: application/json
Responses
200Success
get
GET /api/v1/templates HTTP/1.1
Host: example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
200Success

No content

Create template

post
Authorizations
Body
Responses
200Success
post
POST /api/v1/templates HTTP/1.1
Host: example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 266

{
  "template": {
    "isExpanded": false,
    "template_type": "system",
    "name": "template2s",
    "provider": "AWS",
    "services": [
      {
        "name": "wiki03",
        "ports": "5001",
        "cpu": 200,
        "memory": 250,
        "type": "docker",
        "version": "558070116784.dkr.ecr.eu-central-1.amazonaws.com/scraper:latest"
      }
    ],
    "stack": []
  }
}
200Success

No content

Last updated

Was this helpful?