List and retrieve diffs with detailed revision information

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

{
    "id": 1080148,
    "revision": {
        "id": 492773,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "341eac043e932413ee21fc8754974c43ac969708",
        "head_changeset": "b13fa4a374025dbf0e5a371be156be6d7a050bda",
        "phabricator_id": 256628,
        "phabricator_phid": "PHID-DREV-bxigkhkxn32l4kajzf2u",
        "title": "Bug 1973381 - [devtools] Trigger worker updates in browser_application_panel_start-service-worker.js",
        "bugzilla_id": 1973381,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492773/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492773/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256628"
    },
    "phid": "PHID-DIFF-rluseqoie5g6y6vfyh7b",
    "review_task_id": "J1L1Oy5yQHieO0CvdxsJ_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b13fa4a374025dbf0e5a371be156be6d7a050bda",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080148/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T13:29:06.230269Z"
}