Skip to content
Proud to collaborate with Microsoft for Startups

data.aria.diff-revisions ​

Compare two revisions of a hosted service and say whether the change is breaking.

What changed between two revisions of one service.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-aria
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
slugstringYes——
from_revisionintegerYes——
to_revisionintegerYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
diffjsonNo——
breakingbooleanNo——
failure_reasonstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
comparedSUCCESSWhat changed between two revisionsdiff, breaking
failedFAILUREThe action was refused or failedfailure_reason

Business Errors ​

CodeMessage Template
ARIA_SERVICE_NOT_FOUNDNo such service in this organization
ARIA_REFUSEDThe action was refused

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.aria.diff-revisions",
  "initial_data": {
    "slug": "value",
    "from_revision": 123,
    "to_revision": 123
  }
}