List and retrieve diffs with detailed revision information

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

{
    "id": 1050228,
    "revision": {
        "id": 475603,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d683a9c9f5a53832b3d97ace606aa8586f45961a",
        "head_changeset": "1ae1cb249bde4947b754a837b74c462ee9a0edd0",
        "phabricator_id": 250069,
        "phabricator_phid": "PHID-DREV-m3b5wy5rtjzxmxywsztk",
        "title": "WIP: Bug 1954155 - Add resize and overflow functionality to tools area of the sidebar",
        "bugzilla_id": 1954155,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475603/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475603/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250069"
    },
    "phid": "PHID-DIFF-4tvradw76yen24osljya",
    "review_task_id": "Ruc1pauXQDWv3uMg0k3EtQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "782869df81a589b10e23a3c02ce1655ea75b5bed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050228/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T21:23:36.502090Z"
}