List and retrieve diffs with detailed revision information

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

{
    "id": 1101591,
    "revision": {
        "id": 502114,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "011dbee650b21133d8bf4fc7a7b13586ec5e0308",
        "head_changeset": "c0edbca252ad8a21fff02d299add11b5544339f3",
        "phabricator_id": 258822,
        "phabricator_phid": "PHID-DREV-lb4lxkbeekwzon7qseu2",
        "title": "WIP: Bug 1979555 - Mark ReadOnlyPage as mutable on OpenBSD",
        "bugzilla_id": 1979555,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/502114/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/502114/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258822"
    },
    "phid": "PHID-DIFF-jl7x72ectsso24ak3a44",
    "review_task_id": "ZMRG3d8IRhuXrfvLALiVuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0566f655b069e117d24cb82ad951ef1c0cb62ac8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101591/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T08:16:36.188375Z"
}