Skip to content

Commit

Permalink
Update OpenAPI schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Dec 12, 2024
1 parent 415a22b commit 942278c
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions core-api/core-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -6828,6 +6828,43 @@
}
}
},
"/comments/{comment_id}/download/{attachment_link_id}": {
"get": {
"summary": "Download attachment for a comment",
"operationId": "download-attachment-for-a-comment",
"description": "Download an attachment file for a given comment ID",
"tags": [
"Attachments"
],
"parameters": [
{
"in": "path",
"name": "comment_id",
"required": true,
"description": "The Comment ID",
"schema": {
"type": "string",
"default": "com_1v3ef"
}
},
{
"in": "path",
"name": "attachment_link_id",
"required": true,
"description": "The Attachment ID",
"schema": {
"type": "string",
"default": "fil_55c8c149"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/attachment"
}
}
}
},
"/comments/{comment_id}/mentions": {
"get": {
"summary": "List comment mentions",
Expand Down Expand Up @@ -10212,6 +10249,43 @@
}
}
},
"/message_templates/{message_template_id}/download/{attachment_link_id}": {
"get": {
"summary": "Download attachment for a message template",
"operationId": "download-attachment-for-a-message-template",
"description": "Download an attachment file for a given comment ID",
"tags": [
"Attachments"
],
"parameters": [
{
"in": "path",
"name": "message_template_id",
"required": true,
"description": "The Message Template ID",
"schema": {
"type": "string",
"default": "rsp_1v3ef"
}
},
{
"in": "path",
"name": "attachment_link_id",
"required": true,
"description": "The Attachment ID",
"schema": {
"type": "string",
"default": "fil_55c8c149"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/attachment"
}
}
}
},
"/messages/{message_id}": {
"get": {
"summary": "Get message",
Expand Down Expand Up @@ -10239,6 +10313,43 @@
}
}
},
"/messages/{message_id}/download/{attachment_link_id}": {
"get": {
"summary": "Download attachment for a message",
"operationId": "download-attachment-for-a-message",
"description": "Download an attachment file for a given message id. Should be used by partner channels.",
"tags": [
"Attachments"
],
"parameters": [
{
"in": "path",
"name": "message_id",
"required": true,
"description": "The Message ID",
"schema": {
"type": "string",
"default": "msg_12345"
}
},
{
"in": "path",
"name": "attachment_link_id",
"required": true,
"description": "The Attachment ID",
"schema": {
"type": "string",
"default": "fil_55c8c149"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/attachment"
}
}
}
},
"/messages/{message_id}/seen": {
"get": {
"summary": "Get message seen status",
Expand Down

0 comments on commit 942278c

Please sign in to comment.