Skip to content

Commit 4f32b48

Browse files
authored
Merge pull request coollabsio#3306 from coollabsio/next
v4.0.0-beta.327
2 parents 3791523 + 04ce622 commit 4f32b48

21 files changed

+179
-77
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ Special thanks to our biggest sponsors!
5151
<a href="https://brand.dev/?ref=coolify.io" target="_blank"><img src="./other/logos/branddev.png" alt="branddev logo" width="200"/></a>
5252
<a href="https://jobscollider.com/remote-jobs?ref=coolify.io" target="_blank"><img src="./other/logos/jobscollider.svg" alt="jobscollider logo" width="200"/></a>
5353
<a href="https://hostinger.com?ref=coolify.io" target="_blank"><img src="./other/logos/hostinger.svg" alt="hostinger logo" width="200"/></a>
54+
<a href="https://www.glueops.dev/?ref=coolify.io" target="_blank"><img src="./other/logos/glueops.webp" alt="glueops logo" width="60"/></a>
55+
<a href="https://ubicloud.com/?ref=coolify.io" target="_blank"><img src="./other/logos/ubicloud.svg" alt="ubicloud logo" width="200"/></a>
56+
<a href="https://juxtdigital.dev/?ref=coolify.io" target="_blank"><img src="./other/logos/juxtdigital.png" alt="juxtdigital logo" width="200"/></a>
57+
<a href="https://saasykit.com/?ref=coolify.io" target="_blank"><img src="./other/logos/saasykit.png" alt="saasykit logo" width="200"/></a>
58+
<a href="https://massivegrid.com/?ref=coolify.io" target="_blank"><img src="./other/logos/massivegrid.svg" alt="massivegrid logo" width="200"/></a>
59+
60+
5461

5562
## Github Sponsors ($40+)
5663
<a href="https://serpapi.com/?ref=coolify.io"><img width="60px" alt="SerpAPI" src="https://github.com/serpapi.png"/></a>
@@ -77,6 +84,7 @@ Special thanks to our biggest sponsors!
7784
<a href="https://github.com/urtho"><img src="https://github.com/urtho.png" width="60px" alt="Paweł Pierścionek" /></a>
7885
<a href="https://github.com/monocursive"><img src="https://github.com/monocursive.png" width="60px" alt="Michael Mazurczak" /></a>
7986
<a href="https://formbricks.com/?utm_source=coolify.io"><img src="https://github.com/formbricks.png" width="60px" alt="Formbricks" /></a>
87+
<a href="https://x.com/adithsuhas17?utm_source=coolify.io"><img src="https://github.com/adith-suhas-sv.png" width="60px" alt="Adith Suhas" /></a>
8088

8189
## Organizations
8290
<a href="https://opencollective.com/coollabsio/organization/0/website"><img src="https://opencollective.com/coollabsio/organization/0/avatar.svg"></a>

