listApplicationDeployments
get
/ccadmin/v1/applicationDeployment
Get Application Deployments. Returns any Application Deployments matching an appName
Request
Supported Media Types
- application/json
Query Parameters
-
appName(required): string
The application name to retrieve deployments for.
-
deploymentStatus: string
This is used to list successful and unsuccessful deployments, as well as 'all' deployments by default. A 'successful deployment' refers to a scenario where the deployment is completed successfully at the preview controller and asset validation.Default Value:
all
-
version: string
Used to list deployments that match the specified application version.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listApplicationDeployments_response
Type:
Show Source
object
-
items:
array items
list of application deployments
Nested Schema : items
Type:
Show Source
object
-
applicationId:
string
application ID for application deployment
-
clusterId:
string
cluster ID for application deployment
-
creationTime:
string
time application deployment was created in ISO 8601 format
-
errorMessages:
array errorMessages
error messages for application deployment
-
id:
string
ID for application deployment
-
infoMessages:
array infoMessages
information messages for application deployment
-
metadata:
string
application deployment metadata.
-
repositoryId:
string
repository ID for application deployment
-
state:
string
state of application deployment - accepted or rejected
-
warningMessages:
array warningMessages
warning messages for application deployment
Nested Schema : infoMessages
Type:
array
information messages for application deployment
Show Source
Example Response (application/json)
[
{
"errorMessages":[
],
"warningMessages":[
],
"metadata":"{\"appName\":\"core-commerce-reference-store\",\"appDir\":\"packages/apps/core-commerce-reference-store\",\"tags\":[]}",
"repositoryId":"5600001",
"infoMessages":[
],
"state":"ACCEPTED",
"clusterId":"storefront",
"id":"5600001",
"applicationId":"core-commerce-reference-store",
"creationDate":"2021-09-21T11:01:39.296Z"
}
]
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code