List and retrieve diffs with detailed revision information

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

{
    "id": 1086302,
    "revision": {
        "id": 495638,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9cc45cb545d5f8145f733f568ab4c235e661ddcc",
        "head_changeset": "4c8834ca72f545669b0e4d75aaa55a0bea7b2152",
        "phabricator_id": 257259,
        "phabricator_phid": "PHID-DREV-xxlpwftcv2ylsbg2r2q5",
        "title": "Bug 1964660 - Update selection when selection is changed by web content even if text isn't changed. r=#geckoview-reviewers",
        "bugzilla_id": 1964660,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495638/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495638/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257259"
    },
    "phid": "PHID-DIFF-a3oo3pp3tquout6h7ue2",
    "review_task_id": "O_Cralj2SSGTwi2M-fItxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c8834ca72f545669b0e4d75aaa55a0bea7b2152",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086302/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T13:22:22.314215Z"
}