List and retrieve diffs with detailed revision information

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

{
    "id": 1041476,
    "revision": {
        "id": 475768,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "79ca45b5d15e6cfd04b558f2eac57832108ac291",
        "head_changeset": "52759d22e60ffc63a3b538e02637d0ad341b80b8",
        "phabricator_id": 250338,
        "phabricator_phid": "PHID-DREV-smv7ikx46j6kqnwgs623",
        "title": "Bug 1965905 - Remove `vendor_requirements.txt/in` as they are no longer necessary with `uv` python vendoring r?#build",
        "bugzilla_id": 1965905,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475768/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475768/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250338"
    },
    "phid": "PHID-DIFF-vsx54jr5udq67tvdy2f2",
    "review_task_id": "Mj0N7ZUyQ56eJAbHr7NXMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0fe184cc5f357ccf39fb003b22503be0925595a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041476/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T19:24:55.917206Z"
}