List and retrieve diffs with detailed revision information

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

{
    "id": 1100642,
    "revision": {
        "id": 506236,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "565d0976338ae3aacddf5694af026bf22e81f153",
        "head_changeset": "6043152a048bfc494bd3ba8a5666e9bbcd459c36",
        "phabricator_id": 259876,
        "phabricator_phid": "PHID-DREV-vgudnk7lt7dudjoeipnz",
        "title": "Bug 1979913 - Add text-decoration-trim to the style system.",
        "bugzilla_id": 1979913,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506236/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506236/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259876"
    },
    "phid": "PHID-DIFF-wub3uthxwibqgkj57zey",
    "review_task_id": "Hiao2UQsTtiAG5Yxhs8_GQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b48b1a7530915492233332075b74d4d8401d9b11",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1100642/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-04T23:07:59.221110Z"
}