Templates
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
Content-TypestringRequiredExample:
application/jsonResponses
200Success
No content
get
/templatesGET /api/v1/templates HTTP/1.1
Host: example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
200Success
No content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
200Success
No content
post
/templatesPOST /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?