List and retrieve diffs with detailed revision information

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

{
    "id": 1053127,
    "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-eflpc6digwcnzl3da2rp",
    "review_task_id": "OT9QWdLJTj64EL5-FtXEtA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "79f37eccd46dfe8d174665d70e7af19940e78774",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053127/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T21:20:20.132723Z"
}