List and retrieve diffs with detailed revision information

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

{
    "id": 1057359,
    "revision": {
        "id": 478180,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92bf770c26f031ef3fe51f63d31b3b16ab47c30d",
        "head_changeset": "a2dd5b5175aa00b12219ab8945764c4402a6b6bb",
        "phabricator_id": 253377,
        "phabricator_phid": "PHID-DREV-bgaza6flu2csvnhj5cx4",
        "title": "Bug 1966763 - Check for Python `3.10` or greater r?jgraham",
        "bugzilla_id": 1966763,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478180/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478180/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253377"
    },
    "phid": "PHID-DIFF-ptjau25w65tu7o4qz4bz",
    "review_task_id": "OxtPJWAXRJmRzviqq6gu9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "747e2fcb8630dff6291efda1257872ae810ae6a0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057359/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T07:08:12.136051Z"
}