List and retrieve diffs with detailed revision information

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

{
    "id": 1088560,
    "revision": {
        "id": 497639,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "30d6b34a5c58d67f46536f712900dfd7f83a0b9a",
        "head_changeset": "841a9fee750ce19b137c2078faf1e8260f9649d6",
        "phabricator_id": 257812,
        "phabricator_phid": "PHID-DREV-6h42hcbhucrufxs552x5",
        "title": "Bug 1977790 - Invoke onModeChange callback on initialization of the browsing mode",
        "bugzilla_id": 1977790,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497639/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497639/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257812"
    },
    "phid": "PHID-DIFF-yvvkqmdpdptpkyj7wpip",
    "review_task_id": "IwYb8ZmORCacm7wEmGIcVw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "841a9fee750ce19b137c2078faf1e8260f9649d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088560/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T07:19:41.683276Z"
}