List and retrieve diffs with detailed revision information

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

{
    "id": 1088090,
    "revision": {
        "id": 497106,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c532163bc3da0e38ceb6074587335c4b91f7077b",
        "head_changeset": "a490438e8c0facc52f21de7d9c0533e238615833",
        "phabricator_id": 257703,
        "phabricator_phid": "PHID-DREV-74ybtejd4gr3yalnq7pl",
        "title": "Bug 1975531: Change behaviour of parent selector in @scope to be :where(:scope). r=#style",
        "bugzilla_id": 1975531,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497106/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497106/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257703"
    },
    "phid": "PHID-DIFF-5aikpglqt7cy5vu3asbv",
    "review_task_id": "eRhxVR7aSdGbQqlcOeaYlQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a490438e8c0facc52f21de7d9c0533e238615833",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088090/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T14:19:32.085637Z"
}