dify/api/controllers/openapi
GareArc c3f56fcc9a
refactor(openapi/cli): drop tag/author from app usage-face noun
The app noun is the usage face; tags and author are build/management
metadata that belong to studio-app, not here. Remove them end to end:

- backend: drop tags/created_by_name from AppListRow, tag from
  AppListQuery, the TagItem model, and the tag-name filter lookup;
  stop hardcoding the cross-tenant blanks in the permitted-external list
- cli: remove the --tag flag, TAGS/AUTHOR columns, and tag from the
  list query; single get app <id> no longer fabricates the fields
- regenerate openapi contracts (types/zod) and markdown docs

get app and get app <id> now agree (neither surfaces tags/author),
resolving the list-vs-single divergence raised in review.
2026-06-21 21:25:13 -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): drop tag/author from app usage-face noun 2026-06-21 21:25:13 -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): drop tag/author from app usage-face noun 2026-06-21 21:25:13 -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 reorder decorators 2026-06-17 10:27:32 +08:00
app_run.py handle enduser in decorator 2026-06-17 11:15:34 +08:00
apps_permitted_external.py refactor(openapi/cli): drop tag/author from app usage-face noun 2026-06-21 21:25:13 -07:00
apps.py refactor(openapi/cli): drop tag/author from app usage-face noun 2026-06-21 21:25:13 -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 Merge branch 'feat/openapi-rbac' into deploy/enterprise 2026-06-22 11:01:12 +08: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 handle enduser in decorator 2026-06-17 11:15:34 +08:00
workspaces.py feat: unified ErrorBody contract for /openapi/v1 and difyctl (#37285) 2026-06-11 10:26:27 +00:00