Returns the specified application deployment
GEThttps://api.spectrocloud.com/v1/appDeployments/:uid
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Returns the specified application deployment
Request
Path Parameters
uid stringrequired
Application deployment uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
metadata object
spec object
status object
{
"metadata": {
"annotations": {},
"creationTimestamp": "2023-12-01T21:31:48.168Z",
"deletionTimestamp": "2023-12-01T21:31:48.168Z",
"labels": {},
"lastModifiedTimestamp": "2023-12-01T21:31:48.168Z",
"name": "string",
"uid": "string"
},
"spec": {
"config": {
"target": {
"clusterRef": {
"deploymentClusterType": "virtual",
"name": "string",
"uid": "string"
},
"envRef": {
"name": "string",
"type": "string",
"uid": "string"
}
}
},
"profile": {
"metadata": {
"name": "string",
"uid": "string",
"version": "string"
},
"template": {
"appTiers": [
{
"name": "string",
"type": "manifest",
"uid": "string",
"version": "string"
}
],
"registryRefs": [
{
"kind": "string",
"name": "string",
"uid": "string"
}
]
}
}
},
"status": {
"appTiers": [
{
"condition": {
"lastProbeTime": "2023-12-01T21:31:48.168Z",
"lastTransitionTime": "2023-12-01T21:31:48.168Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
},
"endTime": "2023-12-01T21:31:48.168Z",
"manifests": [
{
"condition": {
"lastProbeTime": "2023-12-01T21:31:48.168Z",
"lastTransitionTime": "2023-12-01T21:31:48.168Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
},
"name": "string",
"uid": "string"
}
],
"name": "string",
"profileUid": "string",
"services": [
{
"host": "string",
"name": "string",
"ports": [
{
"port": 0,
"protocol": "string"
}
]
}
],
"startTime": "2023-12-01T21:31:48.169Z",
"type": "string",
"version": "string"
}
],
"lifecycleStatus": {
"msg": "string",
"status": "Pausing"
},
"state": "string"
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/appDeployments/:uid' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'