CasC bundle management on Operations Center API
The CasC bundle management on Operations Center API allows users to view the master paths and tokens for all CasC bundles on an Operations Center. It also allows users to assign master paths and regenerate tokens.
Authentication and authorization
To access the CasC bundle management on Operations Center API you need an API authentication token and administrator access rights. See API authentication for more information.
Endpoints and methods
Endpoint | Description | Parameters |
---|---|---|
GET |
Lists all of the available CasC bundles on the Operations Center. |
None. |
POST |
Regenerates the token and returns the new bundle information when successful. |
|
POST |
Assigns a new master path and returns the new bundle information when successful. |
|
Request examples
Endpoint | Request example |
---|---|
GET |
|
POST |
|
POST |
|
In the request examples "admin" is the name of the user attempting to send the request and "https://my-operations-center.com/cjoc/" is the url for the Operations Center. |
Response examples
GET /casc-bundle/list | POST /casc-bundle/regenerate-token | POST /casc-bundle/set-master-to-bundle |
---|---|---|
|
|
|
Response examples are formatted for better readability. |
Response model
Element | Type | Description |
---|---|---|
bundles |
array of objects |
List of all bundles available on an Operations Center. |
linkFileContent |
string |
Contains two entries in string format wrapped in quotes and separated by newline characters: url and token. The url is the the bundle URL where Operations Center exposes its content. The token is the access token for the bundle. |
masterPath |
string |
The Master Path attribute is the full path of the master item from Operations Center root. Ex. |
name |
string |
The name is the name of the file that contains the CasC bundle. Ex. |
url |
string |
The url is the bundle URL where Operations Center exposes its content. |
token |
string |
The token is the access token for the bundle. |