List and retrieve diffs with detailed revision information

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

{
    "id": 1108871,
    "revision": {
        "id": 516342,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6f3d45ed82e52fcac314a1b8e43960a7dfa9e5ae",
        "head_changeset": "b56a50687d416428a69fa46f45ae6608e4df6107",
        "phabricator_id": 261794,
        "phabricator_phid": "PHID-DREV-cltiwernif2ytwwavwb4",
        "title": "Bug 1983596 - Add safe interfaces for nsIMsgDBHdr and IEwsMessageSyncListener. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1983596,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516342/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516342/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261794"
    },
    "phid": "PHID-DIFF-7xxcr254bpihbwaadyqc",
    "review_task_id": "FPf3WmuHQ6-4aZwNssMDjA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b56a50687d416428a69fa46f45ae6608e4df6107",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108871/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T18:08:28.548177Z"
}