List and retrieve diffs with detailed revision information

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

{
    "id": 1064843,
    "revision": {
        "id": 477344,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "866172149464aa5de9550afa6b6fc5fa73823533",
        "head_changeset": "485fdce65a125fd01cacaebb8c6d85e287ebe9fe",
        "phabricator_id": 222391,
        "phabricator_phid": "PHID-DREV-525lxoopwd6n326fn5zo",
        "title": "WIP: Bug 1840532 - Add a static preferences list in comm-central.",
        "bugzilla_id": 1840532,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D222391"
    },
    "phid": "PHID-DIFF-ygr27u2tkwfs6xu57zhc",
    "review_task_id": "O4DU7B1_TPyx0Ti4flyMAQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6a723ce974952f5b2c792ad52c9cc22bee3e370f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064843/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T08:34:37.670591Z"
}