Skip to content

Commit cfec5b3

Browse files
committed
feat: Add support for use_build_server in API endpoints for creating/updating applications
1 parent 95483f1 commit cfec5b3

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

openapi.yaml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ paths:
236236
watch_paths:
237237
type: string
238238
description: 'The watch paths.'
239+
use_build_server:
240+
type: boolean
241+
nullable: true
242+
description: 'Use build server.'
239243
type: object
240244
responses:
241245
'200':
@@ -457,6 +461,10 @@ paths:
457461
watch_paths:
458462
type: string
459463
description: 'The watch paths.'
464+
use_build_server:
465+
type: boolean
466+
nullable: true
467+
description: 'Use build server.'
460468
type: object
461469
responses:
462470
'200':
@@ -678,6 +686,10 @@ paths:
678686
watch_paths:
679687
type: string
680688
description: 'The watch paths.'
689+
use_build_server:
690+
type: boolean
691+
nullable: true
692+
description: 'Use build server.'
681693
type: object
682694
responses:
683695
'200':
@@ -850,6 +862,10 @@ paths:
850862
instant_deploy:
851863
type: boolean
852864
description: 'The flag to indicate if the application should be deployed instantly.'
865+
use_build_server:
866+
type: boolean
867+
nullable: true
868+
description: 'Use build server.'
853869
type: object
854870
responses:
855871
'200':
@@ -1013,6 +1029,10 @@ paths:
10131029
instant_deploy:
10141030
type: boolean
10151031
description: 'The flag to indicate if the application should be deployed instantly.'
1032+
use_build_server:
1033+
type: boolean
1034+
nullable: true
1035+
description: 'Use build server.'
10161036
type: object
10171037
responses:
10181038
'200':
@@ -1067,6 +1087,10 @@ paths:
10671087
instant_deploy:
10681088
type: boolean
10691089
description: 'The flag to indicate if the application should be deployed instantly.'
1090+
use_build_server:
1091+
type: boolean
1092+
nullable: true
1093+
description: 'Use build server.'
10701094
type: object
10711095
responses:
10721096
'200':
@@ -1351,6 +1375,10 @@ paths:
13511375
watch_paths:
13521376
type: string
13531377
description: 'The watch paths.'
1378+
use_build_server:
1379+
type: boolean
1380+
nullable: true
1381+
description: 'Use build server.'
13541382
type: object
13551383
responses:
13561384
'200':
@@ -1738,6 +1766,52 @@ paths:
17381766
security:
17391767
-
17401768
bearerAuth: []
1769+
'/applications/{uuid}/execute':
1770+
post:
1771+
tags:
1772+
- Applications
1773+
summary: 'Execute Command'
1774+
description: "Execute a command on the application's current container."
1775+
operationId: execute-command-application
1776+
parameters:
1777+
-
1778+
name: uuid
1779+
in: path
1780+
description: 'UUID of the application.'
1781+
required: true
1782+
schema:
1783+
type: string
1784+
format: uuid
1785+
requestBody:
1786+
description: 'Command to execute.'
1787+
required: true
1788+
content:
1789+
application/json:
1790+
schema:
1791+
properties:
1792+
command:
1793+
type: string
1794+
description: 'Command to execute.'
1795+
type: object
1796+
responses:
1797+
'200':
1798+
description: "Execute a command on the application's current container."
1799+
content:
1800+
application/json:
1801+
schema:
1802+
properties:
1803+
message: { type: string, example: 'Command executed.' }
1804+
response: { type: string }
1805+
type: object
1806+
'401':
1807+
$ref: '#/components/responses/401'
1808+
'400':
1809+
$ref: '#/components/responses/400'
1810+
'404':
1811+
$ref: '#/components/responses/404'
1812+
security:
1813+
-
1814+
bearerAuth: []
17411815
/databases:
17421816
get:
17431817
tags:
@@ -4769,6 +4843,10 @@ components:
47694843
type: boolean
47704844
swarm_cluster:
47714845
type: string
4846+
delete_unused_volumes:
4847+
type: boolean
4848+
delete_unused_networks:
4849+
type: boolean
47724850
type: object
47734851
ServerSetting:
47744852
description: 'Server Settings model'

0 commit comments

Comments
 (0)