List and retrieve diffs with detailed revision information

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

{
    "id": 1055940,
    "revision": {
        "id": 478005,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "105ef2cf866ebcc2da8db77bcd8c5781cb167eb8",
        "head_changeset": "75a59e6c13e90fe15860499402bf189699bf52c0",
        "phabricator_id": 253177,
        "phabricator_phid": "PHID-DREV-m5vy3kdb2chltzq3i7v4",
        "title": "Bug 1971331 - Fix bugs and data_reviews for nimbus_events.startup_database_consistency r?#nimbus-reviewers",
        "bugzilla_id": 1971331,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478005/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478005/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253177"
    },
    "phid": "PHID-DIFF-gycz5nvkx6paztth7uqe",
    "review_task_id": "RwYm8W2qRqGtbbRAwG3GjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "75a59e6c13e90fe15860499402bf189699bf52c0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055940/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:48:45.302602Z"
}