Diff two versions

Deprecated
View as Markdown
**Deprecated.** Kept working during the v1 coexistence window (~1 month). Migrate to `GET /agent/{id}/diff?a=<revisionId>&b=<revisionId>`. Will be removed at the sunset date. Compare two version or draft revision records side-by-side by their IDs. The implementation tries published versions first and can fall back to the latest draft revision.

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.

Query parameters

versionAstringRequiredformat: "^[a-f\d]{24}$"
ID of the first version
versionBstringRequiredformat: "^[a-f\d]{24}$"
ID of the second version

Response

Diff returned successfully
statusboolean
dataobject

Section-by-section diff between two version or draft revision records.

Errors

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