List and retrieve diffs with detailed revision information

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

{
    "id": 1066853,
    "revision": {
        "id": 481890,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ae191d7f8ed6c71eb23365776a00babf64b83bb",
        "head_changeset": "77efa06a5144ff4670caad1860d9b755076f7e31",
        "phabricator_id": 254300,
        "phabricator_phid": "PHID-DREV-3igern2id53gs3i3vld3",
        "title": "Bug 1972421 - Add strings for Follow Section Button Highlight r?#home-newtab-reviewers",
        "bugzilla_id": 1972421,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481890/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481890/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254300"
    },
    "phid": "PHID-DIFF-yv2xnrzr5k3m66qxioqo",
    "review_task_id": "Zn54OUUKSwGkU4G1iseaOw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58b9291c8182d9523f950923cf0179d876c33fe9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066853/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T21:37:42.464878Z"
}