Moderation Transition List
moderation_transition_listList moderation transitions for a Drupal workflow, or all workflows if no workflow ID is given, to see available content state changes.
Instructions
List a workflow's moderation transitions.
Transitions are configuration inside the workflow entity, not
entities of their own, so there is no workflow_transition resource
for JSON:API to list. They are read from the workflow's workflow-type
plugin (WorkflowTypeInterface::getTransitions()), which is where
Drupal keeps them.
Every workflow is read when workflow_id is left out. Naming a
workflow that does not exist answers an error listing the ones this
site has, rather than an empty list that reads as "no transitions".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_limit | No | ||
| page_offset | No | ||
| workflow_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||