List and retrieve diffs with detailed revision information

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

{
    "id": 1080806,
    "revision": {
        "id": 492433,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eaf95207f1cc1e1352a3369f2598d6aace236a18",
        "head_changeset": "23b21b8c871689fa488aa9a19000d64fe9fb1525",
        "phabricator_id": 256508,
        "phabricator_phid": "PHID-DREV-ewyojfcurhmfwxgy7mku",
        "title": "Bug 1975851 - Enforce navigator.onLine as always true in RFP. r?tjr",
        "bugzilla_id": 1975851,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492433/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492433/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256508"
    },
    "phid": "PHID-DIFF-25dqbabt4w5kk75q3cyy",
    "review_task_id": "YhFLaktlSTqEeovPFwTUFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e8b6d75db594e51c33a2a76483e0ea9010b578da",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080806/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T13:48:31.796993Z"
}