Skip to content

Commit 319cee4

Browse files
authored
Merge pull request #6 from StuMason/feature/environment-management
chore: remove unused environment request types
2 parents c42cf99 + ab24341 commit 319cee4

File tree

11 files changed

+5488
-0
lines changed

11 files changed

+5488
-0
lines changed

docs/openapi-chunks/applications-api.yaml

Lines changed: 1966 additions & 0 deletions
Large diffs are not rendered by default.

docs/openapi-chunks/databases-api.yaml

Lines changed: 1109 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
openapi: 3.1.0
2+
info:
3+
title: Coolify
4+
version: '0.1'
5+
paths:
6+
/deployments:
7+
get:
8+
tags:
9+
- Deployments
10+
summary: List
11+
description: List currently running deployments
12+
operationId: list-deployments
13+
responses:
14+
'200':
15+
description: Get all currently running deployments.
16+
content:
17+
application/json:
18+
schema:
19+
type: array
20+
items:
21+
$ref: '#/components/schemas/ApplicationDeploymentQueue'
22+
'400':
23+
$ref: '#/components/responses/400'
24+
'401':
25+
$ref: '#/components/responses/401'
26+
security:
27+
- bearerAuth: []
28+
/deployments/{uuid}:
29+
get:
30+
tags:
31+
- Deployments
32+
summary: Get
33+
description: Get deployment by UUID.
34+
operationId: get-deployment-by-uuid
35+
parameters:
36+
- name: uuid
37+
in: path
38+
description: Deployment UUID
39+
required: true
40+
schema:
41+
type: string
42+
responses:
43+
'200':
44+
description: Get deployment by UUID.
45+
content:
46+
application/json:
47+
schema:
48+
$ref: '#/components/schemas/ApplicationDeploymentQueue'
49+
'400':
50+
$ref: '#/components/responses/400'
51+
'401':
52+
$ref: '#/components/responses/401'
53+
'404':
54+
$ref: '#/components/responses/404'
55+
security:
56+
- bearerAuth: []
57+
/deploy:
58+
get:
59+
tags:
60+
- Deployments
61+
summary: Deploy
62+
description: Deploy by tag or uuid. `Post` request also accepted.
63+
operationId: deploy-by-tag-or-uuid
64+
parameters:
65+
- name: tag
66+
in: query
67+
description: Tag name(s). Comma separated list is also accepted.
68+
schema:
69+
type: string
70+
- name: uuid
71+
in: query
72+
description: Resource UUID(s). Comma separated list is also accepted.
73+
schema:
74+
type: string
75+
- name: force
76+
in: query
77+
description: Force rebuild (without cache)
78+
schema:
79+
type: boolean
80+
responses:
81+
'200':
82+
description: Get deployment(s) UUID's
83+
content:
84+
application/json:
85+
schema:
86+
properties:
87+
deployments:
88+
type: array
89+
items:
90+
properties:
91+
message:
92+
type: string
93+
resource_uuid:
94+
type: string
95+
deployment_uuid:
96+
type: string
97+
type: object
98+
type: object
99+
'400':
100+
$ref: '#/components/responses/400'
101+
'401':
102+
$ref: '#/components/responses/401'
103+
security:
104+
- bearerAuth: []
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
openapi: 3.1.0
2+
info:
3+
title: Coolify
4+
version: '0.1'
5+
paths:
6+
/security/keys:
7+
get:
8+
tags:
9+
- Private Keys
10+
summary: List
11+
description: List all private keys.
12+
operationId: list-private-keys
13+
responses:
14+
'200':
15+
description: Get all private keys.
16+
content:
17+
application/json:
18+
schema:
19+
type: array
20+
items:
21+
$ref: '#/components/schemas/PrivateKey'
22+
'400':
23+
$ref: '#/components/responses/400'
24+
'401':
25+
$ref: '#/components/responses/401'
26+
security:
27+
- bearerAuth: []
28+
post:
29+
tags:
30+
- Private Keys
31+
summary: Create
32+
description: Create a new private key.
33+
operationId: create-private-key
34+
requestBody:
35+
required: true
36+
content:
37+
application/json:
38+
schema:
39+
required:
40+
- private_key
41+
properties:
42+
name:
43+
type: string
44+
description:
45+
type: string
46+
private_key:
47+
type: string
48+
type: object
49+
additionalProperties: false
50+
responses:
51+
'201':
52+
description: The created private key's UUID.
53+
content:
54+
application/json:
55+
schema:
56+
properties:
57+
uuid:
58+
type: string
59+
type: object
60+
'400':
61+
$ref: '#/components/responses/400'
62+
'401':
63+
$ref: '#/components/responses/401'
64+
security:
65+
- bearerAuth: []
66+
patch:
67+
tags:
68+
- Private Keys
69+
summary: Update
70+
description: Update a private key.
71+
operationId: update-private-key
72+
requestBody:
73+
required: true
74+
content:
75+
application/json:
76+
schema:
77+
required:
78+
- private_key
79+
properties:
80+
name:
81+
type: string
82+
description:
83+
type: string
84+
private_key:
85+
type: string
86+
type: object
87+
additionalProperties: false
88+
responses:
89+
'201':
90+
description: The updated private key's UUID.
91+
content:
92+
application/json:
93+
schema:
94+
properties:
95+
uuid:
96+
type: string
97+
type: object
98+
'400':
99+
$ref: '#/components/responses/400'
100+
'401':
101+
$ref: '#/components/responses/401'
102+
security:
103+
- bearerAuth: []
104+
/security/keys/{uuid}:
105+
get:
106+
tags:
107+
- Private Keys
108+
summary: Get
109+
description: Get key by UUID.
110+
operationId: get-private-key-by-uuid
111+
parameters:
112+
- name: uuid
113+
in: path
114+
description: Private Key UUID
115+
required: true
116+
schema:
117+
type: string
118+
responses:
119+
'200':
120+
description: Get all private keys.
121+
content:
122+
application/json:
123+
schema:
124+
$ref: '#/components/schemas/PrivateKey'
125+
'400':
126+
$ref: '#/components/responses/400'
127+
'401':
128+
$ref: '#/components/responses/401'
129+
'404':
130+
description: Private Key not found.
131+
security:
132+
- bearerAuth: []
133+
delete:
134+
tags:
135+
- Private Keys
136+
summary: Delete
137+
description: Delete a private key.
138+
operationId: delete-private-key-by-uuid
139+
parameters:
140+
- name: uuid
141+
in: path
142+
description: Private Key UUID
143+
required: true
144+
schema:
145+
type: string
146+
responses:
147+
'200':
148+
description: Private Key deleted.
149+
content:
150+
application/json:
151+
schema:
152+
properties:
153+
message:
154+
type: string
155+
example: Private Key deleted.
156+
type: object
157+
'400':
158+
$ref: '#/components/responses/400'
159+
'401':
160+
$ref: '#/components/responses/401'
161+
'404':
162+
description: Private Key not found.
163+
security:
164+
- bearerAuth: []

0 commit comments

Comments
 (0)