List and retrieve diffs with detailed revision information

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

{
    "id": 1077235,
    "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-gezkjax7nkfpgt3j5ngw",
    "review_task_id": "cRZgL6YbSqa8m9wu2ATsFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "44265da3b12630c8c90ae437f192926880da74bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077235/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T08:08:20.379749Z"
}