List and retrieve diffs with detailed revision information

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

{
    "id": 1081065,
    "revision": {
        "id": 474204,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46f462787c89c3b8ffca85f3b56fb232f516ace5",
        "head_changeset": "696e1835abb65c0656857f98ddae113d23b8c492",
        "phabricator_id": 248110,
        "phabricator_phid": "PHID-DREV-oha565bwzexj2j3brgql",
        "title": "Bug 1925772 - Keep a separate DownloadsTaskbar for private browsing windows. r=bhearsum,gijs",
        "bugzilla_id": 1925772,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474204/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474204/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248110"
    },
    "phid": "PHID-DIFF-vy67bbpjwufhg4os5dpr",
    "review_task_id": "AtRnSP1dQe2xvqhjcD62bQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8fcec38be7f2604498293a2279f70837ff691ab4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081065/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T20:36:22.977180Z"
}