List and retrieve diffs with detailed revision information

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

{
    "id": 1048960,
    "revision": {
        "id": 463951,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4371465982dfa17147909c585a516b7389e0751",
        "head_changeset": "2f51441c714c4d93cbc9dd5a29b67edfc6e1ee15",
        "phabricator_id": 240286,
        "phabricator_phid": "PHID-DREV-bslp55crjndprtiv2yhb",
        "title": "WIP: Bug 1944507 - pt 10. Move the base allocator implementation to basealloc.cpp",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/463951/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/463951/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240286"
    },
    "phid": "PHID-DIFF-b5y6suwmi2xvmw4q5ivh",
    "review_task_id": "TbwQ_fAoTgakQIUgQBP9kg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c75c279a3dce47d85dfa33a5cbb844c2cf2aff7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048960/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T05:34:01.413669Z"
}