List and retrieve diffs with detailed revision information

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

{
    "id": 1109535,
    "revision": {
        "id": 466613,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "29ca7ddfb7762e3b16be4961eff0e7b5b2755dd9",
        "head_changeset": "4e606b34645a4768aa028979c14580ccc36b22c8",
        "phabricator_id": 240690,
        "phabricator_phid": "PHID-DREV-cbvpk3sbyysgrktkthyi",
        "title": "WIP: Bug 1951783 - Include Parent Process Memory in Translations Benchmarks r=#translations-reviewers!",
        "bugzilla_id": 1951783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/466613/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/466613/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240690"
    },
    "phid": "PHID-DIFF-cpf22nbfkt57lpo2e7wh",
    "review_task_id": "GaZPt_mHSFmvZCBcbUhz1g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d1e2102314e78dfaa2a2b08cc0082627c2846268",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109535/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T15:52:44.141220Z"
}