List and retrieve diffs with detailed revision information

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

{
    "id": 1086941,
    "revision": {
        "id": 489493,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "db7e41aa74589dcf34077327aec7132bce84e010",
        "head_changeset": "6aacc9c58247a689479f377d6d97df40d0ef67d7",
        "phabricator_id": 255793,
        "phabricator_phid": "PHID-DREV-h4zbt56fyj2znrr2wttb",
        "title": "WIP: Bug 1974973 - [devtools] Stop escaping for other platforms when using Copy As Curl(Windows)",
        "bugzilla_id": 1974973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489493/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489493/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255793"
    },
    "phid": "PHID-DIFF-jni5xlec2u23y5viw4ea",
    "review_task_id": "C0XVG2_7Sdi_hmD-9sbSww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "54cca528b3a5c1ed9c657465d552796c263c5147",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086941/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T06:53:49.143214Z"
}