-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.yaml
34 lines (34 loc) · 998 Bytes
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
openapi: 3.0.0
info:
title: Container creation via curl
description: Quicky spin up a system container (lxc container / docker) via proxmox. You get a public ipv6 address for each container and can ssh into it. e.g. ssh roo@fe80::7855:30ff:fe18:7b68
version: 0.0.1
servers:
- url: http://176.9.145.50:4000
description: ''
paths:
/container:
post:
summary: Creates a container.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
hostname:
type: string
example: "123"
memory:
type: integer
example: 512
network:
type: string
example: {}
ssh_public_keys:
type: string
example: ssh-rsa BBBBAAB...
responses:
'201':
description: Created