List and retrieve diffs with detailed revision information

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

{
    "id": 1109060,
    "revision": {
        "id": 516527,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "81aefd6da4c24e53bc2495fce4e5cd8613c0a447",
        "head_changeset": "ea466090ab2bb24a0d088ad317af0f93a02f2c66",
        "phabricator_id": 261807,
        "phabricator_phid": "PHID-DREV-wjdw6wytdi2bdddjxaaj",
        "title": "Bug 1984166 - Reload the current tab when IPProtectionService starts or stops. r=#ip-protection-reviewers!",
        "bugzilla_id": 1984166,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516527/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516527/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261807"
    },
    "phid": "PHID-DIFF-72q3kmpa5mmn7bxb6ltu",
    "review_task_id": "NYvH2NzfS4evR4vxPK72uw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ea466090ab2bb24a0d088ad317af0f93a02f2c66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109060/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T23:29:44.663654Z"
}