feat: Implement update flow status rest API endpoint

This commit is contained in:
Faruk AYDIN
2024-09-17 16:07:12 +03:00
parent 712a5756e2
commit 1790ef0ee6
7 changed files with 350 additions and 3 deletions

View File

@@ -25,6 +25,10 @@ const authorizationList = {
action: 'create',
subject: 'Flow',
},
'PATCH /api/v1/flows/:flowId': {
action: 'update',
subject: 'Flow',
},
'DELETE /api/v1/flows/:flowId': {
action: 'delete',
subject: 'Flow',
@@ -97,8 +101,8 @@ const authorizationList = {
action: 'create',
subject: 'Connection',
},
'PATCH /api/v1/flows/:flowId': {
action: 'update',
'PATCH /api/v1/flows/:flowId/status': {
action: 'publish',
subject: 'Flow',
},
'POST /api/v1/flows/:flowId/duplicate': {