![]() your-server/api/ 3.16/sites/ site-id/workbooks/ workbook-idĪs in the previous example, you substitute your own values for your-server and site-id. To delete a workbook, you would send a DELETE request that has this form: In the previous example, you used a GET request because you were reading resources from the server. For more information, see Identifying Resources Using Locally Unique Identifiers (LUIDs). Note: IDs for the site, groups, and other resources consist of locally unique IDs (LUIDs) that contain 16 hexadecimal values in the following format: 9a8b7c6d5-e4f3-a2b1-c0d9-e8f7a6b5c4d. If you want to use the REST API with Tableau Online, see Specifying Resources on Tableau Online. The site-id value is an identifier for the site, and group-id is an ID for the group. In this URI, your-server is the name or IP address for your Tableau Server installation. your-server/api/ 3.16/sites/ site-id/groups/ group-id/users For example, to get a list of the users in a specific group, you send a GET request that has the following format: You indicate what resource to work with by making requests using a URI. The URI specifies the site, project, workbook, user, or other resource that you are creating, viewing, or deleting. The HTTP verb indicates the type of operation you want to perform on a resource. This verb can also dissociate a resource from a collection-for example, you can use the DELETE verb to remove a user from a site, which dissociates the user from collection of users on the site, but doesn't remove the user from the server. DELETE to remove a resource, such as deleting a user, or workbook.PUT to update existing resources, such as updating a user’s password, updating permissions, or changing a workbook owner.POST to create or publish new resources, such as sites, users, workbooks, and data sources.GET to read information, such as getting a list of users or downloading a workbook.When you work with the Tableau Server REST API, you use the following HTTP verbs to request actions from the server: ![]() Using HTTP Verbs to Request Server Actions Note: As a security measure, you should make API calls to Tableau Server using the HTTPS protocol (SSL/TLS). For more information about REST principles and architecture, see A Brief Introduction to REST (Link opens in a new window). The client passes all necessary information to the server for each action-that is, the server does not have to maintain any state about the client. Actions are expressed using standard verbs like GET and POST. In REST, resources are identified in a consistent way using a URI (uniform resource identifier). In Tableau Server, the client-server communication occurs over HTTP, using standard web requests. The Tableau Server REST API is based on the principles of REST (representational state transfer) protocol for client-server communication. ![]() You can think of them as a set of programmatic blocks that you can use to put together complex operations that chain the output of one operation to the input of the next one, and that might involve conditions and other scenarios that are best addressed in programming logic. However, the REST API methods provide more granular control over your interaction with the server. Using the API, you can perform many of the tasks that you can do using tabcmd. By using the API, you can create users or import them from Active Directory, publish workbooks, create, view, and delete data sources, and perform other actions on the server. Tableau Server provides an application programming interface (API) that lets you programmatically manage users, workbooks, data connections, and other resources on the server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |