List and retrieve diffs with detailed revision information

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

{
    "id": 1066948,
    "revision": {
        "id": 480285,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "98a0bee2d1358ef4f2cf8ee4562858fbc8ac3e7d",
        "head_changeset": "2ed9fc6cfdf8d7f4fab07a1ea1c6d5f792220004",
        "phabricator_id": 253921,
        "phabricator_phid": "PHID-DREV-72omt6rj3fauiiba72jw",
        "title": "Bug 1965690 - Sometimes SMTP send fails due to socket state closed after delayed QUIT. r=mkmelin",
        "bugzilla_id": 1965690,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480285/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480285/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253921"
    },
    "phid": "PHID-DIFF-2lv6silbuoyhej3q64mk",
    "review_task_id": "VrdGoK1cQc6C1Zmp6qjKvQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "4ac497aed41a6aa8dbf88634b55e2561e6288db3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066948/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-21T05:10:54.674454Z"
}