Describe the actions open to graph nodes.
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The Atlas's action loop for documents and register rows: per readable node, whether the caller can act on it and why not. workflow: the caller's open workflow items on the node's document (workflow_id, workflow_item_id) and whether a workflow can be started on it; action_request: whether a new ad hoc workflow with an action request can be raised, and whether one more request can go on an open workflow item (needs Create Adhoc Action Requests); owner: whether the register's declared owner field can be assigned (the row must be editable to the caller). A register row has no document, so workflow and action_request say no_document. This only reads: the actions are taken with create_workflow, create_workflow_item_action_request and the register row writes. A node the caller cannot read is only counted in unreadable_count. Needs Execute Graph Actions.
| スコープ | graph:read |
| 非同期 | いいえ |
| MCP ツール | describe_graph_item_actions |
| Portal の権限 | execute_graph_actions |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | GraphItemActionsDescribeInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json GraphItemActions |
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 |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | 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 のコードです。各コードからそのページに移動できます。
スキーマ
GraphItemAction
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
action_request | GraphItemActionRequestAction | 必須 | |
document_id | string または null | 必須 | The node's document: the document itself, or a register row's owning document when readable; null when it has none. |
node | GraphNodeRef | 必須 | |
owner | GraphItemOwnerAction | 必須 | |
title | string または null | 必須 | |
workflow | GraphItemWorkflowAction | 必須 |
GraphItemActionRequestAction
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
available | boolean | 必須 | |
on_open_item | GraphItemActionState | 必須 | Whether one more request can go on an open workflow item (needs Create Adhoc Action Requests). |
reason | string または null | 必須 | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemActionState
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
available | boolean | 必須 | |
reason | string または null | 必須 | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemActions
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | GraphItemAction の配列 | 必須 | One per readable node, in the order asked. |
unreadable_count | integer | 必須 | The nodes the caller cannot read: counted, not named. ≥ -2147483648; ≤ 2147483647 |
GraphItemActionsDescribeInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
nodes | GraphNodeRefInput の配列 | 必須 | The documents and register rows to describe. |
GraphItemOwnerAction
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
available | boolean | 必須 | |
display_type | string または null | 必須 | |
field | string または null | 必須 | The register's declared owner field. |
field_label | string または null | 必須 | |
reason | string または null | 必須 | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemWorkflowAction
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
available | boolean | 必須 | |
open_items | GraphOpenWorkflowItem の配列 | 必須 | The caller's open, inbox-visible workflow items that hold the document. |
reason | string または null | 必須 | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphNodeRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_template_id | string または null | 必須 | The register, for a register row. |
document_id | string または null | 必須 | The document, for a document. |
kind | string | 必須 | document or register_row. |
row_id | string または null | 必須 | The row, for a register row. |
GraphNodeRefInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_template_id | string または null | 任意 | The register, for a register row. |
document_id | string または null | 任意 | The document, for a document. |
kind | string | 必須 | document or register_row. |
row_id | string または null | 任意 | The row, for a register row. |
GraphOpenWorkflowItem
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
action_requests_for_me | integer | 必須 | Live action requests on the item addressed to the caller or their groups. ≥ -2147483648; ≤ 2147483647 |
subject | string または null | 必須 | |
workflow_id | string | 必須 | |
workflow_item_id | string | 必須 | |
workflow_template_id | string または null | 必須 |