List and retrieve diffs with detailed revision information

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

{
    "id": 1053557,
    "revision": {
        "id": 476823,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e21865e430b479c2d10fd4813cb934aee0f99037",
        "head_changeset": "e40c93db45e0d9b59308edc9a896deb9531953a9",
        "phabricator_id": 251771,
        "phabricator_phid": "PHID-DREV-zsogeyo5ifepzoqa24ot",
        "title": "WIP: Bug 1966400 - Add getter for browserId in UrlClassifierBlockedChannel r?#anti-tracking!",
        "bugzilla_id": 1966400,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476823/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476823/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251771"
    },
    "phid": "PHID-DIFF-4ehbwpo6cwf45wc5ctbr",
    "review_task_id": "Bx0TETEMR-mow7E97EKXwg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "954f8093a054059274ba2b3ea7413d2f0090900a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053557/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T15:01:08.637341Z"
}