Diff Metronome versions
GET
/v1/metronomes/{metronomeId}/versions/{versionId}/diffCompare a workflow version against another saved version and return added, removed, and changed node and edge IDs.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| metronomeId | path | string | Yes | Metronome workflow ID |
| versionId | path | string | Yes | Metronome workflow version ID |
Query parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| againstVersionId | query | string | Yes | — |
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Metronome version diffapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| data | object | No | — |
| data.metronomeId | string | No | — |
| data.baseVersionId | string | No | — |
| data.baseVersionNumber | integer | No | — |
| data.targetVersionId | string | No | — |
| data.targetVersionNumber | integer | No | — |
| data.nodes | object | No | — |
| data.nodes.added | string[] | No | — |
| data.nodes.removed | string[] | No | — |
| data.nodes.changed | string[] | No | — |
| data.nodes.addedCount | integer | No | — |
| data.nodes.removedCount | integer | No | — |
| data.nodes.changedCount | integer | No | — |
| data.edges | object | No | — |
| data.edges.added | string[] | No | — |
| data.edges.removed | string[] | No | — |
| data.edges.changed | string[] | No | — |
| data.edges.addedCount | integer | No | — |
| data.edges.removedCount | integer | No | — |
| data.edges.changedCount | integer | No | — |
| data.summary | object | No | — |
| data.summary.added | integer | No | — |
| data.summary.removed | integer | No | — |
| data.summary.changed | integer | No | — |
| data.summary.unchanged | boolean | No | — |
404Metronome or version not found
None.