Preview application group content for discovery of applications
Select
SaaS
Customer Managed
API to preview application content
Query Parameters
- clusterId int32 required
clusterId of the Kubernetes client to do a Preview
- application/json
Request Body
content object required
filters object
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- protectedApplicationCount int32
applicationGroup object
- applicationList object[]
{
"protectedApplicationCount": 0,
"applicationGroup": {
"id": 0,
"name": "string"
},
"applicationList": [
{
"GUID": "string",
"name": "string",
"nameSpace": "string",
"type": "string"
}
]
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v5/kubernetes/applicationgroup/preview
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V5/Kubernetes/ApplicationGroup/Preview' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"content": {
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
},
"filters": {
"skipStatelessApps": false,
"applications": [
{
"GUID": "string",
"type": "NAMESPACE",
"name": "string"
}
],
"labelSelectors": [
{
"selectorValue": "string",
"selectorLevel": "Application"
}
]
}
}'