List and retrieve diffs with detailed revision information

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

{
    "id": 1087376,
    "revision": {
        "id": 490524,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "33047ee34c367e7eadc42e822016901b405da326",
        "head_changeset": "1cf8979cad2f11dd4fb3ba4e742c2ba2d784324b",
        "phabricator_id": 256073,
        "phabricator_phid": "PHID-DREV-lo2vl63rrupempdtujgt",
        "title": "Bug 1974424 - Port tests from old CardDAV setup to account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490524/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490524/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256073"
    },
    "phid": "PHID-DIFF-2imh6sf3wuh5qyrv6fz4",
    "review_task_id": "R0G_27vnTYW6B0zMNAAZ5w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f2550b30a415cb405aa0c7026f5355e700bb3d3f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:51.794793Z"
}