List and retrieve diffs with detailed revision information

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

{
    "id": 1086745,
    "revision": {
        "id": 496006,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "68d4f898e8a65299d7a038b426f1d7883f12c0e4",
        "head_changeset": "65586029445ee8c90497b152b0c4a09838f43607",
        "phabricator_id": 257397,
        "phabricator_phid": "PHID-DREV-jvpyjbs65v2tnjrsqrh3",
        "title": "WIP: Bug 1971384 - improve l10n and a11y for collapsed tab groups. r?sthompson,jswinarton",
        "bugzilla_id": 1971384,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496006/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496006/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257397"
    },
    "phid": "PHID-DIFF-4kq662lwtovo6dhbx2ka",
    "review_task_id": "INCj36aZQxCmI2KW0MKE8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "65586029445ee8c90497b152b0c4a09838f43607",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086745/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T22:14:44.959121Z"
}