List and retrieve diffs with detailed revision information

GET /v1/diff/1056382/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1056382,
    "revision": {
        "id": 478079,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ebd8c421108cdbec416cc0059ac5b959636650b4",
        "head_changeset": "9cec90293bf34c1fcd50b919115407ff67b51b82",
        "phabricator_id": 253272,
        "phabricator_phid": "PHID-DREV-ta7syghls6apciijrvmh",
        "title": "Bug 1969995 - Remove Pocket Webpack and Node configs",
        "bugzilla_id": 1969995,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478079/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478079/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253272"
    },
    "phid": "PHID-DIFF-3fkteznxsuxdh4e5huh7",
    "review_task_id": "EXyPlU51QXG1M16PW-fNnA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9cec90293bf34c1fcd50b919115407ff67b51b82",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056382/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:10:37.096959Z"
}