List and retrieve diffs with detailed revision information

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

{
    "id": 1113164,
    "revision": {
        "id": 521411,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "feaf061c462940e4722a3aad4ee8c9bfe36d20ab",
        "phabricator_id": 262685,
        "phabricator_phid": "PHID-DREV-ltoyd76opozlcrosut5b",
        "title": "Bug 1985321 - remove 0113.patch content and use libwebrtc_overrides. r?dbaker!",
        "bugzilla_id": 1985321,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521411/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521411/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262685"
    },
    "phid": "PHID-DIFF-mx6h22sgi6gsoikajlfn",
    "review_task_id": "PHBWtbWKTIOaWMyBlql7yQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "be8fbd26862bfe377710abb521438d359fd0a68b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113164/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T20:30:18.885594Z"
}