List and retrieve diffs with detailed revision information

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

{
    "id": 1106455,
    "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-awz4ak32fd3zjl2kyadv",
    "review_task_id": "ZirthpsJT0azylkB5jAGHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d345826c4022307cc836dbdc00090bdc1e10b986",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106455/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-15T12:57:08.653624Z"
}