List the review rounds of a document.
GET/api/v1/documents/{document_id}/review-roundsreviews:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Every round the document has had, newest first: the open one (is_open) and the closed ones, each with its participants, decisions, trigger, reason, quorum and the file version it pinned. is_open filters to the open round or to the closed ones. Needs read access to the document.
| スコープ | reviews:read |
| 非同期 | いいえ |
| MCP ツール | list_document_review_rounds |
| Portal の権限 | view_review_register |
| ページング | keyset |
| 既定の並び順 | -cycle_number, review_round_id |
| 並べ替えに使えるフィールド | review_round_id, cycle_number |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
document_id | path | string | 必須 | |
is_open | query | boolean または null | 任意 | true keeps the open round, false the closed ones. |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | 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 |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | ReviewRound の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
ReviewParticipant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
action_request_id | string または null | 必須 | |
decided_at | string または null | 必須 | |
decision | string または null | 必須 | Null until the person has decided. |
due_date | string または null | 必須 | The due date of the person's action request. |
is_required | boolean | 必須 | |
is_superseded | boolean | 必須 | True when another participant took this person's place (a delegation or escalation). |
reviewer | UserRef | 必須 | |
role | string | 必須 | reviewer, approver, consulted or informed. |
source | string | 必須 | How the person became a participant: distribution_group, direct, delegated, escalated or owner. |
ReviewPinnedVersion
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
file_hash | string または null | 必須 | |
revision_number | string または null | 必須 | |
version_id | string または null | 必須 | Null when the round pinned no file. |
ReviewRound
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
closed_at | string または null | 必須 | |
completion_workflow_id | string または null | 必須 | The workflow the round's closing started from the programme's completion template. |
cycle_number | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
document_id | string | 必須 | |
due_date | string または null | 必須 | |
has_version_changed | boolean | 必須 | True when the document's file no longer matches the pinned one. |
is_open | boolean | 必須 | |
opened_at | string または null | 必須 | |
opened_by | UserRef または null | 必須 | Null when the round opened without a user (a schedule). |
outcome | string または null | 必須 | approved, changes_requested, rejected, cancelled, … ; null while open. |
participants | ReviewParticipant の配列 | 必須 | Who was asked, in the order they were added, with their decision. |
pinned_version | ReviewPinnedVersion | 必須 | The file version the round was opened against: the evidence of what the reviewers saw. |
quorum_mode | string | 必須 | any, all_respond, all_agree or threshold. |
reason | string または null | 必須 | The wording shown to the reviewers. |
review_round_id | string | 必須 | |
review_schedule_id | string または null | 必須 | The schedule the round opened under; null for a round started outside one. |
risk_level | string または null | 必須 | |
source_date_anchor | string または null | 必須 | The date field value the round was scheduled from, copied when it opened. |
source_date_field | string または null | 必須 | |
source_date_rollforward_basis | string または null | 必須 | |
superseded_by_review_round_id | string または null | 必須 | |
trigger | string | 必須 | What opened the round: scheduled, manual, confirm, rereview or workflow. |
workflow_id | string または null | 必須 | The workflow the round runs in, when it has one. |
workflow_item_id | string または null | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |