List and retrieve diffs with detailed revision information

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

{
    "id": 1080542,
    "revision": {
        "id": 492692,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "08fd82e61e1a1a733fb02ad0d8a709ea74d50f45",
        "head_changeset": "6797c2f14a416c617dfcfe8793eeaa3795e07a38",
        "phabricator_id": 256561,
        "phabricator_phid": "PHID-DREV-76xh6odehpspjrdroyj7",
        "title": "Bug 1976089 - Fix the opposite flag handling in `MouseScrollHandler::SynthesizeNativeMouseScrollEvent()` r=emilio!",
        "bugzilla_id": 1976089,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492692/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492692/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256561"
    },
    "phid": "PHID-DIFF-xqk4e5kibkrtefb2xgl5",
    "review_task_id": "O-RduXppQlCh2AzTOHqQCA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2a22b98d95a2e146f3bcadf7214c4f865ad3e25f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080542/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T22:39:44.519261Z"
}