List and retrieve diffs with detailed revision information

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

{
    "id": 1079865,
    "revision": {
        "id": 492012,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "174db83d2fdfea08ce2d4a8f081025e0dc8ff9d7",
        "phabricator_id": 256410,
        "phabricator_phid": "PHID-DREV-u4y4ycmuwln4ni2toj7k",
        "title": "WIP: Bug 1975706 - Extend browser_getMessages.js test to support EWS. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1975706,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492012/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492012/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256410"
    },
    "phid": "PHID-DIFF-zbhxhj2ag5soc6f3gdl4",
    "review_task_id": "QVAMv6wMSNS9WqR4jqs4XA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "c8a140b53c3a724506ea0cc665587a78530e79be",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079865/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T01:14:35.767581Z"
}