List and retrieve diffs with detailed revision information

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

{
    "id": 1107450,
    "revision": {
        "id": 513681,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8af6c84c7272ba8a45b8bca7db2d35082a39cc8d",
        "head_changeset": "14c7d8cfed051a008eb8d999e48923852fc63fbe",
        "phabricator_id": 261217,
        "phabricator_phid": "PHID-DREV-zotv7b7v7iaxexbgrbtj",
        "title": "WIP: Bug 1978987 - Extend new mail notification test to EWS.",
        "bugzilla_id": 1978987,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513681/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513681/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261217"
    },
    "phid": "PHID-DIFF-zbci57yhg7iaq7xs7krw",
    "review_task_id": "WdQqEgdIRkieHSaret_gwQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0c8a341fde547512ad2bbef2f1dface732d9372a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107450/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T23:18:08.092428Z"
}