Accessing the public APIs


A TrueSight Capacity Optimization administrator must grant the required read or write permission to users for accessing the public APIs. The permission is based on the API read or write activity that the administrator assigns to user roles. For information about granting access, see Adding and managing roles.

When a user with the required access makes RESTful web service requests from a REST client, these requests are authenticated. TrueSight Capacity Optimization supports the Bearer methods of authentication.

Bearer authentication

This authentication requires a token key. You can generate this key from the TrueSight Capacity Optimization console and use it in your RESTful web request calls. These API calls are authenticated by validating the token.

The process of using this authentication:

  1. Generate the API key. For more information, see Generating-an-API-key-for-programmatic-access.
  2. In a text editor, open the credentials.key file and copy the token.
    bearer_token.png
  3. In your REST API call request, paste the copied token to the header statement.

    bearer_token_header_api_call.png
  4. Make the API call.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*