List and retrieve diffs with detailed revision information

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

{
    "id": 1057374,
    "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-unfxqmbp7avqmymsiarl",
    "review_task_id": "GFogYl1ZQHSqGbcjc493dA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0fc58f8818c36ade1cebabff5646c8b5a0e049f1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057374/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T08:20:37.209035Z"
}