List and retrieve diffs with detailed revision information

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

{
    "id": 1051111,
    "revision": {
        "id": 476846,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9edd67e54ffb953f00c097ab71fdab82499042f9",
        "head_changeset": "2b09403c1080278e1702b9759974b046ed49c92f",
        "phabricator_id": 251791,
        "phabricator_phid": "PHID-DREV-krdx4uw3sw6up7uxrq6e",
        "title": "WIP: Bug 1969255 - Part 3. Distingush between Windows 10 and 11 in blocklist rules.",
        "bugzilla_id": 1969255,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476846/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476846/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251791"
    },
    "phid": "PHID-DIFF-vgsocyoltvtrhpjewv6i",
    "review_task_id": "DdQOYuwSTJqRn3TrcyvD4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0a8cb3ab8d4d6ca74af4ebc0f73e10c0e8f6237f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051111/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T15:31:16.252306Z"
}