List and retrieve diffs with detailed revision information

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

{
    "id": 1057800,
    "revision": {
        "id": 475596,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "28ac2b5b931a0376eab29f61d1b6c7d043f9d4b4",
        "head_changeset": "228e420d103585b80999a05fb5756e7444b5b161",
        "phabricator_id": 250060,
        "phabricator_phid": "PHID-DREV-kzfkongu652oy4mmwghl",
        "title": "WIP: Bug 1847096 - Part 4: Split handleNotification from nsDefaultCommandLineHandler.handle r=gijs",
        "bugzilla_id": 1847096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475596/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475596/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250060"
    },
    "phid": "PHID-DIFF-mfwa6johdsqwrrl7n542",
    "review_task_id": "SDPpRQJRTueKadJmMze_EQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bfeba39e142ca4b35683ffbb1bfde27f932c29d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057800/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T16:26:21.282601Z"
}