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

Record my progress through a product tour.

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

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

Creates or updates the caller's progress, as the tour player does when a step is reached, the tour is finished or it is dismissed: a flag that is not sent keeps its value, a completed tour is also started and not dismissed, a dismissed one is started once a step was reached, and a neutral step update marks the tour started. Written by the Portal's own function, last writer wins. Needs Edit Own Tour Progress.

スコープaccount:write
非同期いいえ
MCP ツールupdate_my_tour_progress
Portal の権限edit_own_tour_progress

パラメーター​

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

リクエスト本文​

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

応答​

ステータス説明本文
200Success.application/json TourProgress または 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 のコードです。各コードからそのページに移動できます。

スキーマ​

TourProgress​

フィールド型必須説明
current_stepinteger または null必須The step the person is on, as the player numbers them (from 1); null before any step.
is_completedboolean必須True only when the person finished the tour.
is_dismissedboolean必須True when the person stopped the tour without finishing it.
is_startedboolean必須True after the first step, and when the tour is completed.
tour_idstring必須
updated_atstring (date-time) または null必須

TourProgressPatchInput​

フィールド型必須説明
current_stepinteger または null任意The step the person is on, from 1.
is_completedboolean または null任意
is_dismissedboolean または null任意
is_startedboolean または null任意
tour_idstring または null任意
updated_atstring (date-time) または null任意