List and retrieve diffs with detailed revision information

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

{
    "id": 1081989,
    "revision": {
        "id": 494453,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "437702a6f5dc398b74a7c8f77c97e3e6fdcc86ed",
        "head_changeset": "ed9f2ad448459b1cf21a7b178b06f4701daecfb1",
        "phabricator_id": 257092,
        "phabricator_phid": "PHID-DREV-kr7vdwra3ewnhmac5yxe",
        "title": "Bug 1974205 - Disable test_peerConnection_videoCodecs.html for frequent failures. r=#intermittent-reviewers",
        "bugzilla_id": 1974205,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494453/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494453/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257092"
    },
    "phid": "PHID-DIFF-okyigtkwrkzqarj7a4dh",
    "review_task_id": "TkSlhxApQkiU8LW92eTgxQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed9f2ad448459b1cf21a7b178b06f4701daecfb1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081989/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-12T03:38:20.614277Z"
}