1+
2+ openapi : 3.0.0
3+ info :
4+ title : Deployment v1
5+ description : >
6+ The Application Manager API exists to provide Mule Application management operations from Anypoint Control Planes to any Runtime Plane, with capabilities that include:
7+ - Deploying a Mule Application or API to a Mule Runtime
8+ - Scaling up or down a running application
9+ - Managing application settings (ie: properties)
10+ - Deleting a Mule Application Deployment
11+ - Changing artifact version or configurations of a deployment
12+ - Starting, Stopping or Restarting applications
13+ - etc.
14+ This API currently supports deployments to Cloudhub 1.0 targets only.
15+ version : 1.0.0
16+
17+ servers :
18+ - url : https://anypoint.mulesoft.com/armui/api/v1
19+ description : Anypoint Cloudhub
20+ - url : https://eu1.anypoint.mulesoft.com/armui/api/v1
21+ description : Anypoint Cloudhub EU
22+ - url : https://gov.anypoint.mulesoft.com/armui/api/v1
23+ description : Anypoint Cloudhub GOV
24+
25+ security :
26+ - bearerAuth : []
27+
28+ paths :
29+ /applications :
30+ get :
31+ operationId : GetAllDeployments
32+ summary : List deployments
33+ description : Retrieves a list of deployments for the specified query. If the query returns no results, then an empty list is returned.
34+ parameters :
35+ - name : x-anypnt-env-id
36+ in : header
37+ description : The environment id where the applications are deployed
38+ required : true
39+ schema :
40+ type : string
41+ - name : x-anypnt-org-id
42+ in : header
43+ description : The org id where the applications are deployed
44+ required : true
45+ schema :
46+ type : string
47+ responses :
48+ " 401 " :
49+ $ref : " #/components/responses/UnauthorizedError"
50+ " 200 " :
51+ $ref : " #/components/responses/GetAllDeployments"
52+
53+
54+ components :
55+ securitySchemes :
56+ bearerAuth : # arbitrary name for the security scheme
57+ type : http
58+ scheme : bearer
59+ bearerFormat : JWT
60+
61+ responses :
62+ UnauthorizedError :
63+ description : Access token is missing or invalid
64+ DeploymentNotFoundError :
65+ description : Deployment not found
66+ GetAllDeployments :
67+ description : Response of a list of deployments
68+ content :
69+ application/json :
70+ schema :
71+ $ref : " #/components/schemas/GetAllDeploymentsResponse"
72+
73+ schemas :
74+ Deployment :
75+ type : object
76+ properties :
77+ id :
78+ type : string
79+ description : A unique identifier for the deployment.
80+ artifact :
81+ type : object
82+ description : Details about the artifact associated with the deployment.
83+ properties :
84+ lastUpdateTime :
85+ type : number
86+ description : The timestamp (in milliseconds) when the artifact was last updated.
87+ createTime :
88+ type : number
89+ nullable : true
90+ description : The creation timestamp (in milliseconds); may be null.
91+ name :
92+ type : string
93+ description : The name of the artifact.
94+ fileName :
95+ type : string
96+ description : The file name of the artifact.
97+ lastReportedStatus :
98+ type : string
99+ description : The last reported status of the deployment (e.g., STARTED, UNDEPLOYED).
100+ details :
101+ type : object
102+ description : Additional details about the deployment.
103+ properties :
104+ domain :
105+ type : string
106+ description : The domain name associated with the deployment.
107+ additionalProperties : true
108+ target :
109+ type : object
110+ description : Information about the target environment where the deployment is hosted.
111+ properties :
112+ type :
113+ type : string
114+ description : The target type (e.g., CLOUDHUB, MC).
115+ subtype :
116+ type : string
117+ description : The target subtype (if applicable).
118+ provider :
119+ type : string
120+ description : The provider of the target platform.
121+ id :
122+ type : string
123+ description : The identifier of the target.
124+ name :
125+ type : string
126+ description : The name of the target.
127+ status :
128+ type : string
129+ description : The current status of the target.
130+ application :
131+ type : object
132+ description : Application-specific information for the deployment.
133+ properties :
134+ status :
135+ type : string
136+ description : The status of the application.
137+ muleVersion :
138+ type : object
139+ description : Details regarding the Mule runtime version.
140+ properties :
141+ version :
142+ type : string
143+ description : The Mule runtime version.
144+ updateId :
145+ type : string
146+ description : The identifier for the runtime update.
147+ latestUpdateId :
148+ type : string
149+ description : The identifier for the latest runtime update.
150+ endOfSupportDate :
151+ type : number
152+ description : The timestamp (in milliseconds) representing the end-of-support date.
153+
154+
155+ DeploymentList :
156+ type : array
157+ items :
158+ $ref : " #/components/schemas/Deployment"
159+
160+ GetAllDeploymentsResponse :
161+ type : object
162+ properties :
163+ data :
164+ $ref : " #/components/schemas/DeploymentList"
165+ total :
166+ type : integer
0 commit comments