Get Plan Content
Select
SaaS
Customer Managed
This operation retrieves the backup content of a plan
Path Parameters
- planId integer required
Id of the plan
Query Parameters
- idaType integer required
Default value:
2
iDataAgent type. 2 for FileSystem windows 3 for Unix Filesystem
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Get Plan Content : Windows
- Get Plan Content : Unix
Schema
backupContent object[]
{
"backupContent": [
{
"idatype": 0,
"subClientPolicy": {
"content": [
{
"path": "string",
"excludePath": "string"
}
]
}
}
]
}
{
"backupContent": [
{
"idatype": 2,
"subClientPolicy": {
"content": [
{
"path": "C:\\\\User"
},
{
"excludePath": "\\\\%Desktop%"
}
]
}
}
]
}
{
"backupContent": [
{
"idatype": 3,
"subClientPolicy": {
"content": [
{
"path": "/"
},
{
"excludePath": "/var/log"
}
]
}
}
]
}
GET /plan/:planid/content
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Plan/:planId/content' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'