List and retrieve diffs with detailed revision information

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

{
    "id": 1106167,
    "revision": {
        "id": 503568,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "388c99491358313ace02c5e086da5c68b2a5086b",
        "head_changeset": "9ef838c235c553469f32461ba2b284e800fc2208",
        "phabricator_id": 259134,
        "phabricator_phid": "PHID-DREV-hkap2zzkp5uttmy2ckou",
        "title": "Bug 1979968 - P2: Introduce TextLeafPoint::InsertionPointBounds. r?Jamie",
        "bugzilla_id": 1979968,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503568/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503568/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259134"
    },
    "phid": "PHID-DIFF-4i4nvh3idgje5vk3svhj",
    "review_task_id": "HUR477sZRU67XLG7KhUDsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "15cf71f3997a7eea57c90f7d607db9a84613cdcd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106167/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T19:46:50.583804Z"
}