wip
This commit is contained in:
@@ -1221,6 +1221,135 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/feedback/{id}/comments": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Feedback",
|
||||
"Api"
|
||||
],
|
||||
"operationId": "SocializeApiModulesFeedbackHandlersAddDeveloperFeedbackCommentHandler",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"x-name": "AddFeedbackCommentRequest",
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackHandlersAddFeedbackCommentRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true,
|
||||
"x-position": 1
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"content": {
|
||||
"application/problem+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/FastEndpointsErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/my-feedback/{id}/comments": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"Feedback",
|
||||
"Api"
|
||||
],
|
||||
"operationId": "SocializeApiModulesFeedbackHandlersAddMyFeedbackCommentHandler",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"x-name": "AddFeedbackCommentRequest",
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackHandlersAddFeedbackCommentRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true,
|
||||
"x-position": 1
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"content": {
|
||||
"application/problem+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/FastEndpointsErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/my-feedback/{id}/screenshot": {
|
||||
"post": {
|
||||
"tags": [
|
||||
@@ -1383,7 +1512,7 @@
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"Developer"
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1448,7 +1577,54 @@
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"Developer"
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/feedback/{id}/timeline": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Feedback",
|
||||
"Api"
|
||||
],
|
||||
"operationId": "SocializeApiModulesFeedbackHandlersGetDeveloperFeedbackTimelineHandler",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
},
|
||||
"403": {
|
||||
"description": "Forbidden"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1532,6 +1708,48 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/my-feedback/{id}/timeline": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"Feedback",
|
||||
"Api"
|
||||
],
|
||||
"operationId": "SocializeApiModulesFeedbackHandlersGetMyFeedbackTimelineHandler",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Unauthorized"
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/feedback": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -1563,7 +1781,7 @@
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"Developer"
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -1650,7 +1868,7 @@
|
||||
"security": [
|
||||
{
|
||||
"JWTBearerAuth": [
|
||||
"Developer"
|
||||
"developer"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -2727,6 +2945,59 @@
|
||||
"timeZone": {
|
||||
"type": "string"
|
||||
},
|
||||
"approvalMode": {
|
||||
"type": "string"
|
||||
},
|
||||
"schedulePostsAutomaticallyOnApproval": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"lockContentAfterApproval": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sendAutomaticApprovalReminders": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"approvalSteps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesWorkspacesHandlersApprovalStepConfigurationDto"
|
||||
}
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesWorkspacesHandlersApprovalStepConfigurationDto": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"format": "guid"
|
||||
},
|
||||
"workspaceId": {
|
||||
"type": "string",
|
||||
"format": "guid"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"sortOrder": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"targetType": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"requiredApproverCount": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2858,6 +3129,52 @@
|
||||
"maxLength": 128,
|
||||
"minLength": 0,
|
||||
"nullable": false
|
||||
},
|
||||
"approvalMode": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"schedulePostsAutomaticallyOnApproval": {
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
},
|
||||
"lockContentAfterApproval": {
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
},
|
||||
"sendAutomaticApprovalReminders": {
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
},
|
||||
"approvalSteps": {
|
||||
"type": "array",
|
||||
"nullable": true,
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesWorkspacesHandlersUpdateApprovalStepConfigurationRequest"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesWorkspacesHandlersUpdateApprovalStepConfigurationRequest": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"sortOrder": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"targetType": {
|
||||
"type": "string"
|
||||
},
|
||||
"targetValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"requiredApproverCount": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3388,6 +3705,72 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"format": "guid"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"actorUserId": {
|
||||
"type": "string",
|
||||
"format": "guid"
|
||||
},
|
||||
"actorDisplayName": {
|
||||
"type": "string"
|
||||
},
|
||||
"actorEmail": {
|
||||
"type": "string"
|
||||
},
|
||||
"actorRole": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"body": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"activityType": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"fromValue": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"toValue": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"note": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesFeedbackHandlersAddFeedbackCommentRequest": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"body"
|
||||
],
|
||||
"properties": {
|
||||
"body": {
|
||||
"type": "string",
|
||||
"maxLength": 8000,
|
||||
"minLength": 0,
|
||||
"nullable": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"SocializeApiModulesFeedbackContractsFeedbackReportDto": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -3435,6 +3818,12 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SocializeApiModulesFeedbackContractsFeedbackTimelineItemDto"
|
||||
}
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4419,6 +4808,29 @@
|
||||
"type": "string",
|
||||
"format": "guid"
|
||||
},
|
||||
"workflowInstanceId": {
|
||||
"type": "string",
|
||||
"format": "guid",
|
||||
"nullable": true
|
||||
},
|
||||
"workflowStepSortOrder": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"nullable": true
|
||||
},
|
||||
"workflowStepTargetType": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"workflowStepTargetValue": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"workflowStepRequiredApproverCount": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"nullable": true
|
||||
},
|
||||
"stage": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4563,8 +4975,7 @@
|
||||
"properties": {
|
||||
"decision": {
|
||||
"type": "string",
|
||||
"maxLength": 64,
|
||||
"minLength": 0,
|
||||
"minLength": 1,
|
||||
"nullable": false
|
||||
},
|
||||
"comment": {
|
||||
|
||||
Reference in New Issue
Block a user