List and retrieve diffs with detailed revision information

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

{
    "id": 1066710,
    "revision": {
        "id": 477644,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cea1f4a1355721d69d42d3d33d5c80b85ca90452",
        "head_changeset": "d8223f13fd20e78f9b321b3617e372ffde2244a0",
        "phabricator_id": 252764,
        "phabricator_phid": "PHID-DREV-uewgkgfq3w54pmtfhqlv",
        "title": "WIP: Bug 1970732 - Add icon for sign-in when syncing is paused.",
        "bugzilla_id": 1970732,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477644/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477644/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252764"
    },
    "phid": "PHID-DIFF-dzt7qw4rpml27gmnwolf",
    "review_task_id": "bQG5VqB4QTSStm3DSdaaig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c68fff3dd3aee2014aaee713a23df2f3892a248",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066710/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T16:50:05.047815Z"
}