List and retrieve diffs with detailed revision information

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

{
    "id": 1040181,
    "revision": {
        "id": 475825,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "c1a6785d73dec3aff901de91e5d0b6a8a3778acd",
        "phabricator_id": 250394,
        "phabricator_phid": "PHID-DREV-l5u5ljmm7duq4qfjc6pw",
        "title": "Bug 1961165 - Adjust some nsIMsgDBView getters not to throw on no selection. r=edicharry",
        "bugzilla_id": 1961165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475825/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475825/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250394"
    },
    "phid": "PHID-DIFF-fp2uchmzobtcb76ee36g",
    "review_task_id": "Sep8UXA9SY-X8k2nYrrGgA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7c83ae16de0b5506c4dd7c23406fe656eb77c3e7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040181/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T19:35:20.179609Z"
}