List and retrieve diffs with detailed revision information

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

{
    "id": 1080385,
    "revision": {
        "id": 492854,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191b3c14d0ae380494ccff3303c3b37c787022ec",
        "head_changeset": "b3ee15477aa13f6244e6f08ed0aeb3ad75ffd2e3",
        "phabricator_id": 256665,
        "phabricator_phid": "PHID-DREV-246fmyiwxbkkgtsxgr4o",
        "title": "Bug 1971540 - Part 3: Don't attempt to re-authenticate during a connectivity check on an EWS server. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1971540,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492854/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492854/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256665"
    },
    "phid": "PHID-DIFF-vj7cfsoduhztczyl7mjf",
    "review_task_id": "ISWNOHs8TdywMr8Hre_g8g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "8263d75cf19cfc80c78846fe2ce38ccc928c7c77",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080385/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T18:40:41.797687Z"
}