List and retrieve diffs with detailed revision information

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

{
    "id": 1109833,
    "revision": {
        "id": 517531,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8c8cc3df365d6c2732ba6af61a92dd6b433a1f57",
        "head_changeset": "ce05bf389b9a75bd0db85304f6dbe4a115a52001",
        "phabricator_id": 262030,
        "phabricator_phid": "PHID-DREV-ei5jo53qplshz3pdsace",
        "title": "Bug 1984353 - Hide extra header when IPProtection widget is in a menu. r=#ip-protection-reviewers!",
        "bugzilla_id": 1984353,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517531/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517531/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262030"
    },
    "phid": "PHID-DIFF-cp7vwkusovl72ya44mzj",
    "review_task_id": "OU8CTBRvRLSnH3yy_khdPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ce05bf389b9a75bd0db85304f6dbe4a115a52001",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109833/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T23:22:47.618697Z"
}