List and retrieve diffs with detailed revision information

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

{
    "id": 1112194,
    "revision": {
        "id": 512656,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "05df93439bb324b3daa58365a057a3fc7b9ce683",
        "head_changeset": "19dc25f6773c1ef9e88a20c1b9510b4b8b288c0c",
        "phabricator_id": 237151,
        "phabricator_phid": "PHID-DREV-mgys54djahqusfsumjp5",
        "title": "Bug 1823084 - Update strings from Junk to Spam. r=#thunderbird-reviewers",
        "bugzilla_id": 1823084,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512656/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512656/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D237151"
    },
    "phid": "PHID-DIFF-eojfu5j6wzpsziqjweoi",
    "review_task_id": "BV6SBqxJT4Gol3-4gh9UAw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e1cf9011d9c5bdadba3a763bce04d394a0dca230",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112194/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:29:26.808497Z"
}