List and retrieve diffs with detailed revision information

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

{
    "id": 1105223,
    "revision": {
        "id": 512026,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669ee6060f3cff758fee1dbf4d125ccefb5b2d45",
        "head_changeset": "649ee4f6525396aa3794fc29dffce91a1ee2b35d",
        "phabricator_id": 260950,
        "phabricator_phid": "PHID-DREV-sy3bddgvv4fne6yxsmjn",
        "title": "Bug 1974780 - Remove unused CSS from DiscoveryStreamAdmin component r=#home-newtab-reviewers",
        "bugzilla_id": 1974780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512026/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512026/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260950"
    },
    "phid": "PHID-DIFF-hkxua5wfl3iymkdewn7e",
    "review_task_id": "Dz9WjrpFRA2MNY7jIZyADQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "022be91cb93748d3f10938b1b476ba05357a039b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105223/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T08:58:57.924113Z"
}