List and retrieve diffs with detailed revision information

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

{
    "id": 1076822,
    "revision": {
        "id": 489617,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2b85c1eb7f20cb47c129cc77cd1446b285706a5e",
        "head_changeset": "5883acf9b2f7677f3f4eec310ee6dd2feed0dbb3",
        "phabricator_id": 255835,
        "phabricator_phid": "PHID-DREV-3vetwng42dgvne2ip7gv",
        "title": "WIP: Bug 1936081 - Use EWS CopyItem to copy items on the same server.",
        "bugzilla_id": 1936081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489617/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489617/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255835"
    },
    "phid": "PHID-DIFF-kw7gs473fw6eh2aufkz5",
    "review_task_id": "dK0D5UMZR9ukw1QlRrX0eQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5883acf9b2f7677f3f4eec310ee6dd2feed0dbb3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076822/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T15:56:44.744738Z"
}