List and retrieve diffs with detailed revision information

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

{
    "id": 1031065,
    "revision": {
        "id": 473845,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b0ed789c871bc86c02fbc22b769a81d6497297de",
        "head_changeset": "96b240a0ea7dc2a5b59c291e6f72037d1bd8522f",
        "phabricator_id": 218275,
        "phabricator_phid": "PHID-DREV-u7jv3msmf7wtbw23bvpj",
        "title": "Bug 1885232 - part 1: Make `PresShell::GetOverrideClickTarget` and `EventStateManager::SetClickCount` honor pointer capturing element at poitnerup if there is r=smaug!,#dom-core",
        "bugzilla_id": 1885232,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473845/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473845/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D218275"
    },
    "phid": "PHID-DIFF-wdsjfjl65xtzswmvmkq3",
    "review_task_id": "Zi6JPfhvTv-CsWr2ef96cQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ca0e4e541e7cf3d2b3538bbc7125b64f038d08e0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1031065/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-10T06:43:36.641056Z"
}