List and retrieve diffs with detailed revision information

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

{
    "id": 1106822,
    "revision": {
        "id": 508015,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b80c72c75695388a9aa68cf8c9f04067f7f845e",
        "head_changeset": "7e1541b5935b109af068563401ab0bcc6d8ede47",
        "phabricator_id": 260229,
        "phabricator_phid": "PHID-DREV-stwrjue7djiat2eayws2",
        "title": "[WIP] Bug 1492056 - add flex and grid rule editor popup. r=nchevobbe",
        "bugzilla_id": 1492056,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508015/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508015/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260229"
    },
    "phid": "PHID-DIFF-yppgyodvffqzf6yurcna",
    "review_task_id": "ceu6G-xWS42UlNcE6bS3mQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "728326a4be94a95b2241d42ba4b084e1b850e741",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106822/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-16T11:21:53.542814Z"
}