Action.
One action of a move, run only through the permission check, with its inverse captured first
Figure 1Actionspecified
- kind
- work
- scope
- strategy
- key
- the move and its step
- store
- postgres
- family
- strategy
Fields#
| field | type | required | note |
|---|---|---|---|
move | id | yes | |
step | count | yes | |
kind | KindOfAction | yes | |
what | text | yes | |
reach | text | yes | |
arguments | ActionArgument | yes | each with where its value came from |
identity | id | yes | |
inverse | text | yes | |
cost | Cost | yes | |
allowed_by | PermissionAnswer | no | |
ran_at | time | no | |
undone_by | id | no |
Routes that use it#
/v1/act/run_actionreturns it