List and retrieve diffs with detailed revision information

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

{
    "id": 1065918,
    "revision": {
        "id": 482200,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d7c9271ce91b3a5d95c36fbb2a474d7d35e2ca26",
        "head_changeset": "2dc617283e39d5674f2dd05817f4f5352b63e5b4",
        "phabricator_id": 249647,
        "phabricator_phid": "PHID-DREV-vn5c4tnks2wf2q5w437g",
        "title": "WIP: Bug 1966738 - Wire up HasActiveCloseWatcher & CloseWatcher RequestToClose to MozBrowser",
        "bugzilla_id": 1966738,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482200/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482200/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249647"
    },
    "phid": "PHID-DIFF-hurvcsynnla6jjp3i5ga",
    "review_task_id": "OXWicj9VSPa8bC9i7LLQPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2dc617283e39d5674f2dd05817f4f5352b63e5b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065918/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T12:03:33.760142Z"
}