List and retrieve diffs with detailed revision information

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

{
    "id": 1101585,
    "revision": {
        "id": 505913,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "66eb1bb3ac0a3b188eae58341c230d51b1ffe2a0",
        "head_changeset": "37ac83f7b10086157d53a2de6cf0cf3252704289",
        "phabricator_id": 259730,
        "phabricator_phid": "PHID-DREV-du77izsledxgviukcc5r",
        "title": "Bug 1974126 - Text Fragments: Allow users to copy an existing highlight. r=Gijs!",
        "bugzilla_id": 1974126,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505913/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505913/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259730"
    },
    "phid": "PHID-DIFF-5uyufjv3pmxnyosmpyf3",
    "review_task_id": "cEB3NqO0TXKQ2wENvAkr_Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "724fdc68eb75c7010c059dc0951d64cfb61cf0ef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101585/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T08:02:11.084988Z"
}