List and retrieve diffs with detailed revision information

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

{
    "id": 1049698,
    "revision": {
        "id": 476494,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b72610598081438063ec58a79c3e12b2fedc7dc9",
        "head_changeset": "18cafa41671c3722cd36cc819f17cd9c33e672fd",
        "phabricator_id": 251437,
        "phabricator_phid": "PHID-DREV-xsm3ilrxxdria4zrbzh5",
        "title": "Bug 1968837 - Explicitely set layout.scroll.disable-pixel-alignment to test_wheel_default_action.html. r?dlrobertson",
        "bugzilla_id": 1968837,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476494/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476494/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251437"
    },
    "phid": "PHID-DIFF-3quqqx44owg6c3tbgtam",
    "review_task_id": "eiEmiroVQ_qglRMIRGT_bw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3c7e629a5b364030e9f2a715431ed015d4794c4f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049698/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T05:21:34.151396Z"
}