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

Describe the actions open to graph nodes.

POST/api/v1/graph/item-actions/describegraph:read
注記

このページの操作の説明は、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-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonGraphItemActionsDescribeInput

応答​

ステータス説明本文
200Success.application/json GraphItemActions
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

GraphItemAction​

フィールド型必須説明
action_requestGraphItemActionRequestAction必須
document_idstring または null必須The node's document: the document itself, or a register row's owning document when readable; null when it has none.
nodeGraphNodeRef必須
ownerGraphItemOwnerAction必須
titlestring または null必須
workflowGraphItemWorkflowAction必須

GraphItemActionRequestAction​

フィールド型必須説明
availableboolean必須
on_open_itemGraphItemActionState必須Whether one more request can go on an open workflow item (needs Create Adhoc Action Requests).
reasonstring または 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​

フィールド型必須説明
availableboolean必須
reasonstring または 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​

フィールド型必須説明
itemsGraphItemAction の配列必須One per readable node, in the order asked.
unreadable_countinteger必須The nodes the caller cannot read: counted, not named. ≥ -2147483648; ≤ 2147483647

GraphItemActionsDescribeInput​

フィールド型必須説明
nodesGraphNodeRefInput の配列必須The documents and register rows to describe.

GraphItemOwnerAction​

フィールド型必須説明
availableboolean必須
display_typestring または null必須
fieldstring または null必須The register's declared owner field.
field_labelstring または null必須
reasonstring または 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​

フィールド型必須説明
availableboolean必須
open_itemsGraphOpenWorkflowItem の配列必須The caller's open, inbox-visible workflow items that hold the document.
reasonstring または 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_idstring または null必須The register, for a register row.
document_idstring または null必須The document, for a document.
kindstring必須document or register_row.
row_idstring または null必須The row, for a register row.

GraphNodeRefInput​

フィールド型必須説明
custom_field_template_idstring または null任意The register, for a register row.
document_idstring または null任意The document, for a document.
kindstring必須document or register_row.
row_idstring または null任意The row, for a register row.

GraphOpenWorkflowItem​

フィールド型必須説明
action_requests_for_meinteger必須Live action requests on the item addressed to the caller or their groups. ≥ -2147483648; ≤ 2147483647
subjectstring または null必須
workflow_idstring必須
workflow_item_idstring必須
workflow_template_idstring または null必須