List and retrieve diffs with detailed revision information

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

{
    "id": 1110886,
    "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-mnszgujn7b3pi2mh32f2",
    "review_task_id": "EHQANEsnS6GHSfP9weYp6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "901bd6d48a9a548ebc4f582f486cfecc8b814bed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110886/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T10:21:11.611577Z"
}