List and retrieve diffs with detailed revision information

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

{
    "id": 1037873,
    "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-p3j3zq4pgz4d6f77xz7x",
    "review_task_id": "FbsjI4V1SM-heLWcxjCxug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "11aa04b28db213ebe807f4c13b08f4e69a1e092c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037873/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T21:45:36.676128Z"
}