List and retrieve diffs with detailed revision information

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

{
    "id": 1112280,
    "revision": {
        "id": 521364,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "10e39f36744c0a32df28d75a282ee8ed51953be9",
        "head_changeset": "3ddb693b7188ee0e6a7eb03c1edc69c896e9f09b",
        "phabricator_id": 262653,
        "phabricator_phid": "PHID-DREV-63hs4yollwdbgy63zdap",
        "title": "Bug 1985354 - add docs describing how `mach try` pushes to Lando r?sylvestre",
        "bugzilla_id": 1985354,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521364/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521364/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262653"
    },
    "phid": "PHID-DIFF-pfrccar4tvln4wxwzc33",
    "review_task_id": "eg_AGmjCRuCXacdaBeqNYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "94a2cc8796ec8756811ac4685a8f049448cd59a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112280/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T20:46:12.312477Z"
}