List and retrieve diffs with detailed revision information

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

{
    "id": 1055019,
    "revision": {
        "id": 474770,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77c0fd2d1634feb35db7379d7c1f1c92d5bc4318",
        "head_changeset": "5a5bb09ac7708d25a81870e536021560c0bcc9c3",
        "phabricator_id": 248939,
        "phabricator_phid": "PHID-DREV-yldiuuitgvc76ftwgpme",
        "title": "WIP: Bug 1964730 - part 1 - Code cleanup: Refactor out context dependency of CookieBannersStorage.getCookieBannerUIMode",
        "bugzilla_id": 1964730,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474770/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474770/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248939"
    },
    "phid": "PHID-DIFF-xw5sdmlhye6p6zny66bj",
    "review_task_id": "EhSuqVOcTpGtw-qF-HozHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec7a4d563dcbc680abec1e50a0ec18e05cb8a007",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055019/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T14:23:25.000813Z"
}