List and retrieve diffs with detailed revision information

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

{
    "id": 1107766,
    "revision": {
        "id": 513800,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a678ec376450cf56285b4baa38afa6cdf31a847a",
        "head_changeset": "44fcbd09888910c1cf949f81dcd1404bb95db236",
        "phabricator_id": 261257,
        "phabricator_phid": "PHID-DREV-ajlefxrsv7m3mzslol5t",
        "title": "WIP: Bug 1971847: Add tab group type information to add_tab event",
        "bugzilla_id": 1971847,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513800/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513800/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261257"
    },
    "phid": "PHID-DIFF-d7xxvwaipchnipi2gzr3",
    "review_task_id": "IouHdLP1Tc-wGrBx6VboPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d7225719df131c0a56bf9368eba4aa584c794fb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107766/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T13:36:47.398820Z"
}