List and retrieve diffs with detailed revision information

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

{
    "id": 1056396,
    "revision": {
        "id": 477205,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4c9f6f0ebc07b599a96a031c32139681e7c9390e",
        "head_changeset": "4b1ae1a9b07a44c94ba9a6bc41cec70b2d0a452d",
        "phabricator_id": 252288,
        "phabricator_phid": "PHID-DREV-7unf2hhirnp7agtlccwi",
        "title": "WIP: Bug 1970018 - Implement PerFolderDatabase message delete functions.",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477205/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477205/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252288"
    },
    "phid": "PHID-DIFF-k3dp75hmugr2wltr3vbw",
    "review_task_id": "ZKh93TGvSUSE2arbxcxOBw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fe0c01f16e465be390c03987dba6ae6ba11d84f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056396/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:56:03.974460Z"
}