List and retrieve diffs with detailed revision information

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

{
    "id": 1096181,
    "revision": {
        "id": 489756,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbf22b032a0d07258596966cdf9b5c575f46d99b",
        "head_changeset": "1338bddaa0b5ee252a7abd07747907e6040e6d51",
        "phabricator_id": 255871,
        "phabricator_phid": "PHID-DREV-nxgydtfskvr5gnackpzb",
        "title": "Bug 1966541 - Add promo card in the vertical tab strip to notify users they can pin tabs r?#sidebar-reviewers",
        "bugzilla_id": 1966541,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489756/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489756/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255871"
    },
    "phid": "PHID-DIFF-gkfa5stbwz6htgbav5bj",
    "review_task_id": "W1SQ7Cl9TaOD12j1iZvFgA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa6d37c958c961b37a7b065f67f52402484c0ae4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096181/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T20:19:13.689028Z"
}