Before you can use the different endpoints available in API Explorer, you will need to retrieve an access token. This token enables you to use all of the available endpoints in the API Explorer.
Two things are required to be able to use the API endpoints in the Thredd sandbox environment:
- A valid client id
- A client secret
These are obtained when logging into the sandbox environment on the Home page. The client id is displayed on this page, and you can get your client secret by clicking the Generate secret code button.
When you have them, paste your client id and secret code into their respective fields below. After these have been entered, click the Try It button.
A token will be generated in the Response section on the right of your screen. You need to copy this so you can use it for all the other endpoints in the API Explorer. This is entered in the OAuth2 field, found in the top-right corner of the API Explorer page for every endpoint.
Enter your client details in the fields below.