feat: write REST API endpoint to duplicate flow

This commit is contained in:
Ali BARIN
2024-09-11 09:26:41 +00:00
committed by Faruk AYDIN
parent 776d027dfa
commit 0d126a8e2b
6 changed files with 470 additions and 0 deletions

View File

@@ -101,6 +101,10 @@ const authorizationList = {
action: 'update',
subject: 'Flow',
},
'POST /api/v1/flows/:flowId/duplicate': {
action: 'create',
subject: 'Flow',
},
'POST /api/v1/flows/:flowId/steps': {
action: 'update',
subject: 'Flow',