List and retrieve diffs with detailed revision information

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

{
    "id": 1037688,
    "revision": {
        "id": 475257,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "674d600b690dc8dbbe7e0302b69df19ecdca1a1b",
        "head_changeset": "e4223c9a1f6298e231b1b54c6528fbd7101d7ebb",
        "phabricator_id": 249692,
        "phabricator_phid": "PHID-DREV-gh2pbjuwn63qic5r5ap6",
        "title": "Bug 1965942 - Remove topic labels from all cards r=#home-newtab-reviewers",
        "bugzilla_id": 1965942,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475257/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475257/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249692"
    },
    "phid": "PHID-DIFF-bjak26tmt73cept3k6hi",
    "review_task_id": "OVXuxQgzQ6ylw19dSC62MQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a46191a55078e2e64d75f921c72a3d770eac1d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037688/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T17:36:19.625446Z"
}