List and retrieve diffs with detailed revision information

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

{
    "id": 1049688,
    "revision": {
        "id": 476853,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "84469a64f88e8894ba7c44a79e312f70f184942e",
        "head_changeset": "58090bd3765258acdba48979bfeaeb2caf93f94d",
        "phabricator_id": 251796,
        "phabricator_phid": "PHID-DREV-z4z3j4yczvls54mzkbif",
        "title": "Bug 1969158 - part 2: Make `PresShell::EventHandler::MaybeSynthesizeCompatMouseEventsForTouchEnd()` set `pointerId` to the compatibility mouse events r=smaug!,#dom-core",
        "bugzilla_id": 1969158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476853/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476853/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251796"
    },
    "phid": "PHID-DIFF-6mgo6xw2d4timud4dnel",
    "review_task_id": "VpWDGhxzQ-GKCd-mG-NZ4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58090bd3765258acdba48979bfeaeb2caf93f94d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049688/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T04:45:26.758415Z"
}