List and retrieve diffs with detailed revision information

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

{
    "id": 1057630,
    "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-klved7622wtdflfxacan",
    "review_task_id": "Vi6qoygUQI-uZEWqI40I4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "12859151396465122e4795c16b1553d842746495",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057630/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T15:23:59.717944Z"
}