List and retrieve diffs with detailed revision information

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

{
    "id": 1078899,
    "revision": {
        "id": 491579,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bd8ca0126343709c85df640ef31b3ed11d4e075d",
        "head_changeset": "dc22f69a321bb9b1dce8b9820b8d070607cc2c5e",
        "phabricator_id": 256319,
        "phabricator_phid": "PHID-DREV-mi2esbrshzw3m3zureuc",
        "title": "Bug 1976047 - Fix filelink account icons. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1976047,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491579/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491579/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256319"
    },
    "phid": "PHID-DIFF-zm726kzzgixht5os7q6v",
    "review_task_id": "Hy9fXLzGTDWXQh5L3nNrlQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dc22f69a321bb9b1dce8b9820b8d070607cc2c5e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078899/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T17:22:41.610235Z"
}