List and retrieve diffs with detailed revision information

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

{
    "id": 1081521,
    "revision": {
        "id": 494023,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83027a3af402dc048b85867c7ba6a41a941cd582",
        "head_changeset": "56b41dab30fa5e41904f9f67232fdc9d2a7431fd",
        "phabricator_id": 256998,
        "phabricator_phid": "PHID-DREV-enk5625gvfeaukxx3itr",
        "title": "Bug 1976859 - Disable test_printpreview_bug482976.xhtml for a few days until we can fix an issue with windows update. r=aryx,jmaher",
        "bugzilla_id": 1976859,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494023/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494023/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256998"
    },
    "phid": "PHID-DIFF-m2vtgtwxi6hyivdqf4cw",
    "review_task_id": "WSCgsmVgSZGKSYUGcCYtBw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "56b41dab30fa5e41904f9f67232fdc9d2a7431fd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081521/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T13:32:27.284756Z"
}