List and retrieve diffs with detailed revision information

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

{
    "id": 1112187,
    "revision": {
        "id": 520569,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "ccca54b132355a0a7c500eb50aed35739cb88726",
        "phabricator_id": 262485,
        "phabricator_phid": "PHID-DREV-rmpfyqj4q7bcc7pyvtcs",
        "title": "WIP: Bug 1979997 - Reset storage.local IDB if internal objectStore is detect as missing in ExtensionStorageLocalIDB openForPrincipal method.",
        "bugzilla_id": 1979997,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520569/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520569/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262485"
    },
    "phid": "PHID-DIFF-77sw6ci7slwicnolkfhj",
    "review_task_id": "XB0b2IDIRrSKrCncU2ehdg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b46812e6f73148752bc7a96490b1adbfcc3330b5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112187/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:17:52.811278Z"
}