List and retrieve diffs with detailed revision information

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

{
    "id": 1116133,
    "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-bc3m3nuvkpcfvbv7yj5m",
    "review_task_id": "diKlV8HhRgKRC0GYSCMhNA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a477252c5b04ec2c29662ca605331135a9ea8f25",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1116133/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-03T14:56:33.597455Z"
}