List and retrieve diffs with detailed revision information

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

{
    "id": 1077704,
    "revision": {
        "id": 490384,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eea61e060da45fdd8c43a305c57314093cc1d5f3",
        "head_changeset": "c00c9e50ac0d61d60922b1dd21f69692f1097cb4",
        "phabricator_id": 256033,
        "phabricator_phid": "PHID-DREV-6krr7mwtixf3cygrbpqg",
        "title": "Bug 1973222 - Skip sync test_telemetry.js on all windows-opt r?markh",
        "bugzilla_id": 1973222,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490384/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490384/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256033"
    },
    "phid": "PHID-DIFF-iak4xkerdfe3xdc66pll",
    "review_task_id": "XTiIOuowSaO-6Ms2NVHsJw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c00c9e50ac0d61d60922b1dd21f69692f1097cb4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077704/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T20:40:45.901791Z"
}