List and retrieve diffs with detailed revision information

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

{
    "id": 1111334,
    "revision": {
        "id": 520435,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c30cc496690e061a268782dc503614ed3cf3269d",
        "head_changeset": "ec520274d3f6a87c5e6c72dea8b7b196248304f0",
        "phabricator_id": 261032,
        "phabricator_phid": "PHID-DREV-m4k6rm62ps2e67nwvwpb",
        "title": "Bug 1979013 - Part 2: Require nsITimer API callers to provide a nsACString, r=#xpcom-reviewers!",
        "bugzilla_id": 1979013,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520435/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520435/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261032"
    },
    "phid": "PHID-DIFF-zj5byk6tg76mnobtyeyw",
    "review_task_id": "bnzcxAsiSPqFoGhhSFsUbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec520274d3f6a87c5e6c72dea8b7b196248304f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111334/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T20:13:52.159636Z"
}