List and retrieve diffs with detailed revision information

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

{
    "id": 1049923,
    "revision": {
        "id": 476634,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "61954872dac42ed6c9ffede53c872f4a29f10ce2",
        "head_changeset": "618a0c6e4735ef331abc0fed0f1e8c794524cf9f",
        "phabricator_id": 251585,
        "phabricator_phid": "PHID-DREV-y74x7zuam6rz43hu3lnq",
        "title": "Bug 1968935 - Port bug 1968916 - Remove xul:search-textbox. r=#thunderbird-reviewers",
        "bugzilla_id": 1968935,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476634/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476634/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251585"
    },
    "phid": "PHID-DIFF-tditb5uqyslz52vgr2b4",
    "review_task_id": "MCcWOA30SH2DNtMuwvLeeQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b4303b55c8cef6d3d90c3742aad036e8155acf64",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049923/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T12:35:09.030001Z"
}