List and retrieve diffs with detailed revision information

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

{
    "id": 1081714,
    "revision": {
        "id": 484941,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c2ef46d6589ed9b2991601400344653f3fb47e99",
        "head_changeset": "6bb576d6fb2e439ccfeb97d7e9a613738c87e88e",
        "phabricator_id": 254889,
        "phabricator_phid": "PHID-DREV-gyg7swzg3zhlrpdytkfb",
        "title": "WIP: Bug 1969120: Some refactorings to support new top-level actors in Cache and CacheStorage.r=#dom-worker-reviewers",
        "bugzilla_id": 1969120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484941/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484941/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254889"
    },
    "phid": "PHID-DIFF-4avts6eyhrldvhmr7ani",
    "review_task_id": "OCYU92bCT3CXB1VTxlpngg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "af948f929c2ae707d3267d803b72fa4ee29fe61e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081714/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:40:09.852583Z"
}