List and retrieve diffs with detailed revision information

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

{
    "id": 1086154,
    "revision": {
        "id": 495518,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "185f590c804be0dc5a6803e176e3a96bfecf686b",
        "head_changeset": "5c70208e2426cf3fde7c1d5de84f94a18f25a719",
        "phabricator_id": 257215,
        "phabricator_phid": "PHID-DREV-6bo7b33ma22punhxosyo",
        "title": "Bug 1955884 - Part 2: Refactoring tests to get rid of mocking",
        "bugzilla_id": 1955884,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495518/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495518/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257215"
    },
    "phid": "PHID-DIFF-oye2evszwcq4bdvrfvm4",
    "review_task_id": "ZnBeV2tlT-qj4x-RUOJTdg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5c70208e2426cf3fde7c1d5de84f94a18f25a719",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086154/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T05:42:44.734105Z"
}