List and retrieve diffs with detailed revision information

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

{
    "id": 1030634,
    "revision": {
        "id": 474331,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f3a372d30948539f9cf212214d8c7e8e6b4a4f3a",
        "head_changeset": "176d0c42bdc0c55de17b89efc303413a2f81ebce",
        "phabricator_id": 247605,
        "phabricator_phid": "PHID-DREV-wu6njhq5a6htz246okfo",
        "title": "Bug 1963941 - Refactor closedby-corner-cases to avoid waiting on timers r?#dom-core",
        "bugzilla_id": 1963941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474331/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474331/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247605"
    },
    "phid": "PHID-DIFF-z3yf6mi7xk4n3k2he7mf",
    "review_task_id": "XixOrHZXQlmCgYWxaMbwYw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0cd7066eeef7b2846f4432d5c733dc68b0eab2f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030634/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T15:50:11.156690Z"
}