List and retrieve diffs with detailed revision information

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

{
    "id": 1107098,
    "revision": {
        "id": 513781,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7de8dcc3a2e176149c35bd9c7e83662c6746655e",
        "head_changeset": "7a25477959f46ab08688a64b4b05a14b33f509dd",
        "phabricator_id": 261246,
        "phabricator_phid": "PHID-DREV-eao3f42gzar7pkwevrqh",
        "title": "Bug 1983245 - Replace NSPR PR_Poll with mio Rust crate r=#necko-reviewers",
        "bugzilla_id": 1983245,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513781/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513781/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261246"
    },
    "phid": "PHID-DIFF-hiy5xoqke6arnljs7eql",
    "review_task_id": "Dl_5Q_8aQB6gLUfjdffeZw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb3b76abe9a06753bbd12f4d4969d0331a30f99c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107098/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T14:52:04.428057Z"
}