Agent Versioning - Drafts
Get draft diff
Deprecated. Kept working during the v1 coexistence window (~1 month). Migrate to GET /agent/{id}/diff?a=<branchId>:draft&b=<revisionId>. Will be removed at the sunset date.
Compare a draft against its source version or another specified version.
get/agent/{id}/drafts/{draftId}/diff
Path parameters
idstring required
The agent ID.
draftIdstring required
The draft ID
Query parameters
compareTostring
Version ID to compare against. If omitted, compares against the source version.
Response
Diff returned successfully
Example response
{
"status": true
}