List and retrieve diffs with detailed revision information

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

{
    "id": 1055743,
    "revision": {
        "id": 477204,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4c9f6f0ebc07b599a96a031c32139681e7c9390e",
        "head_changeset": "575a2e21243fc69872a6c904b13e0bb73b432f65",
        "phabricator_id": 252286,
        "phabricator_phid": "PHID-DREV-ra5u3bfpifhp25hs4zhg",
        "title": "WIP: Bug 1970018 - StoreIndexer update.",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477204/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477204/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252286"
    },
    "phid": "PHID-DIFF-x3vljs5w67ot72afodes",
    "review_task_id": "XDERZAaPTL6zw90yox4vXQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c445656656cd2a05ecf57bbf504469bb98114b32",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055743/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T10:45:40.918057Z"
}