List and retrieve diffs with detailed revision information

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

{
    "id": 1088084,
    "revision": {
        "id": 497006,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e5f97d7dc0cc38718bb3fec2d0b4150f87e93ef",
        "head_changeset": "db269b1cf0207f2a9aa0458d5a9da7ba1fc75baa",
        "phabricator_id": 257518,
        "phabricator_phid": "PHID-DREV-vy6mpbhd2defhhybzer2",
        "title": "Bug 1977630 - Store baselines per track r=#layout-grid-reviewers",
        "bugzilla_id": 1977630,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497006/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497006/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257518"
    },
    "phid": "PHID-DIFF-p6r55rz5ckjtezxfypxd",
    "review_task_id": "QMynWellRsWIVrtFUD3Uhg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "17610a74169ff1531403138f5bb4a4049196212c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088084/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T14:06:53.359252Z"
}