List and retrieve diffs with detailed revision information

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

{
    "id": 1078124,
    "revision": {
        "id": 485379,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3e2d9b5cfd2831596705f2d83732a7e51ccc93e0",
        "head_changeset": "288183f0cf5e8ab66ff29a4093464ca354f6b471",
        "phabricator_id": 255001,
        "phabricator_phid": "PHID-DREV-olzgvkwsmq76cgrdmcf7",
        "title": "Bug 1855690 - Refactor SelectorDependencyCollector and InnerSelectorRelativeDependencyCollector in invalidation_map.rs. r=dshin",
        "bugzilla_id": 1855690,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485379/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485379/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255001"
    },
    "phid": "PHID-DIFF-ad4shjpi5wwkxoxfc4fa",
    "review_task_id": "PTWVSbtPT5mSX96OTAlsEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3d8374a920c54d84ac8fbbbaa1a705432eb3fc75",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078124/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T14:56:08.955568Z"
}