List and retrieve diffs with detailed revision information

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

{
    "id": 1077395,
    "revision": {
        "id": 484962,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8934448a21ca9a774ccfb9cfc51303bda7e1577a",
        "head_changeset": "0015693f642263ac0b649cbce72c10f2e7051ab6",
        "phabricator_id": 252218,
        "phabricator_phid": "PHID-DREV-ro7cibadvgag5prdlbek",
        "title": "Bug 1969966 - Add navigation to addressbook to account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1969966,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484962/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484962/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252218"
    },
    "phid": "PHID-DIFF-434upvrecjvbugrwwih4",
    "review_task_id": "eWOdJhWtSKSjoKy9ABZGsQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7c9123b4501167de06d2d1f71cb5f0497f187baf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077395/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:39:55.478975Z"
}