List and retrieve diffs with detailed revision information

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

{
    "id": 1110187,
    "revision": {
        "id": 509711,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f4d3d1b63c2ccf3bbcb5bf30792a9781b8f98a09",
        "head_changeset": "e63704408ed2455ced467ca4a73944fce8aadc69",
        "phabricator_id": 260551,
        "phabricator_phid": "PHID-DREV-fbv5n35pdp7jlsjyph7g",
        "title": "Bug 1980995 - Rename SelfHostedSharedEntry r=bthrall",
        "bugzilla_id": 1980995,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/509711/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/509711/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260551"
    },
    "phid": "PHID-DIFF-lzesnjhs6ghv43nyekgt",
    "review_task_id": "a6zENPtvSaSfJ1X-LwMgDQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3cb155a4092bde8a51788f09d8605a49f780e126",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110187/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T13:45:05.907029Z"
}