You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Creates a new application in the Devtron system with the provided configuration.
324
-
operationId: createApplication
325
-
security:
326
-
- bearerAuth: []
320
+
description: Creates a new app for the configurations provided. The input json object is the same we get in response of GET method for fetching all details of an app
321
+
operationId: CreateApp
327
322
requestBody:
328
-
description: Application creation request
323
+
description: A JSON object containing the app configuration
329
324
required: true
330
325
content:
331
326
application/json:
332
327
schema:
333
328
$ref: '#/components/schemas/CreateAppRequest'
334
329
responses:
335
330
'200':
336
-
description: Application created successfully
331
+
description: Successfully created the application
337
332
content:
338
333
application/json:
339
334
schema:
340
-
$ref: '#/components/schemas/ApiResponse'
335
+
type: object
336
+
properties:
337
+
code:
338
+
type: integer
339
+
description: HTTP status code
340
+
status:
341
+
type: string
342
+
description: Status message
343
+
result:
344
+
type: string
345
+
description: Success message
341
346
'400':
342
-
description: Invalid request format or missing required fields
343
-
content:
344
-
application/json:
345
-
schema:
346
-
$ref: '#/components/schemas/ApiError'
347
-
'401':
348
-
description: Unauthorized
347
+
description: Bad Request. Validation error/wrong request body.
349
348
content:
350
349
application/json:
351
350
schema:
352
351
$ref: '#/components/schemas/ApiError'
353
-
'409':
354
-
description: Application with the same name already exists
352
+
'500':
353
+
description: Internal Server Error
355
354
content:
356
355
application/json:
357
356
schema:
358
357
$ref: '#/components/schemas/ApiError'
359
-
'500':
360
-
description: Internal server error
358
+
'403':
359
+
description: Unauthorized User
361
360
content:
362
361
application/json:
363
362
schema:
@@ -613,255 +612,3 @@ paths:
613
612
application/json:
614
613
schema:
615
614
$ref: '#/components/schemas/ErrorResponse'
616
-
617
-
/orchestrator/app/autocomplete:
618
-
get:
619
-
tags:
620
-
- Applications
621
-
summary: List application autocomplete
622
-
description: list of namespaces group by clusters
623
-
operationId: listAppAutocomplete
624
-
parameters:
625
-
- name: token
626
-
in: header
627
-
required: true
628
-
description: Authentication token.
629
-
schema:
630
-
type: string
631
-
- in: query
632
-
name: appName
633
-
example: "abc"
634
-
description: app name, wildcard query
635
-
required: false
636
-
allowEmptyValue: true
637
-
schema:
638
-
type: string
639
-
- in: query
640
-
name: teamId
641
-
example: 1
642
-
description: project id
643
-
required: false
644
-
allowEmptyValue: false
645
-
schema:
646
-
type: integer
647
-
responses:
648
-
'200':
649
-
description: list response
650
-
content:
651
-
application/json:
652
-
schema:
653
-
type: object
654
-
properties:
655
-
code:
656
-
type: integer
657
-
description: status code
658
-
status:
659
-
type: string
660
-
description: status
661
-
result:
662
-
type: array
663
-
description: app list
664
-
items:
665
-
type: object
666
-
'400':
667
-
description: Bad request
668
-
content:
669
-
application/json:
670
-
schema:
671
-
$ref: '#/components/schemas/ErrorResponse'
672
-
'401':
673
-
description: Unauthorized
674
-
content:
675
-
application/json:
676
-
schema:
677
-
$ref: '#/components/schemas/ErrorResponse'
678
-
'500':
679
-
description: Internal server error
680
-
content:
681
-
application/json:
682
-
schema:
683
-
$ref: '#/components/schemas/ErrorResponse'
684
-
security: []
685
-
686
-
/orchestrator/app/workflow:
687
-
post:
688
-
tags:
689
-
- Workflow Management
690
-
summary: Create an application workflow
691
-
description: Creates a new workflow for a given application.
692
-
operationId: CreateAppWorkflow
693
-
parameters:
694
-
- name: token
695
-
in: header
696
-
required: true
697
-
description: Authentication token.
698
-
schema:
699
-
type: string
700
-
requestBody:
701
-
required: true
702
-
content:
703
-
application/json:
704
-
schema:
705
-
$ref: '#/components/schemas/AppWorkflowDto'
706
-
responses:
707
-
'200':
708
-
description: Successfully created workflow.
709
-
content:
710
-
application/json:
711
-
schema:
712
-
$ref: '#/components/schemas/AppWorkflowDto'
713
-
'400':
714
-
description: Bad Request. Validation error or wrong request body.
715
-
content:
716
-
application/json:
717
-
schema:
718
-
$ref: '#/components/schemas/ErrorResponse'
719
-
'401':
720
-
description: Unauthorized User.
721
-
content:
722
-
application/json:
723
-
schema:
724
-
$ref: '#/components/schemas/ErrorResponse'
725
-
'403':
726
-
description: Forbidden.
727
-
content:
728
-
application/json:
729
-
schema:
730
-
$ref: '#/components/schemas/ErrorResponse'
731
-
'500':
732
-
description: Internal server error
733
-
content:
734
-
application/json:
735
-
schema:
736
-
$ref: '#/components/schemas/ErrorResponse'
737
-
security: []
738
-
739
-
/orchestrator/app/workflow/clone:
740
-
post:
741
-
tags:
742
-
- Clone Workflow
743
-
summary: Clone Application Workflow
744
-
description: Clone an existing application workflow.
0 commit comments