List and retrieve diffs with detailed revision information

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

{
    "id": 1116083,
    "revision": {
        "id": 521456,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "0025fbff4e77efbce6aeb7a942d9757ee21d0ed2",
        "phabricator_id": 262700,
        "phabricator_phid": "PHID-DREV-lzm2axtqcsktpjmuc2zj",
        "title": "Bug 1976108 - Complete implementation of security subview in trustpanel. r=emz",
        "bugzilla_id": 1976108,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521456/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521456/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262700"
    },
    "phid": "PHID-DIFF-w6cpnsyu4s7c4gtjov2t",
    "review_task_id": "c9JfVscoSPiGqbdnRn6chg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7f084a25fbddf6b27d0117fabcf913fad2a80c22",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1116083/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-03T13:06:59.180677Z"
}