List and retrieve diffs with detailed revision information

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

{
    "id": 1087378,
    "revision": {
        "id": 496423,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4ce48810c827ec15ca9a06a6107fb6531a708aad",
        "head_changeset": "2d0f955d8d66d550edb165af4bf2018504aa21ad",
        "phabricator_id": 257544,
        "phabricator_phid": "PHID-DREV-qgbhlihsyxkggqfro7vx",
        "title": "Bug 1974424 - Handle incompatible CardDAV servers in account hub. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1974424,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496423/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496423/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257544"
    },
    "phid": "PHID-DIFF-xk6lwtihkec5bins4sfl",
    "review_task_id": "Z61YM4QVQxCOhVbzwvhNRw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2d0f955d8d66d550edb165af4bf2018504aa21ad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087378/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:20:51.484418Z"
}