List and retrieve diffs with detailed revision information

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

{
    "id": 1077865,
    "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-4quyh2ar76w2auq7smq5",
    "review_task_id": "KTwf3NzLRFmNoQC36yVfGw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "1cf8979cad2f11dd4fb3ba4e742c2ba2d784324b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077865/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T04:36:48.044779Z"
}