List and retrieve diffs with detailed revision information

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

{
    "id": 1056380,
    "revision": {
        "id": 478078,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ebd8c421108cdbec416cc0059ac5b959636650b4",
        "head_changeset": "e9649ecbd00a8dcae6569132679d679efa5a925f",
        "phabricator_id": 253270,
        "phabricator_phid": "PHID-DREV-iwj5wf5xgeeraiqrre3z",
        "title": "Bug 1967594 - remove pocket.svg",
        "bugzilla_id": 1967594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478078/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478078/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253270"
    },
    "phid": "PHID-DIFF-puj6oo2cslgf7tv6w3ro",
    "review_task_id": "Cl-wDeHKT82aNQqbyfzcuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9649ecbd00a8dcae6569132679d679efa5a925f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056380/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:04:58.217448Z"
}