List and retrieve diffs with detailed revision information

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

{
    "id": 1077283,
    "revision": {
        "id": 489966,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "66af8a0e03afc1f7464fa071b74dc0a5cb5e6ff2",
        "head_changeset": "c0b0e18b15e080b743f50d93785e0c8773da2734",
        "phabricator_id": 255931,
        "phabricator_phid": "PHID-DREV-bl5fuo2hjir2qdki46wk",
        "title": "Bug 1970022 - Remove some unused code in message views. r=#thunderbird-reviewers",
        "bugzilla_id": 1970022,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489966/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489966/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255931"
    },
    "phid": "PHID-DIFF-23pnyewjk3bkejjp4sxl",
    "review_task_id": "NDATwUO6Rc2e8bGKuVp5hA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c0b0e18b15e080b743f50d93785e0c8773da2734",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077283/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T09:52:24.214053Z"
}