Automated commit by github action: 9712547225

This commit is contained in:
GitHub Action Bot
2024-06-28 12:11:46 +00:00
parent adb0602c57
commit c7c40cedae
6 changed files with 127 additions and 0 deletions

View File

@@ -198,6 +198,9 @@ paths:
$ref: "./paths/workflow_actions/username_password_action.yaml"
/workflow_actions:
$ref: "./paths/workflow_actions/workflow_action.yaml"
#Workflow Action Performer
/workflow_action_performers:
$ref: "./paths/workflow_action_performers.yaml"
# Workflow Sessions
/workflow_sessions:
$ref: "./paths/workflow_sessions.yaml"

View File

@@ -0,0 +1,15 @@
post:
summary: Create a workflow action performer
operationId: createWorkflowActionPerformer
description: Create a workflow action performer for an existing workflow action
tags:
- workflow action performer
requestBody:
$ref: "../requestBodies/POST/WorkflowActionPerformers.yaml"
responses:
'200':
$ref: "../responses/WorkflowActionPerformers.yaml"
'400':
$ref: "../responses/400.yaml"
'500':
$ref: "../responses/500.yaml"

View File

@@ -0,0 +1,9 @@
required: true
content:
application/json:
schema:
type: object
properties:
workflow_action_performers:
type: object
$ref: "../../schemas/POST/WorkflowActionPerformers.yaml"

View File

@@ -0,0 +1,9 @@
description: Expected response to a valid request
content:
application/json:
schema:
type: object
properties:
workflow_action_performer:
type: object
$ref: "../schemas/GET/WorkflowActionPerformers.yaml"

View File

@@ -0,0 +1,48 @@
type: object
properties:
id:
type: string
format: uuid
description: The id of the workflow action performer that was created.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
contributor_attribute_id:
type: string
format: uuid
description: The id of the user attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
contributors:
type: boolean
default: false
description: Set to allow profile contributor to perform the action.
example: true
contributors_manager_attribute_id:
type: string
format: uuid
description: The id of the user attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
owner:
type: boolean
default: false
description: Set to allow profile owner to perform the action.
example: true
profiles_contributors_attribute_id:
type: string
format: uuid
description: The id of the profile attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
requester:
type: boolean
default: false
description: Set to allow requester from the request to perform the action.
example: true
requesters_manager:
type: boolean
default: false
description: Set to allow the requester's manager from the request to perform the action.
example: true
workflow_action_id:
type: string
format: uuid
description: The id of the workflow action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab

View File

@@ -0,0 +1,43 @@
type: object
properties:
contributor_attribute_id:
type: string
format: uuid
description: Specify the id of the user attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
contributors:
type: boolean
default: false
description: Set to true to allow profile contributor to perform the action.
example: true
contributors_manager_attribute_id:
type: string
format: uuid
description: Specify the id of the user attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
owner:
type: boolean
default: false
description: Set to true to allow profile owner to perform the action.
example: true
profiles_contributors_attribute_id:
type: string
format: uuid
description: Specify the id of the profile attribute to perform the action.
example: e6905f25-489a-43cd-a758-bdacaf60dcab
requester:
type: boolean
default: false
description: Set to true to allow requester from the request to perform the action.
example: true
requesters_manager:
type: boolean
default: false
description: Set to true to allow the requester's manager from the request to perform the action.
example: true
workflow_action_id:
type: string
format: uuid
description: Specify the id of the workflow action you would like to create the workflow action performer/s for.
example: e6905f25-489a-43cd-a758-bdacaf60dcab