List and retrieve diffs with detailed revision information

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

{
    "id": 1078290,
    "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-bqf5onrhf4su5hhagtvi",
    "review_task_id": "fT2OZNlRQVCHzZX0TmH72A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "251f4ba56c1419eaa757728a3244cd5797c8839c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078290/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T20:29:11.976810Z"
}