List and retrieve diffs with detailed revision information

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

{
    "id": 1066966,
    "revision": {
        "id": 483598,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "85518b3d7c4b5187ea8df4de58762845b651e9e5",
        "head_changeset": "7a58c09c7efa47ba26ff134830447ead221264c4",
        "phabricator_id": 254603,
        "phabricator_phid": "PHID-DREV-fygkx2wzyvxhj5hxdgan",
        "title": "Bug 1973294 - Ensure header view delete button removes message, not attachment. r=#thunderbird-reviewers",
        "bugzilla_id": 1973294,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483598/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483598/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254603"
    },
    "phid": "PHID-DIFF-5pbulduiwgt26lyzzoiw",
    "review_task_id": "bDTmyD6TQ-a9tugLpBm8aw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "77d27c3705d9ca3c5d9814b12a5a232a17abb8e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066966/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-21T11:21:48.248323Z"
}