app/Http/Controllers/Api/ApplicationsController.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ private function removeSensitiveData($application)
5353
summary: 'List',
5454
description: 'List all applications.',
5555
path: '/applications',
56+
operationId: 'list-applications',
5657
security: [
5758
['bearerAuth' => []],
5859
],
@@ -101,6 +102,7 @@ public function applications(Request $request)
101102
summary: 'Create (Public)',
102103
description: 'Create new application based on a public git repository.',
103104
path: '/applications/public',
105+
operationId: 'create-public-application',
104106
security: [
105107
['bearerAuth' => []],
106108
],
@@ -202,6 +204,7 @@ public function create_public_application(Request $request)
202204
summary: 'Create (Private - GH App)',
203205
description: 'Create new application based on a private repository through a Github App.',
204206
path: '/applications/private-github-app',
207+
operationId: 'create-private-github-app-application',
205208
security: [
206209
['bearerAuth' => []],
207210
],
@@ -303,6 +306,7 @@ public function create_private_gh_app_application(Request $request)
303306
summary: 'Create (Private - Deploy Key)',
304307
description: 'Create new application based on a private repository through a Deploy Key.',
305308
path: '/applications/private-deploy-key',
309+
operationId: 'create-private-deploy-key-application',
306310
security: [
307311
['bearerAuth' => []],
308312
],
@@ -404,6 +408,7 @@ public function create_private_deploy_key_application(Request $request)
404408
summary: 'Create (Dockerfile)',
405409
description: 'Create new application based on a simple Dockerfile.',
406410
path: '/applications/dockerfile',
411+
operationId: 'create-dockerfile-application',
407412
security: [
408413
['bearerAuth' => []],
409414
],
@@ -490,6 +495,7 @@ public function create_dockerfile_application(Request $request)
490495
summary: 'Create (Docker Image)',
491496
description: 'Create new application based on a prebuilt docker image',
492497
path: '/applications/dockerimage',
498+
operationId: 'create-dockerimage-application',
493499
security: [
494500
['bearerAuth' => []],
495501
],
@@ -573,6 +579,7 @@ public function create_dockerimage_application(Request $request)
573579
summary: 'Create (Docker Compose)',
574580
description: 'Create new application based on a docker-compose file.',
575581
path: '/applications/dockercompose',
582+
operationId: 'create-dockercompose-application',
576583
security: [
577584
['bearerAuth' => []],
578585
],
@@ -1171,6 +1178,7 @@ private function create_application(Request $request, $type)
11711178
summary: 'Get',
11721179
description: 'Get application by UUID.',
11731180
path: '/applications/{uuid}',
1181+
operationId: 'get-application-by-uuid',
11741182
security: [
11751183
['bearerAuth' => []],
11761184
],
@@ -1235,6 +1243,7 @@ public function application_by_uuid(Request $request)
12351243
summary: 'Delete',
12361244
description: 'Delete application by UUID.',
12371245
path: '/applications/{uuid}',
1246+
operationId: 'delete-application-by-uuid',
12381247
security: [
12391248
['bearerAuth' => []],
12401249
],
@@ -1321,6 +1330,7 @@ public function delete_by_uuid(Request $request)
13211330
summary: 'Update',
13221331
description: 'Update application by UUID.',
13231332
path: '/applications/{uuid}',
1333+
operationId: 'update-application-by-uuid',
13241334
security: [
13251335
['bearerAuth' => []],
13261336
],
@@ -1557,6 +1567,7 @@ public function update_by_uuid(Request $request)
15571567
summary: 'List Envs',
15581568
description: 'List all envs by application UUID.',
15591569
path: '/applications/{uuid}/envs',
1570+
operationId: 'list-envs-by-application-uuid',
15601571
security: [
15611572
['bearerAuth' => []],
15621573
],
@@ -1639,6 +1650,7 @@ public function envs(Request $request)
16391650
summary: 'Update Env',
16401651
description: 'Update env by application UUID.',
16411652
path: '/applications/{uuid}/envs',
1653+
operationId: 'update-env-by-application-uuid',
16421654
security: [
16431655
['bearerAuth' => []],
16441656
],
@@ -1821,6 +1833,7 @@ public function update_env_by_uuid(Request $request)
18211833
summary: 'Update Envs (Bulk)',
18221834
description: 'Update multiple envs by application UUID.',
18231835
path: '/applications/{uuid}/envs/bulk',
1836+
operationId: 'update-envs-by-application-uuid',
18241837
security: [
18251838
['bearerAuth' => []],
18261839
],
@@ -2012,6 +2025,7 @@ public function create_bulk_envs(Request $request)
20122025
summary: 'Create Env',
20132026
description: 'Create env by application UUID.',
20142027
path: '/applications/{uuid}/envs',
2028+
operationId: 'create-env-by-application-uuid',
20152029
security: [
20162030
['bearerAuth' => []],
20172031
],
@@ -2171,6 +2185,7 @@ public function create_env(Request $request)
21712185
summary: 'Delete Env',
21722186
description: 'Delete env by UUID.',
21732187
path: '/applications/{uuid}/envs/{env_uuid}',
2188+
operationId: 'delete-env-by-application-uuid',
21742189
security: [
21752190
['bearerAuth' => []],
21762191
],
@@ -2256,6 +2271,7 @@ public function delete_env_by_uuid(Request $request)
22562271
summary: 'Start',
22572272
description: 'Start application. `Post` request is also accepted.',
22582273
path: '/applications/{uuid}/start',
2274+
operationId: 'start-application-by-uuid',
22592275
security: [
22602276
['bearerAuth' => []],
22612277
],
@@ -2359,6 +2375,7 @@ public function action_deploy(Request $request)
23592375
summary: 'Stop',
23602376
description: 'Stop application. `Post` request is also accepted.',
23612377
path: '/applications/{uuid}/stop',
2378+
operationId: 'stop-application-by-uuid',
23622379
security: [
23632380
['bearerAuth' => []],
23642381
],
@@ -2431,6 +2448,7 @@ public function action_stop(Request $request)
24312448
summary: 'Restart',
24322449
description: 'Restart application. `Post` request is also accepted.',
24332450
path: '/applications/{uuid}/restart',
2451+
operationId: 'restart-application-by-uuid',
24342452
security: [
24352453
['bearerAuth' => []],
24362454
],

