List and retrieve diffs with detailed revision information

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

{
    "id": 1112185,
    "revision": {
        "id": 521327,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e867d8f55f9aa564d01a6f04e17217f08fce4f32",
        "head_changeset": "fab783f7ded0fc975364170d532a191300611cc2",
        "phabricator_id": 262626,
        "phabricator_phid": "PHID-DREV-ffgo7wnfrziv4f7vezzw",
        "title": "Bug 1984339 - Check if IPProtection widget has moved in onWidgetRemoved.",
        "bugzilla_id": 1984339,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521327/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521327/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262626"
    },
    "phid": "PHID-DIFF-nj427ctbliu2vo3carov",
    "review_task_id": "Sq0S9YFRRP2f8HLJ6VVzuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fab783f7ded0fc975364170d532a191300611cc2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112185/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T19:19:57.992857Z"
}