List and retrieve diffs with detailed revision information

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

{
    "id": 1059074,
    "revision": {
        "id": 478252,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "31db80de10510883a3a36fca8fd13e5027902881",
        "head_changeset": "1cdd645261df5056c21edf847b922c5a6cab4fcd",
        "phabricator_id": 252799,
        "phabricator_phid": "PHID-DREV-rh7e2g4csgkz7og3jc3u",
        "title": "Bug 749553 - Make `PresShell::HandleEvent` store the last modifiers and use it when synthesizing `eMouseMove` or `ePointerMove` r=smaug!,stransky!,#mac-reviewers!",
        "bugzilla_id": 749553,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478252/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478252/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252799"
    },
    "phid": "PHID-DIFF-imksba4sb3y4xkrs6aoy",
    "review_task_id": "FjfPzREGTN68GlmeZp4aKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "edf6c3b7fdedb229c7cafa1be802596fa877fa76",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059074/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T07:57:23.486294Z"
}