List and retrieve diffs with detailed revision information

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

{
    "id": 1071202,
    "revision": {
        "id": 484599,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "35eea1c77ba7a222c1711eb0041f8e8161194fb3",
        "head_changeset": "659526c33f365c8e1399cd50f6fbaf3ba4c37957",
        "phabricator_id": 254781,
        "phabricator_phid": "PHID-DREV-kdew7lydqdhgw5d3moeo",
        "title": "Bug 1965145 - Port bug 1968612: Follow-up: fix landoscript merge automation payload builder. r=#thunderbuild",
        "bugzilla_id": 1965145,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484599/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484599/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254781"
    },
    "phid": "PHID-DIFF-kmipxnc36a6z2xazxr44",
    "review_task_id": "V2LjYNXQQym0J5TqfcJ2yw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "659526c33f365c8e1399cd50f6fbaf3ba4c37957",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071202/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T07:30:52.581989Z"
}