List and retrieve diffs with detailed revision information

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

{
    "id": 1053114,
    "revision": {
        "id": 477498,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "15752dd313eac5661af1fdf9816dde01cb50528c",
        "head_changeset": "87773fa1d9ece1a91236953a1a937bbbbbae1b2f",
        "phabricator_id": 252594,
        "phabricator_phid": "PHID-DREV-a6bwmtvlegd4z5hiwtqs",
        "title": "Bug 1970491 - Update codename badge in aboutDialog for ESR 140 'Eclipse'. r=#thunderbird-reviewers",
        "bugzilla_id": 1970491,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477498/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477498/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252594"
    },
    "phid": "PHID-DIFF-sn2bnfxl2yrh2s7w2bz5",
    "review_task_id": "eAq7sNtNTVyvi0-MJXWuPQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "87773fa1d9ece1a91236953a1a937bbbbbae1b2f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053114/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T21:00:47.300740Z"
}