Publish Workbook
POST {{base-path}}/sites/{{site-id}}/workbooks/
Request Params
Key | Datatype | Required | Description |
---|
overwrite | string | | (Optional) true to overwrite a workbook that has the same name, or false to fail if the specified workbook already exists. The default is false. If overwrite-flag is set to true but the workbook doesn't already exist, the operation succeeds. |
skipConnectionCheck | string | | (Optional, boolean) If true, then the Tableau server will not check if a non-published connection of a workbook is reachable. Publishing will succeed but unchecked connection issues may result in a non-functioning workbook. If you encounter this issue, follow Keep Data Fresh guidelines(Link opens in a new window). Default value is false. |
workbookType | string | | twb or twbx to indicate whether you have uploaded a workbook file (twb) or a packaged workbook file (twbx). This value is required if you are calling Publish Workbook in order to commit a file that was previously uploaded using Append to File Upload. The value is not used if you upload a file in the body of the request. |
uploadSessionId | string | | If you are calling this method to commit a file that was uploaded in parts, this value contains the upload session ID that was generated by a call to Initiate File Upload. If this value is not included, the server assumes that the body of the request contains the file to be published. |
asJob | string | | (Optional, boolean) If false, the workbook publishing process runs as a synchronous process. If a workbook is very large, the process might time out before it finishes. If you set this value to true, the process runs asynchronously, and a job will start to perform the publishing process and return the job ID. You can check the status of the import job by calling Query Job. Default value is false. |
Request Body
[{"name"=>"request_payload", "value"=>"<tsRequest>\n\t<workbook name=\"Postman DevToProd Workflow Workbook\" showTabs=\"true\" >\n\t\t<project id=\"{{project-id}}\"/>\n\t</workbook>\n</tsRequest>", "datatype"=>"string"}, {"name"=>"tableau_workbook", "value"=>nil, "datatype"=>"null"}]
Key | Datatype | Required | Description |
---|
Content-Type | string | | |