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_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | TourProgressPatchInput |
application/merge-patch+json | TourProgressPatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json TourProgress または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
TourProgress
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
current_step | integer または null | 必須 | The step the person is on, as the player numbers them (from 1); null before any step. |
is_completed | boolean | 必須 | True only when the person finished the tour. |
is_dismissed | boolean | 必須 | True when the person stopped the tour without finishing it. |
is_started | boolean | 必須 | True after the first step, and when the tour is completed. |
tour_id | string | 必須 | |
updated_at | string (date-time) または null | 必須 |
TourProgressPatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
current_step | integer または null | 任意 | The step the person is on, from 1. |
is_completed | boolean または null | 任意 | |
is_dismissed | boolean または null | 任意 | |
is_started | boolean または null | 任意 | |
tour_id | string または null | 任意 | |
updated_at | string (date-time) または null | 任意 |