List and retrieve diffs with detailed revision information

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

{
    "id": 1035384,
    "revision": {
        "id": 475355,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "41ae7f282507631b90b7a3f1af20a90f27034436",
        "phabricator_id": 249800,
        "phabricator_phid": "PHID-DREV-b3pezx4pl4q4bwash5qt",
        "title": "WIP: Bug 1948410 - Create breadcrumbs reusable component r=#recomp-reviewers",
        "bugzilla_id": 1948410,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475355/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475355/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249800"
    },
    "phid": "PHID-DIFF-tgjjh2ovvpswma3eq6ax",
    "review_task_id": "XTBw8ODiSDqYdhBj5dMbdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "41ae7f282507631b90b7a3f1af20a90f27034436",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035384/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:02:31.888184Z"
}