List and retrieve diffs with detailed revision information

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

{
    "id": 1048673,
    "revision": {
        "id": 476689,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "192ae1b1c127409a2c092c659cef79a0ef6c7ba3",
        "head_changeset": "24a1560bc41c7c6e4d2d3d5e17ced6881575ba25",
        "phabricator_id": 251630,
        "phabricator_phid": "PHID-DREV-e55m6hb4qgzrxye5aqcg",
        "title": "Bug 1963053 Remove deprecated functions in 142 r=ohall",
        "bugzilla_id": 1963053,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476689/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476689/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251630"
    },
    "phid": "PHID-DIFF-agtns2rhc6ty4eajlbvg",
    "review_task_id": "V-OxKgQ0TRq-IgA_khCEIA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "24a1560bc41c7c6e4d2d3d5e17ced6881575ba25",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048673/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T20:24:26.917310Z"
}