List and retrieve diffs with detailed revision information

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

{
    "id": 1051403,
    "revision": {
        "id": 476173,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f99f43c2fd606bfa2dba825377e3e424309e42e2",
        "head_changeset": "ea191c13855220ed65817ad8c92a0c7070d3b49c",
        "phabricator_id": 250905,
        "phabricator_phid": "PHID-DREV-3cq4jcavp4of2mi5ebd4",
        "title": "WIP: Bug 1963550 - Add callback to notify when synthesized wheel event dispatch is complete;",
        "bugzilla_id": 1963550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476173/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476173/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250905"
    },
    "phid": "PHID-DIFF-f2zoc3ssaaviv4xjmfzb",
    "review_task_id": "WoC3MwKYRG6sQBXQrbZGVA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "01266e4f257458c1727767c44af62b260efc510a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051403/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T21:39:48.384296Z"
}