The Tour Library: every tour of the company with who sees it (audience; null without View Tour Audience), how far that audience has got (progress_summary; null without View Other Users Tour Progress) and who wrote it, without the steps (get_tour has them). Needs View Tours and View All Tours. A person's own tours are list_my_tours.
| |
|---|
| Scope | settings:read |
| Asynchronous | No |
| MCP tool | list_tours |
| Portal permissions | view_tours, view_all_tours |
| Paging | keyset |
| Default order | tour_id |
| Sort fields | tour_id |
Parameters
| Name | In | Type | Required | Description |
|---|
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
200 body
| Field | Type | Required | Description |
|---|
items | array of TourSummary | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required | |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
TourAudience
| Field | Type | Required | Description |
|---|
group_ids | array of string | Required | The groups the tour is shown to (everyone in them). |
user_ids | array of string | Required | The people the tour is shown to. |
TourProgressSummary
| Field | Type | Required | Description |
|---|
completed_count | integer | Required | ≥ -2147483648; ≤ 2147483647 |
dismissed_count | integer | Required | Stopped without finishing. ≥ -2147483648; ≤ 2147483647 |
in_progress_count | integer | Required | Started, but neither completed nor dismissed. ≥ -2147483648; ≤ 2147483647 |
TourSummary
| Field | Type | Required | Description |
|---|
audience | TourAudience or null | Required | Who sees the tour; null without View Tour Audience. |
created_at | string (date-time) or null | Required | |
created_by | UserRef or null | Required | |
description | string or null | Required | |
frequency | string or null | Required | When the player offers the tour again: until_completed, once_per_session, first_login_only or always; null when none was set. |
modified_at | string (date-time) or null | Required | |
modified_by | UserRef or null | Required | |
name | string | Required | |
progress_summary | TourProgressSummary or null | Required | How far the audience has got; null without View Other Users Tour Progress. |
start_url | string or null | Required | The shell-relative address the tour starts on, such as /?app=search. |
tour_id | string | Required | |
tour_type | integer or null | Required | The Tour Builder's type code (0 for a guided tour); null when none was set. |
UserRef
| Field | Type | Required | Description |
|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required | |