List and retrieve diffs with detailed revision information

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

{
    "id": 1109119,
    "revision": {
        "id": 516653,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "4fc760b9c9ba3a48b5b973f7148627d9431e4531",
        "phabricator_id": 261852,
        "phabricator_phid": "PHID-DREV-lcyv34kytbykpthan62h",
        "title": "WIP: Bug 1984229 - remove unused imports of parser_rtp.js in WebRTC mochitests;r?dbaker",
        "bugzilla_id": 1984229,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516653/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516653/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261852"
    },
    "phid": "PHID-DIFF-hkkpazyiryoppqc5kpgg",
    "review_task_id": "ZiX9udCDTs-rk4eEjhyNMA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4fc760b9c9ba3a48b5b973f7148627d9431e4531",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109119/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T02:57:58.745429Z"
}