Compare Versions
GET/jobs/:id/versions/diff
Compares two historical versions of a job and returns a unified diff.
When to Use
- Review changes between any two versions before rollback
- Audit historical changes to a job specification
- Debug issues by comparing known-good version with problematic version
Examples
Compare version 1 to version 3:
GET /jobs/my-job/versions/diff?from=1&to=3
Compare version 1 to latest:
GET /jobs/my-job/versions/diff?from=1
Request
Responses
- 200
- 400
- 404
- 500
OK
Invalid parameters or versions are the same
Job or version not found
Internal Server Error