List and retrieve diffs with detailed revision information

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

{
    "id": 1111426,
    "revision": {
        "id": 520199,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "2b560b1318a345a6a3f2486891d76200ddba8f0e",
        "phabricator_id": 262420,
        "phabricator_phid": "PHID-DREV-obnvu2waxbwllpobuo6l",
        "title": "Bug 1985074 - Update logic to show widget toggle button in Customize panel when enrolled via Experimenter r?#home-newtab-reviewers",
        "bugzilla_id": 1985074,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520199/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520199/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262420"
    },
    "phid": "PHID-DIFF-nz5453dl6vyvsimoxrny",
    "review_task_id": "ZjvZOAZxQ4iOB6seM_8w0Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff5ee2f58d2e071e7b16156764e688f8f1c7f69d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111426/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T21:51:09.618213Z"
}