List and retrieve diffs with detailed revision information

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

{
    "id": 1112350,
    "revision": {
        "id": 521429,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "edcc62f09d347bd7e8f9d322780f46b28f5d4a01",
        "head_changeset": "b03570dc58753192ff026b8a836f45501e761f2e",
        "phabricator_id": 262692,
        "phabricator_phid": "PHID-DREV-ylhizbyizccand4ksg74",
        "title": "Bug 1980274 - Part 2: Add a button to mute audio when a Taskbar Tab starts playback. r=nrishel!,sclements,Jamie",
        "bugzilla_id": 1980274,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521429/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521429/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262692"
    },
    "phid": "PHID-DIFF-ecd3cwzsb6o4d5pm6hd5",
    "review_task_id": "TYIEbPFQQAChT5SpiGKUrQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b03570dc58753192ff026b8a836f45501e761f2e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112350/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:07:54.860496Z"
}