List and retrieve diffs with detailed revision information

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

{
    "id": 1095835,
    "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-zcvk4bs3itt6le5ydaac",
    "review_task_id": "LKvFqh15QKe6B-ayTX2Z5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "27ad07250b0231f8791d9d1496bf874417ad5869",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095835/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T10:39:50.457063Z"
}