List and retrieve diffs with detailed revision information

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

{
    "id": 1107997,
    "revision": {
        "id": 515435,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "876ee68e20be4c473c2eb68957ea9444fe1fe96b",
        "head_changeset": "aba1d9b97b2ed553cc4cd02d446d273e8518a43f",
        "phabricator_id": 261581,
        "phabricator_phid": "PHID-DREV-xbn6vvbywg2izkur4pke",
        "title": "Bug 1983603: Update Servo damage computation + introduce compute_layout_damage method (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515435/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515435/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261581"
    },
    "phid": "PHID-DIFF-qk4ksyu777rwafnwl7jp",
    "review_task_id": "In2z8Z85Q-ekQBNbJhpCPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4b7ab20bd45339b2e67b2a753d1cee8c2d8e0c4c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107997/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:25:45.333920Z"
}