简体   繁体   English

Tableau REST API下载工作簿

[英]Tableau REST API Download Workbook

Tableau has some REST API calls Tableau有一些REST API调用

Question 1: Does anyone know how to use the following call to download an online workbook? 问题1:有人知道如何使用以下呼叫下载在线工作簿吗? Sample code will be appreciated. 示例代码将不胜感激。

Question 2: Does any one know how to read and parse this twbx file? 问题2:有人知道如何读取和解析该twbx文件吗?

Thanks. 谢谢。

You will need to send a GET request to a URL such as 您将需要向以下网址发送GET请求,例如

https://YOURDOMAIN/api/2.0/sites/SITE-LUID/workbooks/WORKBOOK-LUID/content

You also need to send a header of your authorisation token like which is named X-Tableau-Auth 您还需要发送授权令牌的标头,例如X-Tableau-Auth

I suggest getting chrome and postman installed to test this kind of stuff out. 我建议安装chrome和postman来测试这种东西。 Importing https://github.com/TableauExamples/Tableau_Postman as a collection will help https://github.com/TableauExamples/Tableau_Postman导入为集合将有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM