List and retrieve diffs with detailed revision information

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

{
    "id": 1052001,
    "revision": {
        "id": 477256,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "964b74547e49f173c01dd9b770c0acdc5bb2cc3d",
        "head_changeset": "368b64db8106e69aa1cbf26d3f4b2eea11e221d5",
        "phabricator_id": 252348,
        "phabricator_phid": "PHID-DREV-hhxjyi6lrgcxoambfobx",
        "title": "Bug 1966681 - Format aboutwelcome and asrouter SCSS files with Prettier r=#omc-reviewers",
        "bugzilla_id": 1966681,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477256/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477256/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252348"
    },
    "phid": "PHID-DIFF-uyshsgrj37ltlwbw3a4q",
    "review_task_id": "NTX09CYZSa-JIxNGSY2zeg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "368b64db8106e69aa1cbf26d3f4b2eea11e221d5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052001/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T16:32:33.152654Z"
}