List and retrieve diffs with detailed revision information

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

{
    "id": 1104651,
    "revision": {
        "id": 511228,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ff1df5a50a6cd4e1acc619ccbbc12773330987ca",
        "head_changeset": "04e14abbb58d51cd30e4c3d3f46c99780b5a3428",
        "phabricator_id": 260802,
        "phabricator_phid": "PHID-DREV-blwlqxzdp5vawqfokxvk",
        "title": "Bug 1982560 - Allow users choose the extended toolbar layout if toolbar redesign is enabled on Nightly r=#android-reviewers",
        "bugzilla_id": 1982560,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511228/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511228/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260802"
    },
    "phid": "PHID-DIFF-bpdazxyuvxt4remdy37x",
    "review_task_id": "bkGinLq2TNq3xiz9UXBw4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c50228e43c8f2da1ce5bf8f727ac3b8c291db8f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104651/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T11:02:01.415708Z"
}