List and retrieve diffs with detailed revision information

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

{
    "id": 1087165,
    "revision": {
        "id": 496260,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "de40872ed8a40588f9736af1a5cf5311d2d37b52",
        "head_changeset": "3f184779f255cebbb36309bd5b41d4c8cc2c83c0",
        "phabricator_id": 257479,
        "phabricator_phid": "PHID-DREV-p2l67p6hatvsbwcynnx2",
        "title": "Bug 1970638 p1: Break out solely CPU related info from ProcInfo. r=florian!",
        "bugzilla_id": 1970638,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496260/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496260/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257479"
    },
    "phid": "PHID-DIFF-vc5qehoxpboonnvil22j",
    "review_task_id": "S4qwzEsdTZqm4fgQMmQtaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9debd91f1389f0a12d6600ba5ad44a78abbea255",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T14:18:48.539730Z"
}