List and retrieve diffs with detailed revision information

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

{
    "id": 1099646,
    "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-dl5mubwzhae7vjozt4cc",
    "review_task_id": "ehgKyUjvSyqJOzlQ_WrlPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ac90f4e7fd16c5a52288ca88c995526fa500cef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099646/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T14:48:46.007433Z"
}