List and retrieve diffs with detailed revision information

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

{
    "id": 1114322,
    "revision": {
        "id": 521291,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9b067fe215333e63bf256e45bcb3b517fa85ac46",
        "head_changeset": "86019736767c623e98b9045046fee50ee09ca360",
        "phabricator_id": 262620,
        "phabricator_phid": "PHID-DREV-b5gu2fkgvwgtruhzfwyo",
        "title": "Bug 1983054: Tab group hover preview moves correctly in the presence of multiple adjacent tab groups r?dwalker,sthompson",
        "bugzilla_id": 1983054,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521291/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521291/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262620"
    },
    "phid": "PHID-DIFF-vo6m5zug7eucxtxirvg2",
    "review_task_id": "JR2ABesGSg-BqbQbH1izCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c365e634bff3d1c68c888d92c36e8914485bc940",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114322/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T14:22:59.688934Z"
}