List and retrieve diffs with detailed revision information

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

{
    "id": 1059075,
    "revision": {
        "id": 478364,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "13205e548d5c883b395db7fbecfe8bf5b6ce2b75",
        "head_changeset": "70f4355452a8aa3599414be04e853229195d8c78",
        "phabricator_id": 253622,
        "phabricator_phid": "PHID-DREV-jsqohjsj7n3tzytbjydl",
        "title": "Bug 1962870 - part 1: Reimplement `EventStateManager::MaybeFirePointerCancel` r=smaug!,edgar!,#dom-core",
        "bugzilla_id": 1962870,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478364/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478364/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253622"
    },
    "phid": "PHID-DIFF-6nui4lhhylvxjjnmzp52",
    "review_task_id": "amBtbiQESha5xrDZ6tv3iA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ea4de669d5a2068d8a9969869cec1d62563ac45",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059075/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T07:54:45.275517Z"
}