List and retrieve diffs with detailed revision information

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

{
    "id": 1082197,
    "revision": {
        "id": 494723,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "44d63142e968e6ca56c9da9aa6b17a297e679d0e",
        "head_changeset": "dee85b58228bb95fac40c2df2d1f24746aa4d5e5",
        "phabricator_id": 257112,
        "phabricator_phid": "PHID-DREV-idkr2m4upzurdhljqply",
        "title": "Bug 1966620 - Update EnsureMIMEOfScript and WarnWrongMIMEOfScript to handle TYPE_JSON r=evilpie,#necko-reviewers,#devtools-reviewers",
        "bugzilla_id": 1966620,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494723/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494723/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257112"
    },
    "phid": "PHID-DIFF-kj376atapagkrklraz45",
    "review_task_id": "ECnE5zdnTxK681aapAXTlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5a6efcc84098cd6aed62947cd4880402bc611ddf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082197/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-13T13:31:24.653926Z"
}