Agent Versioning - Drafts

Get draft diff

Compare a draft against its source version or another specified version.

get/agent/{id}/drafts/{draftId}/diff

Path parameters

idstring required
Example:60d0fe4f5311236168a109ca

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

statusboolean
dataobject

Section-by-section diff between the draft and the comparison target

Example response

{
  "status": true
}

Changes