List and retrieve diffs with detailed revision information

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

{
    "id": 1108074,
    "revision": {
        "id": 515537,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "4cc878d18ab21e39b37362ce7f591ade6c2ffea8",
        "phabricator_id": 261620,
        "phabricator_phid": "PHID-DREV-e7l6o45mp3mh5pecudao",
        "title": "Bug 1983902 - Show the disabled state on moz-toggle when using disabled property r?#recomp-reviewers",
        "bugzilla_id": 1983902,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515537/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515537/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261620"
    },
    "phid": "PHID-DIFF-t2s32t4z5bqtney4ct6z",
    "review_task_id": "NB2pK9eDRzOZBNOaxTO1CQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4cc878d18ab21e39b37362ce7f591ade6c2ffea8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108074/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T18:49:41.286383Z"
}