3.3 Generating an Access Token

You can generate an access token to access REST endpoints of Spatial Studio.

Spatial Studio supports two types of tokens:
  • General-purpose token: Full access to all resources. The token grants read-only or read-write access as required.
  • Streaming-only token: Access only to REST endpoints related to dataset streaming. Also, the token grants read-only access that be used only with HTTP GET methods.
To generate an access token:
  1. Click avatar on the top right corner of the page.
  2. Click Access Tokens from the drop-down menu.
    The Access Tokens dialog opens and the existing tokens are displayed.
  3. Click Create New Token.
    Create A New Access Token dialog opens as shown:

    Figure 3-5 Creating a New Access Token

    Description of Figure 3-5 follows
    Description of "Figure 3-5 Creating a New Access Token"
  4. Enter the token Name.
  5. Enter the time Valid for (minutes) after which the token expires.
    If you specify -1, then Spatial Studio will never expire the token, unless you explicitly revoke it.
  6. Select Resource type.
  7. Optionally, select the Allowed action for granting access to a general-purpose token.
  8. Click OK to create the token.
    The token gets created successfully.