List and retrieve diffs with detailed revision information

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

{
    "id": 1078264,
    "revision": {
        "id": 490530,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "33047ee34c367e7eadc42e822016901b405da326",
        "head_changeset": "091737281665dd4286f7c63c6aaada2b045d606c",
        "phabricator_id": 256077,
        "phabricator_phid": "PHID-DREV-ofggroppuyj5sqdken5b",
        "title": "WIP: Bug 1962931 - Move focus back to message pane and restore scroll position after light/dark toggle",
        "bugzilla_id": 1962931,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490530/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490530/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256077"
    },
    "phid": "PHID-DIFF-dcua62tm6sopeh4plmih",
    "review_task_id": "fj7OMNARStqJCsgvdrUqCw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6b685508efadf4a17245d208e3a31098f6804139",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078264/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T19:48:31.309287Z"
}