List and retrieve diffs with detailed revision information

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

{
    "id": 1105327,
    "revision": {
        "id": 511302,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cca3e1c9a2e76284c7f74b7e26a937c147ed3c3d",
        "head_changeset": "60632a2187cf0abbf10d08a9218e38a1b1d467c7",
        "phabricator_id": 260822,
        "phabricator_phid": "PHID-DREV-5ipq5g5mkm3eos7bhfod",
        "title": "WIP: Bug 1981877 - Add pref to enable Nimbus targeting support for users who have clicked on either ToU, PN, or \"Learn more\" links or the \"Remind me later\" button on teh Terms of Use prompt.",
        "bugzilla_id": 1981877,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511302/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511302/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260822"
    },
    "phid": "PHID-DIFF-viofp6bb2fye3uopgrwn",
    "review_task_id": "DokuN3N1RmWfPOX390TmXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ab219d52ddd4d11858ee3471b9dd3e6685f07b32",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105327/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:00:09.028162Z"
}