app/Http/Controllers/Api/DatabasesController.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ private function removeSensitiveData($database)
4646
summary: 'List',
4747
description: 'List all databases.',
4848
path: '/databases',
49+
operationId: 'list-databases',
4950
security: [
5051
['bearerAuth' => []],
5152
],
@@ -91,6 +92,7 @@ public function databases(Request $request)
9192
summary: 'Get',
9293
description: 'Get database by UUID.',
9394
path: '/databases/{uuid}',
95+
operationId: 'get-database-by-uuid',
9496
security: [
9597
['bearerAuth' => []],
9698
],
@@ -151,6 +153,7 @@ public function database_by_uuid(Request $request)
151153
summary: 'Update',
152154
description: 'Update database by UUID.',
153155
path: '/databases/{uuid}',
156+
operationId: 'update-database-by-uuid',
154157
security: [
155158
['bearerAuth' => []],
156159
],
@@ -510,6 +513,7 @@ public function update_by_uuid(Request $request)
510513
summary: 'Create (PostgreSQL)',
511514
description: 'Create a new PostgreSQL database.',
512515
path: '/databases/postgresql',
516+
operationId: 'create-database-postgresql',
513517
security: [
514518
['bearerAuth' => []],
515519
],
@@ -575,6 +579,7 @@ public function create_database_postgresql(Request $request)
575579
summary: 'Create (Clickhouse)',
576580
description: 'Create a new Clickhouse database.',
577581
path: '/databases/clickhouse',
582+
operationId: 'create-database-clickhouse',
578583
security: [
579584
['bearerAuth' => []],
580585
],
@@ -636,6 +641,7 @@ public function create_database_clickhouse(Request $request)
636641
summary: 'Create (DragonFly)',
637642
description: 'Create a new DragonFly database.',
638643
path: '/databases/dragonfly',
644+
operationId: 'create-database-dragonfly',
639645
security: [
640646
['bearerAuth' => []],
641647
],
@@ -696,6 +702,7 @@ public function create_database_dragonfly(Request $request)
696702
summary: 'Create (Redis)',
697703
description: 'Create a new Redis database.',
698704
path: '/databases/redis',
705+
operationId: 'create-database-redis',
699706
security: [
700707
['bearerAuth' => []],
701708
],
@@ -757,6 +764,7 @@ public function create_database_redis(Request $request)
757764
summary: 'Create (KeyDB)',
758765
description: 'Create a new KeyDB database.',
759766
path: '/databases/keydb',
767+
operationId: 'create-database-keydb',
760768
security: [
761769
['bearerAuth' => []],
762770
],
@@ -818,6 +826,7 @@ public function create_database_keydb(Request $request)
818826
summary: 'Create (MariaDB)',
819827
description: 'Create a new MariaDB database.',
820828
path: '/databases/mariadb',
829+
operationId: 'create-database-mariadb',
821830
security: [
822831
['bearerAuth' => []],
823832
],
@@ -882,6 +891,7 @@ public function create_database_mariadb(Request $request)
882891
summary: 'Create (MySQL)',
883892
description: 'Create a new MySQL database.',
884893
path: '/databases/mysql',
894+
operationId: 'create-database-mysql',
885895
security: [
886896
['bearerAuth' => []],
887897
],
@@ -945,6 +955,7 @@ public function create_database_mysql(Request $request)
945955
summary: 'Create (MongoDB)',
946956
description: 'Create a new MongoDB database.',
947957
path: '/databases/mongodb',
958+
operationId: 'create-database-mongodb',
948959
security: [
949960
['bearerAuth' => []],
950961
],
@@ -1514,6 +1525,7 @@ public function create_database(Request $request, NewDatabaseTypes $type)
15141525
summary: 'Delete',
15151526
description: 'Delete database by UUID.',
15161527
path: '/databases/{uuid}',
1528+
operationId: 'delete-database-by-uuid',
15171529
security: [
15181530
['bearerAuth' => []],
15191531
],
@@ -1597,6 +1609,7 @@ public function delete_by_uuid(Request $request)
15971609
summary: 'Start',
15981610
description: 'Start database. `Post` request is also accepted.',
15991611
path: '/databases/{uuid}/start',
1612+
operationId: 'start-database-by-uuid',
16001613
security: [
16011614
['bearerAuth' => []],
16021615
],
@@ -1672,6 +1685,7 @@ public function action_deploy(Request $request)
16721685
summary: 'Stop',
16731686
description: 'Stop database. `Post` request is also accepted.',
16741687
path: '/databases/{uuid}/stop',
1688+
operationId: 'stop-database-by-uuid',
16751689
security: [
16761690
['bearerAuth' => []],
16771691
],
@@ -1747,6 +1761,7 @@ public function action_stop(Request $request)
17471761
summary: 'Restart',
17481762
description: 'Restart database. `Post` request is also accepted.',
17491763
path: '/databases/{uuid}/restart',
1764+
operationId: 'restart-database-by-uuid',
17501765
security: [
17511766
['bearerAuth' => []],
17521767
],

