List and retrieve diffs with detailed revision information

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

{
    "id": 1108196,
    "revision": {
        "id": 512717,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "507b9d6bb01619c22c9324e29d9904c195b4cfe6",
        "head_changeset": "21c67154d1ea71d3d43a923bdd01defe23118c55",
        "phabricator_id": 261061,
        "phabricator_phid": "PHID-DREV-4bp3adjlpux7vsualp2d",
        "title": "WIP: Bug 1982483: Add OneDrive folders to DirectoryService r=xpcom-reviewers!,#win-reviewers!",
        "bugzilla_id": 1982483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512717/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512717/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261061"
    },
    "phid": "PHID-DIFF-63vk67f2uggyfvl2cqvx",
    "review_task_id": "N4_zJf1TSFaj8Aqp_GBP-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "192b78796d5b35cd1ecb3475be10284d48364998",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108196/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T21:24:26.075159Z"
}