List and retrieve diffs with detailed revision information

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

{
    "id": 1101554,
    "revision": {
        "id": 505988,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d04027ca04f674fde39b8ead1fb3b5c482d18ee3",
        "head_changeset": "33e9ce0076769b5b34d68535a9d121343e593405",
        "phabricator_id": 259761,
        "phabricator_phid": "PHID-DREV-4xqcd6vwiztfbasdxz5p",
        "title": "WIP: Bug 1979332 - part 4: Make `EventStateManager::PreHandleEvent` notify `PointerEventHandler` of `eMouseExitFromWidget` if it sets the message to `eVoidEvent` r=edgar!,#dom-core",
        "bugzilla_id": 1979332,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505988/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505988/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259761"
    },
    "phid": "PHID-DIFF-7xddt4yivdaf4ilnmdxv",
    "review_task_id": "KArmH6FdRfi8Dmuk4J1ttA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "292108b71f5e18a73de88daa89b961caff15b4c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101554/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T04:36:14.236647Z"
}