List and retrieve diffs with detailed revision information

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

{
    "id": 1055160,
    "revision": {
        "id": 477892,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "905d8d08941a80caad2ad06484df0d7d64d1d276",
        "head_changeset": "57e80255c1d04cf031e05265836d27171a669df6",
        "phabricator_id": 249688,
        "phabricator_phid": "PHID-DREV-z7iusljdq3jecnvapmtt",
        "title": "Bug 1966493 - Remove Save, Tools, and Extensions menu routes",
        "bugzilla_id": 1966493,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477892/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477892/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249688"
    },
    "phid": "PHID-DIFF-a3mvrd64dj74pulzimql",
    "review_task_id": "bBw-IFTMStK3TaVA5k0Cgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "57e80255c1d04cf031e05265836d27171a669df6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055160/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:15:21.286480Z"
}