List and retrieve diffs with detailed revision information

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

{
    "id": 1096837,
    "revision": {
        "id": 498577,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ffeb050060a0dc7c8f8eba9c4bb8eee2b31eab20",
        "head_changeset": "feff3eb6a41abe3683f62d2a40f902ea033b16df",
        "phabricator_id": 257975,
        "phabricator_phid": "PHID-DREV-vg5trusmmhapufw5fqvl",
        "title": "WIP: Bug 1978301 - add platform microbenchmarks for crypto functions. r=jschanck",
        "bugzilla_id": 1978301,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498577/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498577/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257975"
    },
    "phid": "PHID-DIFF-taedklqciosmfsxgdeyx",
    "review_task_id": "PEG9lxCITcae5BveIBBBCQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4009bba8c511c2402c656be330a1906c0473be58",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096837/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-28T15:59:48.530848Z"
}