Skip to main content

Actions

The axag-action-type attribute classifies the nature of an operation.

Action Types​

TypeSemanticSide EffectsIdempotent by Default
readRetrieves data without modificationNoneYes
writeCreates or modifies an entityEntity creation or state changeDepends — declare axag-idempotent
deleteRemoves an entityEntity removalDepends
navigateChanges view context without data mutationNoneYes

Rules​

  • read and navigate actions SHOULD have axag-risk-level="none" unless special circumstances apply
  • write and delete actions MUST declare axag-risk-level
  • delete actions SHOULD have axag-confirmation-required="true" unless the deletion is trivially reversible
  • write actions that produce financial impact SHOULD be classified as high or critical risk