Mark a notice read.
PATCH/api/v1/me/notices/{notice_id}account:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Needs Mark System Notices Read; the notice is shown with View System Notices, otherwise the answer is the write receipt. is_read: true records that you read it, now; already read is answered unchanged. A notice cannot be marked unread (422).
| スコープ | account:write |
| 非同期 | いいえ |
| MCP ツール | update_my_notice |
| Portal の権限 | mark_system_notices_read |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
notice_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | NoticePatchInput |
application/merge-patch+json | NoticePatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json Notice または 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 のコードです。各コードからそのページに移動できます。
スキーマ
Notice
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
body_markdown | string | 必須 | |
created_at | string (date-time) | 必須 | |
is_read | boolean | 必須 | Whether the caller has read it. |
notice_id | string | 必須 | |
read_at | string (date-time) または null | 必須 | When the caller read it; null while unread. |
title | string | 必須 |
NoticePatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
body_markdown | string または null | 任意 | |
created_at | string (date-time) または null | 任意 | |
is_read | boolean または null | 任意 | true marks the notice read. A notice cannot be marked unread. |
notice_id | string または null | 任意 | |
read_at | string (date-time) または null | 任意 | |
title | string または null | 任意 |