List and retrieve diffs with detailed revision information

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

{
    "id": 1111677,
    "revision": {
        "id": 518109,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "66cbe671ee001c7fc6d36dcd3917a4a2a36766d5",
        "phabricator_id": 261784,
        "phabricator_phid": "PHID-DREV-hjyhzyoktbr23raznbg2",
        "title": "Bug 1984141 - Only visit toolkit/library/gtest under --enable-tests r=ahochheiden!",
        "bugzilla_id": 1984141,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518109/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518109/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261784"
    },
    "phid": "PHID-DIFF-ovglvafxxbjerpfirie7",
    "review_task_id": "fQtEa2WTRMST9uJXYzuLMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb8bdb19c46bf80235e3fa9e390469baab5b9f12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111677/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T06:45:08.745820Z"
}