List and retrieve diffs with detailed revision information

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

{
    "id": 1059369,
    "revision": {
        "id": 478141,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "debb393c3b61742314032c6f2672d2e8ef8cbaa3",
        "head_changeset": "70fb4e3676cf891a239a8a70f1cbc4babf0e1d4b",
        "phabricator_id": 253342,
        "phabricator_phid": "PHID-DREV-6uq732nlk5xlmcnx54da",
        "title": "WIP: Bug 1971540 - Part 1: Remove nsIMsgMailSession's and nsIMsgUserFeedbackListener's dependency on nsIMsgMailNewsUrl. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1971540,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478141/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478141/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253342"
    },
    "phid": "PHID-DIFF-ws7t6ftjqvyz444ng5xp",
    "review_task_id": "PAh2EM6hSN-M6MCSrWMxaw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "baefd242388665eba19fcc8f5864d7fed4e49b8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:08:07.034965Z"
}