List and retrieve diffs with detailed revision information

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

{
    "id": 1110442,
    "revision": {
        "id": 518563,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "513a05c7947110d7a97657aae861149c8cfc5b47",
        "head_changeset": "851a8a2100771c7a47e0b7f20bb430c7fa39ef9f",
        "phabricator_id": 262189,
        "phabricator_phid": "PHID-DREV-cyn6yto5dvsez7t25jiv",
        "title": "Bug 1900314 - Bump babel and use its topLevelAwait in parser worker r=#devtools-reviewers",
        "bugzilla_id": 1900314,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518563/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518563/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262189"
    },
    "phid": "PHID-DIFF-twor445qg5ciw3e3toun",
    "review_task_id": "CGciVHaSQXOKM6yNYlQS5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bd63972c37d03be22518d48562460895444401c2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110442/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T19:34:42.094756Z"
}