List and retrieve diffs with detailed revision information

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

{
    "id": 1108703,
    "revision": {
        "id": 515620,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1eb95caca71d91fab853631a3eb1cec2c1abdca",
        "head_changeset": "e956967b8d9847a64e6d387e3a1154b1e4700b4c",
        "phabricator_id": 261654,
        "phabricator_phid": "PHID-DREV-5uib7ahy65dsvl4nm3oq",
        "title": "WIP: Bug 1884458: Fix default binaryType, and associated cleanup.",
        "bugzilla_id": 1884458,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515620/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515620/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261654"
    },
    "phid": "PHID-DIFF-zphawa2fkc5hjsouprhm",
    "review_task_id": "JmJMyShjRQOsyr6nPrRM5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e79454131ff50f22d56fc8541f7f977e0e70c463",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108703/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T14:30:44.360751Z"
}