List and retrieve diffs with detailed revision information

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

{
    "id": 1051488,
    "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-va3el24e3ujzh7r2ndvo",
    "review_task_id": "QgsheVt5QVq-00fB8qppHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff4574dd2b36262561ef7639ea9590fc9cd38fdb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051488/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T22:47:58.422349Z"
}