Duplicate flows and dashboards: POST /flows/{name}/duplicate and /dashboards/{name}/duplicate copy the working copy into {name}_copy (then _copy_2, ...) as an unpublished draft with " (copy)" on the title. A flow copy takes its node sources as drafts and leaves origin and runtime.json behind; copying code nodes is a superuser's (the save check, now taking the replaced copy). Client regenerated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 09:21:30 +02:00
co-authored by Claude Opus 5.5
parent 8b1a456cd3
commit 8a868e0f26
9 changed files with 215 additions and 9 deletions
File diff suppressed because one or more lines are too long
+12
View File
@@ -1765,6 +1765,12 @@ export type DashboardsDiscardDashboardDraftData = {
export type DashboardsDiscardDashboardDraftResponse = (DashboardDef_Output);
export type DashboardsDuplicateDashboardData = {
name: string;
};
export type DashboardsDuplicateDashboardResponse = (DashboardDef_Output);
export type DashboardsRenameDashboardData = {
name: string;
requestBody: fluksio__api__routes__dashboards__RenameRequest;
@@ -1847,6 +1853,12 @@ export type FlowsRenameFlowData = {
export type FlowsRenameFlowResponse = (FlowDetail);
export type FlowsDuplicateFlowData = {
name: string;
};
export type FlowsDuplicateFlowResponse = (FlowDetail);
export type FlowsReadNodeSourceData = {
name: string;
nodeId: string;