List and retrieve diffs with detailed revision information

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

{
    "id": 1109128,
    "revision": {
        "id": 516640,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "5878b8922b967b157ed6ae22439445dac29419fc",
        "phabricator_id": 261861,
        "phabricator_phid": "PHID-DREV-khtvr4pdeed3andvtrb7",
        "title": "WIP: Bug 1984229 - update src license for WebRTC mochitest helper scripts;r=dbaker",
        "bugzilla_id": 1984229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516640/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516640/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261861"
    },
    "phid": "PHID-DIFF-cai2pkbzm26fbyvykfvq",
    "review_task_id": "CVhEb9-bQgGlBrRv7YtAsw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5878b8922b967b157ed6ae22439445dac29419fc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T02:52:28.074689Z"
}