List and retrieve diffs with detailed revision information

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

{
    "id": 1099151,
    "revision": {
        "id": 500854,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e52362f000f57f4bd42fc3baf4dfff7f2915448e",
        "head_changeset": "87c874c479bd5e313d921475c0501ce4cd118685",
        "phabricator_id": 258160,
        "phabricator_phid": "PHID-DREV-lblcvobz2ltm3zde3ict",
        "title": "Bug 1950972: Allow changing Content-Encoding header when we decompress for cache storage r=#necko-reviewers!",
        "bugzilla_id": 1950972,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500854/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500854/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258160"
    },
    "phid": "PHID-DIFF-ueta2mfik22rifrx63xq",
    "review_task_id": "DUkUXB88SX-aBhIQF3UUEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed9c2c22e9453b6e9057e74925299dbce5865c43",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099151/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-31T18:59:29.186114Z"
}