Agent Versioning - Revisions
Diff two revisions or drafts
Compare any two references on this agent and return per-section diffs. Each side (a and b) is either a revisionId or the string <branchId>:draft to reference the open draft on a branch. Sides may cross branches. Both references must resolve to configs on the same agent.
get/agent/{id}/diff
Path parameters
idstring required
The agent ID.
Query parameters
astring required
Left-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
bstring required
Right-hand side. Either a revisionId (24-hex ObjectId) or the token <branchId>:draft.
Response
Successful response.
Example response
{
"status": true
}