List and retrieve diffs with detailed revision information

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

{
    "id": 1095988,
    "revision": {
        "id": 403534,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dc5a28b24f94d8fdb17a970843c2c6b88a012d66",
        "head_changeset": "90d39f1cb6d7a5f953ef4e1af0385f7bc287545a",
        "phabricator_id": 229080,
        "phabricator_phid": "PHID-DREV-3hfjp5itfg6cld3oacum",
        "title": "Bug 1885221, part 10 - Implement actual message type checking. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/403534/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/403534/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229080"
    },
    "phid": "PHID-DIFF-jrgbygayhzbbcwoawygw",
    "review_task_id": "KQEbYL7LSJeStbzX6YFWUw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58d140d4f987c735900ee44b6317b6e613a5b4d4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T16:04:58.961885Z"
}