List and retrieve diffs with detailed revision information

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

{
    "id": 1080219,
    "revision": {
        "id": 492799,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5581df48e4d2aac763d1096b717cb2ff9c2ef6f5",
        "head_changeset": "57105c565f85a9e26d8436613cd262412d2bd51b",
        "phabricator_id": 256650,
        "phabricator_phid": "PHID-DREV-onl7vcv3ndh27g6elfhe",
        "title": "WIP: Bug 1957746 - Fix WebAuthn implementation",
        "bugzilla_id": 1957746,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492799/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492799/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256650"
    },
    "phid": "PHID-DIFF-2pjn5uywys4aacx45grz",
    "review_task_id": "Dsd0FYKrRmOb_lRq8jE1tg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "57105c565f85a9e26d8436613cd262412d2bd51b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080219/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T15:21:29.076297Z"
}