List and retrieve diffs with detailed revision information

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

{
    "id": 1050206,
    "revision": {
        "id": 476942,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2e2399f4064e58d33664d664310d8c12b7d10a2",
        "head_changeset": "31e51ce565a1b01034581cfef9d2a96caba4ff06",
        "phabricator_id": 251952,
        "phabricator_phid": "PHID-DREV-cgzw6x3mvvloaykur5ke",
        "title": "WIP: Bug 1855690 - Refactor invalidation_map for SelectorDependencyCollector. r=dshin",
        "bugzilla_id": 1855690,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476942/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476942/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251952"
    },
    "phid": "PHID-DIFF-tujtrzfmpfzmcwizm7n5",
    "review_task_id": "OtMlYeq8RMepygJa4XzI3w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "31e51ce565a1b01034581cfef9d2a96caba4ff06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050206/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T20:49:36.994819Z"
}