List and retrieve diffs with detailed revision information

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

{
    "id": 1086185,
    "revision": {
        "id": 495545,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "23a28f09bacddbf4ecc7e8a074d602545266bc95",
        "head_changeset": "c99ed17af4c31f3f720200bc861df141992d5e12",
        "phabricator_id": 257222,
        "phabricator_phid": "PHID-DREV-ae4c4k5havbgcvrf3nrx",
        "title": "Bug 1838735 - Change NS_WARNING to MOZ_LOG for real-time limit warning in CubebUtils. r?#media-playback-reviewers",
        "bugzilla_id": 1838735,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495545/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495545/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257222"
    },
    "phid": "PHID-DIFF-x667xnfbxp6k4suwbofi",
    "review_task_id": "WOT2edHwQ7uiDuzLoAfr5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c99ed17af4c31f3f720200bc861df141992d5e12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086185/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T08:32:17.217869Z"
}