Get software cache details for specific server
Select
SaaS
Customer Managed
Get software cache details for specific server
Path Parameters
- clientId int32 required
Software cache client id
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
cache object
- cacheDirectory string
The software cache directory path where the media will be located
- enabled boolean
Whether the software cache is enabled or not
- configurable boolean
Whether the software cache is configurable
- status SyncStatusTypes
Possible values: [
OUT_OF_SYNC
,IN_SYNC
]The status of the software cache for server. Either In Sync or Out of Sync with CommServe cache
associations object[]
cacheContents object[]
{
"cache": {
"id": 0,
"name": "string"
},
"cacheDirectory": "string",
"enabled": true,
"configurable": true,
"status": "OUT_OF_SYNC",
"associations": [
{
"id": 0,
"name": "string",
"type": "SERVER"
}
],
"cacheContents": [
{
"osName": "string",
"version": "string",
"additionalUpdates": "string",
"packagesInCache": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/softwarecache/:clientid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'