List and retrieve diffs with detailed revision information

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

{
    "id": 1109155,
    "revision": {
        "id": 516685,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6dc32c9bc06277f1630d0e7389c29315fa895bf0",
        "head_changeset": "904a036fe8f6bfa267f86322dab86e3c3b6e2ab7",
        "phabricator_id": 261868,
        "phabricator_phid": "PHID-DREV-b473ioexvhfrbqguom6o",
        "title": "Bug 1984239 — remove client check from IPProtectionService for hasUpgraded status. r=#ip-protection-reviewers!",
        "bugzilla_id": 1984239,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516685/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516685/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261868"
    },
    "phid": "PHID-DIFF-5oei7vwklndsnoc7zydz",
    "review_task_id": "KQrJBUq4QCKrXMi34u2H6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "904a036fe8f6bfa267f86322dab86e3c3b6e2ab7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109155/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T04:10:41.774965Z"
}