app/Http/Controllers/Api/DeployController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ private function removeSensitiveData($deployment)
3232
summary: 'List',
3333
description: 'List currently running deployments',
3434
path: '/deployments',
35+
operationId: 'list-deployments',
3536
security: [
3637
['bearerAuth' => []],
3738
],
@@ -79,6 +80,7 @@ public function deployments(Request $request)
7980
summary: 'Get',
8081
description: 'Get deployment by UUID.',
8182
path: '/deployments/{uuid}',
83+
operationId: 'get-deployment-by-uuid',
8284
security: [
8385
['bearerAuth' => []],
8486
],
@@ -134,6 +136,7 @@ public function deployment_by_uuid(Request $request)
134136
summary: 'Deploy',
135137
description: 'Deploy by tag or uuid. `Post` request also accepted.',
136138
path: '/deploy',
139+
operationId: 'deploy-by-tag-or-uuid',
137140
security: [
138141
['bearerAuth' => []],
139142
],

app/Http/Controllers/Api/OtherController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class OtherController extends Controller
1313
summary: 'Version',
1414
description: 'Get Coolify version.',
1515
path: '/version',
16+
operationId: 'version',
1617
security: [
1718
['bearerAuth' => []],
1819
],
@@ -43,6 +44,7 @@ public function version(Request $request)
4344
summary: 'Enable API',
4445
description: 'Enable API (only with root permissions).',
4546
path: '/enable',
47+
operationId: 'enable-api',
4648
security: [
4749
['bearerAuth' => []],
4850
],
@@ -94,6 +96,7 @@ public function enable_api(Request $request)
9496
summary: 'Disable API',
9597
description: 'Disable API (only with root permissions).',
9698
path: '/disable',
99+
operationId: 'disable-api',
97100
security: [
98101
['bearerAuth' => []],
99102
],
@@ -158,6 +161,7 @@ public function feedback(Request $request)
158161
summary: 'Healthcheck',
159162
description: 'Healthcheck endpoint.',
160163
path: '/healthcheck',
164+
operationId: 'healthcheck',
161165
responses: [
162166
new OA\Response(
163167
response: 200,

app/Http/Controllers/Api/ProjectController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class ProjectController extends Controller
1313
summary: 'List',
1414
description: 'list projects.',
1515
path: '/projects',
16+
operationId: 'list-projects',
1617
security: [
1718
['bearerAuth' => []],
1819
],
@@ -56,6 +57,7 @@ public function projects(Request $request)
5657
summary: 'Get',
5758
description: 'Get project by Uuid.',
5859
path: '/projects/{uuid}',
60+
operationId: 'get-project-by-uuid',
5961
security: [
6062
['bearerAuth' => []],
6163
],
@@ -102,6 +104,7 @@ public function project_by_uuid(Request $request)
102104
summary: 'Environment',
103105
description: 'Get environment by name.',
104106
path: '/projects/{uuid}/{environment_name}',
107+
operationId: 'get-environment-by-name',
105108
security: [
106109
['bearerAuth' => []],
107110
],
@@ -155,6 +158,7 @@ public function environment_details(Request $request)
155158
summary: 'Create',
156159
description: 'Create Project.',
157160
path: '/projects',
161+
operationId: 'create-project',
158162
security: [
159163
['bearerAuth' => []],
160164
],
@@ -250,6 +254,7 @@ public function create_project(Request $request)
250254
summary: 'Update',
251255
description: 'Update Project.',
252256
path: '/projects/{uuid}',
257+
operationId: 'update-project-by-uuid',
253258
security: [
254259
['bearerAuth' => []],
255260
],
@@ -355,6 +360,7 @@ public function update_project(Request $request)
355360
summary: 'Delete',
356361
description: 'Delete project by UUID.',
357362
path: '/projects/{uuid}',
363+
operationId: 'delete-project-by-uuid',
358364
security: [
359365
['bearerAuth' => []],
360366
],

app/Http/Controllers/Api/ResourcesController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class ResourcesController extends Controller
1313
summary: 'List',
1414
description: 'Get all resources.',
1515
path: '/resources',
16+
operationId: 'list-resources',
1617
security: [
1718
['bearerAuth' => []],
1819
],

0 commit comments

Comments
 (0)