diff --git a/assets/openapi.json b/assets/openapi.json
index a6ccabe4..5de9ed29 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -224,6 +224,20 @@
"message"
]
},
+ "PollUserAnswersSchema": {
+ "type": "object",
+ "properties": {
+ "answer_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "answer_ids"
+ ]
+ },
"ActivitySchema": {
"type": "object",
"properties": {
@@ -24810,6 +24824,54 @@
]
}
},
+ "/channels/{channel_id}/polls/{poll_id}/answers/@me/": {
+ "put": {
+ "x-permission-required": "VIEW_CHANNEL",
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PollUserAnswersSchema"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
+ },
+ {
+ "name": "poll_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "poll_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
"/channels/{channel_id}/pins/{message_id}": {
"put": {
"x-permission-required": "VIEW_CHANNEL",
|