List and retrieve diffs with detailed revision information

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

{
    "id": 1088763,
    "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-icdh3khddpj5ougk7uak",
    "review_task_id": "a-xLnQ9HTpCtVmLtHB1ZoA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a07dbd406f040290f69cde0fbfb4dc360de5b7f9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088763/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T16:15:44.185782Z"
}