List and retrieve diffs with detailed revision information

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

{
    "id": 1066541,
    "revision": {
        "id": 475998,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c3309f5718e483e9c32d901e1badc237cb48037",
        "head_changeset": "af4047443ca1ee8f91b11013d4b8da22d4d6a0c4",
        "phabricator_id": 250599,
        "phabricator_phid": "PHID-DREV-32osu72jglzmuiih5jko",
        "title": "WIP: Bug 1967689 - pt 3. Move mFreeTime into AllocPageInfo",
        "bugzilla_id": 1967689,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475998/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475998/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250599"
    },
    "phid": "PHID-DIFF-w32ciqkfcqm4ekzqm7mg",
    "review_task_id": "EGC0C7LnRUikIFgGJM0Jyg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "028e0d25ddbd253f592fd07637812a45dba92fd0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066541/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T08:19:12.410001Z"
}