List and retrieve diffs with detailed revision information

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

{
    "id": 1081149,
    "revision": {
        "id": 491789,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ad417108753c93879e5d45f10c7b2c9222fa6a8",
        "head_changeset": "f63b1a2682e688c2ed12774ad103af6a6067a1c5",
        "phabricator_id": 256381,
        "phabricator_phid": "PHID-DREV-fs4r6fgumwi76lim7hhx",
        "title": "Bug 1975605 - Respect user's preference selections for crash reporting",
        "bugzilla_id": 1975605,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491789/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491789/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256381"
    },
    "phid": "PHID-DIFF-phy52knlmnkhhrfl5m4h",
    "review_task_id": "GhN9EYR3TTGTRFsCGb4NVA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5cfb0729b7e6cb7c09317c4f7281750acb151c97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081149/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T23:57:12.491257Z"
}