List and retrieve diffs with detailed revision information

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

{
    "id": 1095601,
    "revision": {
        "id": 491564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "686f455af358322057becc6768f3e160f156db72",
        "head_changeset": "935147ab3b7c7e85f782980e944daec651857436",
        "phabricator_id": 256310,
        "phabricator_phid": "PHID-DREV-2eqg4oh54hzb754impjg",
        "title": "Bug 1974880 - Implement a function to delete shortcuts and remove them from the shortcut log. r=nrishel!",
        "bugzilla_id": 1974880,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256310"
    },
    "phid": "PHID-DIFF-jxlsmsugariu7mdom7wb",
    "review_task_id": "fQHEJ9B4TP2ZHSRTjsdaRg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dd4e1d5481d6aa945a77f2e47f0c4923b338aeae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095601/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T21:33:17.973909Z"
}