List and retrieve diffs with detailed revision information

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

{
    "id": 1108254,
    "revision": {
        "id": 515635,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1eb95caca71d91fab853631a3eb1cec2c1abdca",
        "head_changeset": "e714bf59e2e7f4daeabc09f6a5c96e5afdc77786",
        "phabricator_id": 261653,
        "phabricator_phid": "PHID-DREV-jcuz5o2oruzsv375xeru",
        "title": "WIP: Bug 1884458: Adjust test cases to expect the default binaryType to be arraybuffer.",
        "bugzilla_id": 1884458,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515635/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515635/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261653"
    },
    "phid": "PHID-DIFF-anc357btzqqvudi7w3ja",
    "review_task_id": "W5eK9dBpRMGxDV_GwSnbHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e714bf59e2e7f4daeabc09f6a5c96e5afdc77786",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108254/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T22:57:24.753873Z"
}