List and retrieve diffs with detailed revision information

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

{
    "id": 1111437,
    "revision": {
        "id": 520600,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7e93a56a7f8b265603ce2cbf38dcf8cc78d00f70",
        "head_changeset": "9658f49c672ba0229b38675092620e248535b8f1",
        "phabricator_id": 262494,
        "phabricator_phid": "PHID-DREV-fgh2bz5trk3swddom4vr",
        "title": "Bug 1984166 - Reload the current tab when IPProtectionService starts or stops.",
        "bugzilla_id": 1984166,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520600/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520600/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262494"
    },
    "phid": "PHID-DIFF-mktpk5g3tgurakpj7v4x",
    "review_task_id": "cWcTGLyjR0uA6VHiJzVOkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9658f49c672ba0229b38675092620e248535b8f1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111437/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T22:09:02.356338Z"
}