fix(api): bind dataset operations to owners (#40149)

This commit is contained in:
WH-2099 authored and GitHub committed 2026-08-11 16:37:14 +00:00
1 parent bee269afe8
commit ef8544b173
35 files changed
+1520 -496

No files matched your search

+3 -3
View File
@@ -83,7 +83,7 @@ User-scoped operations
| mode | query | App types the ``app`` usage face (``get app``) lists and filters. A curated subset of :class:`AppMode`: the real, user-facing app categories. Excludes runtime-only mode tags that are not standalone apps (``rag-pipeline`` is a knowledge ``Pipeline``; ``channel`` is unused) and the roster-owned ``agent`` type (surfaced through the roster, not this list). Members reference ``AppMode.*.value`` so the subset relationship is type-checked: dropping a member from ``AppMode`` breaks this at import. This is the single source for the listable set — params, filters, and the generated CLI whitelist all derive from it. | No | string, <br>**Available values:** "advanced-chat", "agent-chat", "chat", "completion", "workflow" |
| name | query | | No | string |
| page | query | | No | integer, <br>**Default:** 1 |
| workspace_id | query | | Yes | string |
| workspace_id | query | | Yes | string (uuid) |
#### Responses
@@ -129,7 +129,7 @@ User-scoped operations
| Name | Located in | Description | Required | Schema |
| ---- | ---------- | ----------- | -------- | ------ |
| include_secret | query | Include encrypted secret values in the exported DSL | No | boolean |
| workflow_id | query | Export a specific workflow version instead of the current draft | No | string |
| workflow_id | query | Export a specific workflow version instead of the current draft | No | string (uuid) |
| app_id | path | | Yes | string |
#### Responses
@@ -600,7 +600,7 @@ mode is a closed enum of listable app types.
| mode | [SupportedAppType](#supportedapptype) | | No |
| name | string | | No |
| page | integer, <br>**Default:** 1 | | No |
| workspace_id | string | | Yes |
| workspace_id | string (uuid) | | Yes |
#### AppListResponse