List and retrieve diffs with detailed revision information

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

{
    "id": 1108002,
    "revision": {
        "id": 515439,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "e49bd6a0dbcab3a847e67b0590d3cbb76f03d5c4",
        "phabricator_id": 261586,
        "phabricator_phid": "PHID-DREV-xairqrb6qbe7hsj2u25i",
        "title": "Bug 1983603: Make AnchorResolutionResult Gecko-only (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515439/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515439/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261586"
    },
    "phid": "PHID-DIFF-6t7ecypx7tayb7xck4wi",
    "review_task_id": "GxiOwPq-SfyjMaeWERrCZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61500fbaa027d45a7ef6b4b174af95d06c68c6e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108002/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:23:43.451237Z"
}