The CasC bundle management on Operations Center HTTP API allows users to view the availability patterns and tokens for all CasC bundles on an Operations Center. It also allows users to assign a bundle to a controller and regenerate tokens.
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.
Lists all of the available CasC bundles on the Operations Center.
Regenerates the token and returns the new bundle information when successful.
Assigns a new controller path and returns the new bundle information when successful.
|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.|
|GET /casc-bundle/list||POST /casc-bundle/regenerate-token||POST /casc-bundle/set-master-to-bundle|
|Response examples are formatted for better readability.|
array of objects
List of all bundles available on an Operations Center.
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.
The regex attribute is the full path to one or more controllers in Operations Center that can use the bundle. This must be a regular expression. It defines the bundles you can assign to a controller. For example,
The name is the name of the file that contains the CasC bundle. Ex.
The url is the bundle URL where Operations Center exposes its content.
The token is the access token for the bundle.