List and retrieve diffs with detailed revision information

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

{
    "id": 1076403,
    "revision": {
        "id": 489240,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bc9fee10b433cabefec0f8b2085fb597335af2fe",
        "head_changeset": "35fe27e4dac358a356fa5d3773de4716680073a8",
        "phabricator_id": 255732,
        "phabricator_phid": "PHID-DREV-hjkwcmen22424p3k4pwh",
        "title": "Bug 1975110 - DeCOMtaminate MailNotificationManager and NewMailNotificationService. r=#thunderbird-reviewers",
        "bugzilla_id": 1975110,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489240/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489240/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255732"
    },
    "phid": "PHID-DIFF-nchmem5sueyw4aee4v7r",
    "review_task_id": "S1kchS_DSJOcMqnoKP7j5g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "35fe27e4dac358a356fa5d3773de4716680073a8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076403/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T02:57:19.383627Z"
}