dify/api/controllers/openapi
GareArc 4111751bdf
refactor(openapi/cli): split app usage-face from studio-app build-face
Squash of PR #37641 (worktree-fix+app-abstraction-noun).

Introduces two app nouns:
- app: usage face (run/get/describe/resume), dual-subject account + external-SSO
- studio-app: build face (export/import), account-only

Backend: split read routes by subject with token-type-restricted guards;
shared public projection builder (build_app_describe_response); drop
author/tags from describe to prevent cross-tenant identity leak.
CLI: selectAppReader subject dispatch (account vs permitted-external),
AppReader strategy, studio-app export/import, refreshed help/guides.
2026-06-21 19:48:22 -07:00
..
auth refactor(api): type end user records with enum (#36945) 2026-06-19 01:02:01 +00:00
__init__.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
_audit.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
_contract.py feat: unified ErrorBody contract for /openapi/v1 and difyctl (#37285) 2026-06-11 10:26:27 +00:00
_errors.py fix(hitl): scope OpenAPI/Service-API resume to author-configured webapp forms 2026-06-16 16:11:29 -07:00
_input_schema.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
_meta.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
_models.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
account.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
app_dsl.py feat: support import / export dsl in CLI (#37232) 2026-06-10 09:51:40 +00:00
app_run.py refactor: fix OpenAPI contract generation schemas (#37387) 2026-06-12 14:25:53 +00:00
apps_permitted_external.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
apps.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
files.py feat: unified ErrorBody contract for /openapi/v1 and difyctl (#37285) 2026-06-11 10:26:27 +00:00
human_input_form.py fix(hitl): scope OpenAPI/Service-API resume to author-configured webapp forms 2026-06-16 16:11:29 -07:00
index.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
oauth_device_sso.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
oauth_device.py refactor: fix OpenAPI contract generation schemas (#37387) 2026-06-12 14:25:53 +00:00
workflow_events.py refactor: fix OpenAPI contract generation schemas (#37387) 2026-06-12 14:25:53 +00:00
workspaces.py feat: unified ErrorBody contract for /openapi/v1 and difyctl (#37285) 2026-06-11 10:26:27 +00:00