List and retrieve diffs with detailed revision information

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

{
    "id": 1113262,
    "revision": {
        "id": 520370,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "664497321e4c0f518f1c9fbc30a5b73c1b135238",
        "head_changeset": "747a5f74216bdc0d64c5e07d913f736113ebc760",
        "phabricator_id": 262457,
        "phabricator_phid": "PHID-DREV-ezjgkrj57m77kusvggqq",
        "title": "Bug 1984764: Part 2 - Add getOriginalPrefValuesForAllActiveEnrollments to get a map of Nimbus pref values r=#nimbus-reviewers!,#backup-reviewers",
        "bugzilla_id": 1984764,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520370/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520370/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262457"
    },
    "phid": "PHID-DIFF-wtgh3mns62lmshyvtq5r",
    "review_task_id": "ZLJ0YLCYSm6c-lH4qlIZVw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ee11fdc0708e2f19cab8954287672604ab00a7ea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113262/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T23:29:32.316006Z"
}