List and retrieve diffs with detailed revision information

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

{
    "id": 1052775,
    "revision": {
        "id": 477435,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7b68133ea0323f1c7914eb3054cff6784f922951",
        "head_changeset": "fbd237b5db072b20967ebac87bc045fc6cecc052",
        "phabricator_id": 252524,
        "phabricator_phid": "PHID-DREV-c6jrkohhin3fgmxjiu7i",
        "title": "Bug 1970262 - set the test.wait300msAfterTabSwitch pref in browser_audioTabIcon.js that fails almost permanently on test-macosx1500-aarch64-shippable, r=jmaher.",
        "bugzilla_id": 1970262,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477435/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477435/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252524"
    },
    "phid": "PHID-DIFF-66ntsbo2acqd76y447o3",
    "review_task_id": "R6E7blSMT1Ss__WyLNvijw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fbd237b5db072b20967ebac87bc045fc6cecc052",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052775/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:09:24.451305Z"
}