List and retrieve diffs with detailed revision information

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

{
    "id": 1107570,
    "revision": {
        "id": 515026,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d3f53501ead2087b7e57dd30d5e156a1d45cf623",
        "head_changeset": "91b7c100a6137e16b3eeae44640632b01d72cb73",
        "phabricator_id": 261516,
        "phabricator_phid": "PHID-DREV-psz2wmfdfzdzzuqmbf77",
        "title": "Bug 1983358 - Update IPProtectionPanel to keep track of windows it added custom elements in. r=#ip-protection-reviewers",
        "bugzilla_id": 1983358,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515026/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515026/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261516"
    },
    "phid": "PHID-DIFF-2jxthiqcagithh6dfjhe",
    "review_task_id": "BocGS_gsQ4K-JP6vR5dXbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91b7c100a6137e16b3eeae44640632b01d72cb73",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107570/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T06:00:12.145597Z"
}