List and retrieve diffs with detailed revision information

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

{
    "id": 1095928,
    "revision": {
        "id": 501225,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd6d2533031890ec03965604d164c7ccc2f02c5b",
        "head_changeset": "27ad07250b0231f8791d9d1496bf874417ad5869",
        "phabricator_id": 258668,
        "phabricator_phid": "PHID-DREV-xgc2hxfgd3zub4kb4sdw",
        "title": "Bug 1635092 - Save one main thread loop to nsHttpChannel::AsyncOpen of IPC'ed channels r=#necko-reviewers",
        "bugzilla_id": 1635092,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501225/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501225/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258668"
    },
    "phid": "PHID-DIFF-jt2bdzchfjbzz4vt357i",
    "review_task_id": "bak_uFnhRZaWAmfnh95Tgg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d66191e607ce05eee346208fd213658a34e2d33f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095928/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T13:53:58.565068Z"
}