List and retrieve diffs with detailed revision information

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

{
    "id": 1048113,
    "revision": {
        "id": 476326,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3cdc12063b2179b2dc86d286c50aaed0eca47a70",
        "head_changeset": "bcf8349909f0e9928732585304ca9962c8c2dcd1",
        "phabricator_id": 251171,
        "phabricator_phid": "PHID-DREV-5o4zpwx3citsitxfovlx",
        "title": "Bug 1966384 - Convert unified search button to a type=menu toolbarbutton to open popup natively. r?daisuke",
        "bugzilla_id": 1966384,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476326/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476326/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251171"
    },
    "phid": "PHID-DIFF-nmxhvscospbkrq4ovztl",
    "review_task_id": "AcyBTmhfQ4y2RDjnwTQYdA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c11461c439d5aa4f95ce12f86fb9fa058c1e651d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048113/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T10:50:58.465039Z"
}