List and retrieve diffs with detailed revision information

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

{
    "id": 1105218,
    "revision": {
        "id": 512022,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669ee6060f3cff758fee1dbf4d125ccefb5b2d45",
        "head_changeset": "ae0e4df23ce136a7a1a807e1e3be9a73f21c0931",
        "phabricator_id": 260948,
        "phabricator_phid": "PHID-DREV-225k4dajeb7rolpe4uy2",
        "title": "Bug 1982772 - Remove Pocket sponsored collections r=#home-newtab-reviewers",
        "bugzilla_id": 1982772,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512022/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512022/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260948"
    },
    "phid": "PHID-DIFF-ppvyx5ppxrssl22pmbrn",
    "review_task_id": "O34d7rDaTB-5UdsilTboyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ae0e4df23ce136a7a1a807e1e3be9a73f21c0931",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105218/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T08:19:57.959085Z"
}