List and retrieve diffs with detailed revision information

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

{
    "id": 1079340,
    "revision": {
        "id": 492014,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "3da04b6d98b85898ad55c0956de6f0bd97abea36",
        "phabricator_id": 256411,
        "phabricator_phid": "PHID-DREV-pkw55rjzxis4xep5zmdr",
        "title": "Bug 1972263 - Try to fix intermittent comm/mail/components/accountcreation/test/browser/browser_accountHubAddressBookSync.js | Test timed out. r=#thunderbird-reviewers",
        "bugzilla_id": 1972263,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492014/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492014/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256411"
    },
    "phid": "PHID-DIFF-idni7b477rkkzatxlwgm",
    "review_task_id": "PnsXBgfqQYCfqNQsg-pUAA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "19bb75b187abb9e88fb627d365a9973b5f81fa32",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079340/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T10:58:04.481738Z"
}