List and retrieve diffs with detailed revision information

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

{
    "id": 1075304,
    "revision": {
        "id": 488111,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9bfce4284d43f219246acf05c2829e4163ea8a86",
        "head_changeset": "ac1718127036fc76409275bb46c81291d1c4b1ac",
        "phabricator_id": 255455,
        "phabricator_phid": "PHID-DREV-w22buauuoisu2adhbgbf",
        "title": "Bug 1973324 - Part 2: Refactor setting the appropriate browsing mode into BrowsingModeManger",
        "bugzilla_id": 1973324,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488111/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488111/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255455"
    },
    "phid": "PHID-DIFF-jxgjron24mhsqghpmktn",
    "review_task_id": "bmYQRKypSz688w1ggR-ahg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4b5fe4eb4ecd7084fa01d2194aeee69c0617e5ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075304/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T17:18:49.538399Z"
}