Builds Diff

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Compare a build artifacts/dependencies/environment with an older build to see what has changed (new artifacts added, old dependencies deleted, etc).

Since: 2.6.6

Security: Requires a privileged user. From version 6.6, requires read permission for the build.

Usage: GET /api/build/{buildName}/{buildNumber}?diff={OlderbuildNumber}

Produces: application/json (application/vnd.org.jfrog.build.BuildsDiff+json)

Sample Output:

GET /api/build/my-build/51?diff=50
{
    "artifacts": {
        "updated": [],
        "unchanged": [],
        "removed": [],
        "new": []
    }, "dependencies": {
        "updated": [],
        "unchanged": [],
        "removed": [],
        "new": []
    }, "properties": {
        "updated": [],
        "unchanged": [],
        "removed": [],
        "new": []
    }
}