List and retrieve diffs with detailed revision information

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

{
    "id": 1086693,
    "revision": {
        "id": 495970,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3273f6172a0cd8050aab837aeb799c7f6efbb13b",
        "head_changeset": "55e1d662f3bfb5d4b83a9d124c8ff1dc9e0a8b5f",
        "phabricator_id": 257371,
        "phabricator_phid": "PHID-DREV-swsjb3yvb3vvs7z5ypa5",
        "title": "Bug 1977399 - Part 4. Log PDM order on initialization to better understand what is being picked at run time.",
        "bugzilla_id": 1977399,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495970/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495970/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257371"
    },
    "phid": "PHID-DIFF-qvsvzeuokzcoooq3vt4l",
    "review_task_id": "Zhu4VlX2RjinRRekMPK8fQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "76d574fa2bf77372be5d1f66129484bdd78066d1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086693/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T21:16:10.444005Z"
}