List and retrieve diffs with detailed revision information

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

{
    "id": 1093412,
    "revision": {
        "id": 497333,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cb3c5d7cae1db23d40b01e7d85173df2a4c2f16d",
        "head_changeset": "5d314f7217ff0a9913aa4aa7873c12ddee6c12d4",
        "phabricator_id": 257762,
        "phabricator_phid": "PHID-DREV-gauo2ecdbxvjyogzoag3",
        "title": "Bug 1977912 - Part 2: Update KDocs in DownloadState and DownloadUIAction",
        "bugzilla_id": 1977912,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497333/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497333/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257762"
    },
    "phid": "PHID-DIFF-45k6cpgm5sbaendenw47",
    "review_task_id": "WSTU-aN_S8Gp6NyaehRcag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8fca5fd0ef797175cc2dcfb5ed1ab433e269803b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093412/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T15:27:59.080182Z"
}