List and retrieve diffs with detailed revision information

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

{
    "id": 1066784,
    "revision": {
        "id": 483461,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f14aeef784fed49a881798d0011b27e8317d2e06",
        "head_changeset": "9a5520098a3232589457a0f26e78a1a9ba717735",
        "phabricator_id": 253575,
        "phabricator_phid": "PHID-DREV-l43cil5nfh3zjkkib2kc",
        "title": "Bug 1853426 - Make the search widget clickable r=petru",
        "bugzilla_id": 1853426,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483461/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483461/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253575"
    },
    "phid": "PHID-DIFF-qwvji4c2353q72id6ax7",
    "review_task_id": "Vi1yUDlAQwGXbqxA1QXQ4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9a5520098a3232589457a0f26e78a1a9ba717735",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066784/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T19:14:34.241891Z"
}