List and retrieve diffs with detailed revision information

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

{
    "id": 1088175,
    "revision": {
        "id": 480032,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cf2d581e3b0d9a4879e70469f4c74eef83df097e",
        "head_changeset": "c065d3e736b90e21d095e382381a25b9193784e7",
        "phabricator_id": 253882,
        "phabricator_phid": "PHID-DREV-5sy4k2cydn6scthpne6l",
        "title": "WIP: Bug 1969120: Creating a pref to force load cached service workers on main thread, default to true for now.r=#dom-worker-reviewers",
        "bugzilla_id": 1969120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480032/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480032/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253882"
    },
    "phid": "PHID-DIFF-77okqowezfthcqosxbue",
    "review_task_id": "eAddSufURgybeW9MgRlTGQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61d269b15c90f504a4d9e12ce4d0ca2a3ca976a6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088175/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T15:50:38.655724Z"
}