Skip to main content

Describe the actions open to graph nodes.

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

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.

Scopegraph:read
AsynchronousNo
MCP tooldescribe_graph_item_actions
Portal permissionsexecute_graph_actions

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonGraphItemActionsDescribeInput

Responses​

StatusDescriptionBody
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

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GraphItemAction​

FieldTypeRequiredDescription
action_requestGraphItemActionRequestActionRequired
document_idstring or nullRequiredThe node's document: the document itself, or a register row's owning document when readable; null when it has none.
nodeGraphNodeRefRequired
ownerGraphItemOwnerActionRequired
titlestring or nullRequired
workflowGraphItemWorkflowActionRequired

GraphItemActionRequestAction​

FieldTypeRequiredDescription
availablebooleanRequired
on_open_itemGraphItemActionStateRequiredWhether one more request can go on an open workflow item (needs Create Adhoc Action Requests).
reasonstring or nullRequiredWhy it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable.

GraphItemActionState​

FieldTypeRequiredDescription
availablebooleanRequired
reasonstring or nullRequiredWhy it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable.

GraphItemActions​

FieldTypeRequiredDescription
itemsarray of GraphItemActionRequiredOne per readable node, in the order asked.
unreadable_countintegerRequiredThe nodes the caller cannot read: counted, not named. ≥ -2147483648; ≤ 2147483647

GraphItemActionsDescribeInput​

FieldTypeRequiredDescription
nodesarray of GraphNodeRefInputRequiredThe documents and register rows to describe.

GraphItemOwnerAction​

FieldTypeRequiredDescription
availablebooleanRequired
display_typestring or nullRequired
fieldstring or nullRequiredThe register's declared owner field.
field_labelstring or nullRequired
reasonstring or nullRequiredWhy it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable.

GraphItemWorkflowAction​

FieldTypeRequiredDescription
availablebooleanRequired
open_itemsarray of GraphOpenWorkflowItemRequiredThe caller's open, inbox-visible workflow items that hold the document.
reasonstring or nullRequiredWhy it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable.

GraphNodeRef​

FieldTypeRequiredDescription
custom_field_template_idstring or nullRequiredThe register, for a register row.
document_idstring or nullRequiredThe document, for a document.
kindstringRequireddocument or register_row.
row_idstring or nullRequiredThe row, for a register row.

GraphNodeRefInput​

FieldTypeRequiredDescription
custom_field_template_idstring or nullOptionalThe register, for a register row.
document_idstring or nullOptionalThe document, for a document.
kindstringRequireddocument or register_row.
row_idstring or nullOptionalThe row, for a register row.

GraphOpenWorkflowItem​

FieldTypeRequiredDescription
action_requests_for_meintegerRequiredLive action requests on the item addressed to the caller or their groups. ≥ -2147483648; ≤ 2147483647
subjectstring or nullRequired
workflow_idstringRequired
workflow_item_idstringRequired
workflow_template_idstring or nullRequired