Using a REST API tool

Use a REST client application to call the Cloudera SQL Stream Builder (SSB) REST API. Configure the client with the SSB base URL and the session cookie.

  1. Set the base URL of the requests to https://<instance-name>-ssb-sse.<domain>/api/v2.
    All endpoints use the same base URL.
  2. Add the session cookie to each request as a header:
    Cookie: hadoop-jwt=<hadoop-jwt-cookie-value>

    Do not use basic authentication. For how to get the cookie, see Programmatic API access.

  3. Optional: Optional: Import the endpoints into the client.
    1. Sign in to the Streaming SQL Console in your browser.
    2. Open https://<instance-name>-ssb-sse.<domain>/swagger/api-docs, and save the OpenAPI description as a file.
    3. Import the file into the REST client.