List and retrieve diffs with detailed revision information

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

{
    "id": 1079443,
    "revision": {
        "id": 492121,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "79eaf77350d0c766ab4c61d9a1c4c00ccdc93482",
        "head_changeset": "967c1bcee964cc4eb73aaafba1c4f18858dfc3ed",
        "phabricator_id": 256452,
        "phabricator_phid": "PHID-DREV-x5ktbnpfpzxy5tovoe7t",
        "title": "Bug 1976218 part 2 - Use InlineSet for CompilationDependencyTracker. r?mgaudet!",
        "bugzilla_id": 1976218,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492121/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492121/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256452"
    },
    "phid": "PHID-DIFF-hywrjxwe3jd35bybtcb3",
    "review_task_id": "fZkCq-FQR4GN_UiCEM8R_Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c276caea10bbdf279c8752262fd2adaa8f1c42c1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079443/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T14:00:59.659175Z"
}