List and retrieve diffs with detailed revision information

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

{
    "id": 1110001,
    "revision": {
        "id": 517586,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "61bff3fd9283d97017f1bbc8e34b98c7e4c01767",
        "head_changeset": "67c9ec01484817e3b585c163184769fbc2a2a66a",
        "phabricator_id": 262040,
        "phabricator_phid": "PHID-DREV-ftcki54gvjezhfvpnm6w",
        "title": "Bug 1947762 - Use Margin to represent border widths in nsCSSRendering. r=#layout-reviewers,#gfx-reviewers",
        "bugzilla_id": 1947762,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517586/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517586/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262040"
    },
    "phid": "PHID-DIFF-s32iyrqgk4np2snq5coq",
    "review_task_id": "V0a2QvKhTgqobLvhqf_LjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c7ce9fd5f52797fb3cf715a324fa332c50f76d59",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110001/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T06:29:40.447997Z"
}