メインコンテンツまでスキップ

Change a product tour (JSON Merge Patch).

PATCH/api/v1/tours/{tour_id}settings:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Changes what is sent. audience.user_ids and audience.group_ids, when sent, replace that kind of member; the tour must still have an audience afterwards (422). The change is stamped with the caller and the time. If-Match is honoured. Needs Edit Tours, and Manage Tour Audience when the audience changes.

スコープsettings:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_tour
Portal の権限edit_tours

パラメーター​

名前場所型必須説明
tour_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonTourPatchInput
application/merge-patch+jsonTourPatchInput

応答​

ステータス説明本文
200Success.application/json Tour または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

Tour​

フィールド型必須説明
audienceTourAudience または null必須Who sees the tour; null without View Tour Audience.
created_atstring (date-time) または null必須
created_byUserRef または null必須
descriptionstring または null必須
frequencystring または null必須When the player offers the tour again: until_completed, once_per_session, first_login_only or always; null when none was set.
modified_atstring (date-time) または null必須
modified_byUserRef または null必須
namestring必須
progress_summaryTourProgressSummary または null必須How far the audience has got; null without View Other Users Tour Progress.
start_urlstring または null必須The shell-relative address the tour starts on, such as /?app=search.
stepsobject または null必須The step tree the Tour Builder saves, a tour_steps document (format_version 1) whose body is the list of steps with their sub-steps; null when the tour has none.
tour_idstring必須
tour_typeinteger または null必須The Tour Builder's type code (0 for a guided tour); null when none was set.
trigger_rulesstring または null必須The text of the tour's trigger rules; null when none.

TourAudience​

フィールド型必須説明
group_idsstring の配列必須The groups the tour is shown to (everyone in them).
user_idsstring の配列必須The people the tour is shown to.

TourAudiencePatchInput​

フィールド型必須説明
group_idsstring の配列 または null任意Replaces the groups the tour is shown to.
user_idsstring の配列 または null任意Replaces the people the tour is shown to.

TourPatchInput​

フィールド型必須説明
audienceTourAudiencePatchInput または null任意
created_atstring (date-time) または null任意
created_byUserRefInput または null任意
descriptionstring または null任意
frequencystring または null任意
modified_atstring (date-time) または null任意
modified_byUserRefInput または null任意
namestring または null任意
progress_summaryTourProgressSummaryPatchInput または null任意
start_urlstring または null任意
stepsobject または null任意
tour_idstring または null任意
tour_typeinteger または null任意
trigger_rulesstring または null任意

TourProgressSummary​

フィールド型必須説明
completed_countinteger必須≥ -2147483648; ≤ 2147483647
dismissed_countinteger必須Stopped without finishing. ≥ -2147483648; ≤ 2147483647
in_progress_countinteger必須Started, but neither completed nor dismissed. ≥ -2147483648; ≤ 2147483647

TourProgressSummaryPatchInput​

フィールド型必須説明
completed_countinteger または null任意
dismissed_countinteger または null任意
in_progress_countinteger または null任意

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意