Get draft diff

Deprecated
View as Markdown

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.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequiredformat: "^[a-f\d]{24}$"
The agent ID.
draftIdstringRequired
The draft ID

Query parameters

compareTostringOptionalformat: "^[a-f\d]{24}$"
Version ID to compare against. If omitted, compares against the source version.

Response

Diff returned successfully
statusboolean
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error