List and retrieve diffs with detailed revision information

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

{
    "id": 1106147,
    "revision": {
        "id": 481953,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a0fdf753fd6369dbc7c72b7d34b2a94b5438acd",
        "head_changeset": "d2c4293a78e5cecb407d5c3c453f5d5243868f5e",
        "phabricator_id": 254312,
        "phabricator_phid": "PHID-DREV-h55u4txrpymsy363dux5",
        "title": "Bug 1972841 - Calculate theme when uploading custom wallpaper r=#home-newtab-reviewers",
        "bugzilla_id": 1972841,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481953/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481953/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254312"
    },
    "phid": "PHID-DIFF-lueb3frhbaspajewrr6f",
    "review_task_id": "V922f37sSluYKCtLBNMrPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "08d58ffb1076a525bc9bd935544295a326ba5b17",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T18:33:15.417435Z"
}