List and retrieve diffs with detailed revision information

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

{
    "id": 1080361,
    "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-iescxhgujcpksgejvtyt",
    "review_task_id": "P_upxpzgTZeLOQG3t-_aug",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b3ee15477aa13f6244e6f08ed0aeb3ad75ffd2e3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080361/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T18:18:54.397414Z"
}