List and retrieve diffs with detailed revision information

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

{
    "id": 1036094,
    "revision": {
        "id": 475027,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "39ecf83472f80f18340afaced9f7e67185127041",
        "head_changeset": "c116312ae29f613694676fb030bf80f3a85bbe16",
        "phabricator_id": 249215,
        "phabricator_phid": "PHID-DREV-k5ceba3kcdvlxcnrgtzj",
        "title": "WIP: Bug 1965944 - Visual updates for medium card UI.",
        "bugzilla_id": 1965944,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475027/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475027/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249215"
    },
    "phid": "PHID-DIFF-xrhvmvvhecyf7y5g36qk",
    "review_task_id": "FYByez2XSGKYiPPqD_kkkw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "017f0ba9e688b96938537c0c6171c13efc1ade7f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036094/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T02:04:44.243801Z"
}