List and retrieve diffs with detailed revision information

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

{
    "id": 1077652,
    "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-uo3pibmjo3rmttbvdfkp",
    "review_task_id": "TW6i9htgR2ing7gEtQ62yw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff7b4a780c5c30c8f5c948d9ab5b1d42428ee6b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077652/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T19:01:25.600796Z"
}