List and retrieve diffs with detailed revision information

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

{
    "id": 1101067,
    "revision": {
        "id": 476663,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a9c5f5ab34a62573efb658bc8696fadb6949942",
        "head_changeset": "a337bf8381b8c9dfa527fc48f3f15c5114409528",
        "phabricator_id": 251606,
        "phabricator_phid": "PHID-DREV-6oe34s6nrfbumkoa2mz7",
        "title": "WIP: Bug 1950545 - Vendor InMemorySpanExporter for testing of gecko-trace API r=jari",
        "bugzilla_id": 1950545,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476663/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476663/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251606"
    },
    "phid": "PHID-DIFF-pnayp6zrcpe2zs52asyt",
    "review_task_id": "IGwi80GGSKurSn4zRwX2Ew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7292ec1b552c4374d478f5a1c81f57bbaaa3eae9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101067/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T16:26:48.692318Z"
}