List and retrieve diffs with detailed revision information

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

{
    "id": 1048358,
    "revision": {
        "id": 475975,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7abdc2401a37f776c6181d81b5556920ebeeb967",
        "head_changeset": "4e7c1a227a2d3dd94b0aad7947302c294c201e34",
        "phabricator_id": 250582,
        "phabricator_phid": "PHID-DREV-h32jvtuanzouzcmm6aoq",
        "title": "Bug 1966389 - add a CSS webcompat intervention for boots.com to make appointment form elements the same width; r?denschub",
        "bugzilla_id": 1966389,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475975/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475975/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250582"
    },
    "phid": "PHID-DIFF-m6hcqjso377yxguczriw",
    "review_task_id": "DvQs88S_SqyqxadJbaDGEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "80cb783357b6aa1a7f67a9c39bdca7ed028db3b3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048358/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T15:45:04.067806Z"
}