Refine content approval workflow rail
This commit is contained in:
@@ -2799,56 +2799,6 @@
|
||||
}
|
||||
},
|
||||
"/api/approvals": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Approvals",
|
||||
"Api"
|
||||
],
|
||||
"operationId": "SocializeApiModulesApprovalsHandlersCreateApprovalRequestHandler",
|
||||
"requestBody": {
|
||||
"x-name": "CreateApprovalRequestRequest",
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesApprovalsHandlersCreateApprovalRequestRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true,
|
||||
"x-position": 1
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesApprovalsHandlersApprovalRequestDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"content": {
|
||||
"application/problem+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/FastEndpointsErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"get": {
|
||||
"tags": [
|
||||
"Approvals",
|
||||
@@ -5073,56 +5023,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesApprovalsHandlersCreateApprovalRequestRequest": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"workspaceId",
|
||||
"contentItemId",
|
||||
"stage",
|
||||
"reviewerName",
|
||||
"reviewerEmail"
|
||||
],
|
||||
"properties": {
|
||||
"workspaceId": {
|
||||
"type": "string",
|
||||
"format": "guid",
|
||||
"minLength": 1,
|
||||
"nullable": false
|
||||
},
|
||||
"contentItemId": {
|
||||
"type": "string",
|
||||
"format": "guid",
|
||||
"minLength": 1,
|
||||
"nullable": false
|
||||
},
|
||||
"stage": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"minLength": 0,
|
||||
"nullable": false
|
||||
},
|
||||
"reviewerName": {
|
||||
"type": "string",
|
||||
"maxLength": 256,
|
||||
"minLength": 0,
|
||||
"nullable": false
|
||||
},
|
||||
"reviewerEmail": {
|
||||
"type": "string",
|
||||
"format": "email",
|
||||
"maxLength": 256,
|
||||
"minLength": 0,
|
||||
"pattern": "^[^@]+@[^@]+$",
|
||||
"nullable": false
|
||||
},
|
||||
"dueAt": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"nullable": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesApprovalsHandlersGetApprovalsRequest": {
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
@@ -5139,12 +5039,6 @@
|
||||
"minLength": 1,
|
||||
"nullable": false
|
||||
},
|
||||
"comment": {
|
||||
"type": "string",
|
||||
"maxLength": 2048,
|
||||
"minLength": 0,
|
||||
"nullable": true
|
||||
},
|
||||
"reviewerName": {
|
||||
"type": "string",
|
||||
"maxLength": 256,
|
||||
@@ -5171,4 +5065,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user