Skip to content

stephenlprice/tableau-rest-tutorial

Repository files navigation

tableau-rest-tutorial

Fully automated Postman collection for the Tableau Server REST API tutorial

Walkthrough

  1. To get started, import the collection via Postman's Github integration or clone the repository and import it as a local file.
  2. Create a Postman environment called Tableau REST API.
  3. Add three environment variables used when authenticating into Tableau Server: username, password, content-url as defined in the API Docs.

NOTE: The collection has a Sign In request that is scripted to use the environment variables from step #3. Additionally, there is a collection level script that performs the same task (see Pre-Request Script for the Collection) for every single request. As a result any request made with the collection will first authenticate and update the collection variables site-id and api-key. Manual authentication is no longer required.

  1. Make any request or perform the Sign In request to update the site-id and api-key collection variables.
  2. Requests follow the structure of the tutorial: Authentication => Projects => Workbooks => Users => Groups => Permissions

NOTE: Additional requests have been added to those listed in the tutorial for convenience as they set collection variables for future use.

NOTE: Currently users cannot publish workbooks from Postman due to difficulties described in Tableau's documentation. As a result making a curl or httpie request is advised. NOTE: Additional endpoints have been added to help learn about Tableau's REST API.

signed by joseacortez91 signed by stelloprint