List and retrieve diffs with detailed revision information

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

{
    "id": 1079864,
    "revision": {
        "id": 492553,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "7a0edb1235a2d59d4979ca35215fe9226195549b",
        "head_changeset": "35bab329839e82c6954f3778b5da0806ec08eaf2",
        "phabricator_id": 256544,
        "phabricator_phid": "PHID-DREV-k5gzcnn7dcch4nnbwhmj",
        "title": "Bug 1976378 - Stop using nsIMsgMailNewsUrl in message header view. r=#thunderbird-reviewers",
        "bugzilla_id": 1976378,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492553/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492553/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256544"
    },
    "phid": "PHID-DIFF-ghnhbwclsqx47zqiopho",
    "review_task_id": "XisbdMkFTo6crVepgGAwSA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "35bab329839e82c6954f3778b5da0806ec08eaf2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T01:14:24.721196Z"
}