You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-ref.md
+19-18Lines changed: 19 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Name | Description
50
50
:--- | :---
51
51
`username` | The name of the user whose credentials will be used to sign in.
52
52
`password` | The password of the user.
53
-
`site_id` | This corresponds to the `contentUrl` attribute in the Tableau REST API. The `site_id`is the portion of the URL that follows the `/site/` in the URL. For example, "MarketingTeam" is the `site_id` in the following URL*MyServer*/#/site/**MarketingTeam**/projects. To specify the default site on Tableau Server, you can use an empty string `''` (single quotes, no space). For Tableau Online, you must provide a value for the `site_id`.
53
+
`site_id` | This corresponds to the `contentUrl` attribute in the Tableau REST API. It is the portion of the URL that follows the `/site/` in the URL. For example, "MarketingTeam" is the `site_id` in the following URL: `https://MyServer/#/site/MarketingTeam/projects`. To specify the default site on Tableau Server, you can either omit the site_id or use an empty string `''` (single quotes, no space). For Tableau Online, you must provide a value for the `site_id`.
54
54
`user_id_to_impersonate` | Specifies the id (not the name) of the user to sign in as.
@@ -2118,8 +2118,8 @@ The `SiteItem` class contains the members or attributes for the site resources o
2118
2118
2119
2119
Attribute | Description
2120
2120
:--- | :---
2121
-
`name` | The name of the site. The name of the default site is "".
2122
-
`content_url` | The path to the site.
2121
+
`name` | The display name of the site, as shown in the Site dropdown of the left hand menu of the Tableau server. For the name of the default site use an empty string: `""`.
2122
+
`content_url` | The name of the subpath of your site URL, as it shows in a browser address bar.
2123
2123
`admin_mode` | (Optional) For Tableau Server only. Specify `ContentAndUsers` to allow site administrators to use the server interface and **tabcmd** commands to add and remove users. (Specifying this option does not give site administrators permissions to manage users using the REST API.) Specify `ContentOnly` to prevent site administrators from adding or removing users. (Server administrators can always add or remove users.)
2124
2124
`user_quota`| (Optional) Specifies the maximum number of users for the site. If you do not specify this value, the limit depends on the type of licensing configured for the server. For user-based license, the maximum number of users is set by the license. For core-based licensing, there is no limit to the number of users. If you specify a maximum value, only licensed users are counted and server administrators are excluded.
2125
2125
`storage_quota` | (Optional) Specifies the maximum amount of space for the new site, in megabytes. If you set a quota and the site exceeds it, publishers will be prevented from uploading new content until the site is under the limit again.
@@ -2249,7 +2249,7 @@ Returns a list of all `SiteItem` objects and a `PaginationItem`. Use these value
`site_id` | The id for the site you want to query.
2264
+
`site_luid` | The unique identifier for the site that you want to remove from the server. You can find a sites's LUID by making a [sites.get](#sitesget) request.
`site_id` | The id of the site that you want to delete.
2415
+
`site_luid` | The unique identifier for the site that you want to remove from the server. You can find a sites's LUID by making a [sites.get](#sitesget) request.
2416
+
2416
2417
2417
2418
2418
2419
2419
2420
**Exceptions**
2420
2421
2421
2422
Error | Description
2422
2423
:--- | :---
2423
-
`Site ID Undefined.` | The site id must be present and must match the id of the site you are deleting.
2424
+
`Site ID Undefined.` | The site id must be present and must match the LUID of the site you are deleting.
`subscription_id` | The identifier (`id`) for the subscription that you want to remove from the site.
2612
+
`subscription_id` | The unique identifier for the subscription that you want to remove from the site. You can find a subscription's LUID by making a [subscription.get](#subscriptionget) request.
2612
2613
2613
2614
2614
2615
**Exceptions**
@@ -3493,7 +3494,7 @@ Returns a list of all `WorkbookItem` objects and a `PaginationItem`. Use these v
@@ -3728,7 +3729,7 @@ Deletes a workbook with the specified ID.
3728
3729
3729
3730
3730
3731
3731
-
To specify the site, create a `TableauAuth` instance using the content URL for the site (`site_id`), and sign in to that site. See the [TableauAuth class](#tableauauth-class).
3732
+
To specify the site, create a `TableauAuth` instance `site-id` (the subpath of your full site URL, also called `contentURL` in the REST API), and sign in to that site. See the [TableauAuth class](#tableauauth-class).
print("\nThere are {} datasources on site: ".format(pagination_item.total_available))
85
85
print([datasource.name for datasource in all_datasources])
86
86
```
87
-
> `SERVER_URL` is the URL of your Tableau server without subpaths. For local Tableau servers, an example would be: `https://www.MY_SERVER.com`. For Tableau Online, an example would be: `https://10ax.online.tableau.com/`.
87
+
> `serverurl` is the URL of your Tableau server without subpaths. For local Tableau servers, an example would be: `https://www.MY_SERVER.com`. For Tableau Online, an example would be: `https://10ax.online.tableau.com/`.
88
88
89
-
>`SITENAME` is the subpath of your full site URL (also called `contentURL` in the REST API). `MYSITE` would be the site name of `https://10ax.online.tableau.com/MYSITE`. This parameter can be omitted when signing in to the Default site of a on premise Tableau server.
89
+
>`site-id` is the subpath of your full site URL (also called `contentURL` in the REST API). `MYSITE` would be the site name of `https://10ax.online.tableau.com/MYSITE`. This parameter can be omitted when signing in to the Default site of a on premise Tableau server.
0 commit comments