Feature: Business logo API for web widget (#674)

Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2020-04-07 10:19:19 +05:30
committed by GitHub
parent e04b37dfcf
commit 4feca1d88d
11 changed files with 71 additions and 37 deletions

View File

@@ -25,7 +25,7 @@
"application/json; charset=utf-8"
],
"paths": {
"/account/{account_id}/widget/inboxes": {
"/accounts/{account_id}/widget/inboxes": {
"post": {
"tags": [
"Widget"
@@ -78,7 +78,7 @@
}
}
},
"/account/{account_id}/widget/inboxes/${id}": {
"/accounts/{account_id}/widget/inboxes/${id}": {
"patch": {
"tags": [
"Widget"
@@ -123,7 +123,7 @@
}
}
},
"/account/{account_id}/inboxes": {
"/accounts/{account_id}/inboxes": {
"get": {
"tags": [
"Inbox"
@@ -147,14 +147,14 @@
}
}
},
"/account/{account_id}/inboxes/{id}": {
"/accounts/{account_id}/inboxes/{id}": {
"patch": {
"tags": [
"Inbox"
],
"operationId": "disableAutoAssignment",
"summary": "Disable auto assignment",
"description": "Disable Auto Assignment for an inbox",
"operationId": "updateInbox",
"summary": "Update Inbox",
"description": "Add avatar and disable auto assignment for an inbox",
"parameters": [
{
"name": "id",
@@ -174,6 +174,11 @@
"type": "boolean",
"required": true,
"description": "Enable Auto Assignment"
},
"avatar": {
"type": "file",
"required": false,
"description": "Image file for avatar"
}
}
}
@@ -195,7 +200,7 @@
}
}
},
"/account/{account_id}/conversations": {
"/accounts/{account_id}/conversations": {
"get": {
"tags": [
"Conversation"
@@ -262,7 +267,7 @@
}
}
},
"/account/{account_id}/conversations/{id}": {
"/accounts/{account_id}/conversations/{id}": {
"get": {
"tags": [
"Conversation"
@@ -295,7 +300,7 @@
}
}
},
"/account/{account_id}/conversations/{id}/toggle_status": {
"/accounts/{account_id}/conversations/{id}/toggle_status": {
"post": {
"tags": [
"Conversation"
@@ -347,7 +352,7 @@
}
}
},
"/account/{account_id}/conversations/{id}/messages": {
"/accounts/{account_id}/conversations/{id}/messages": {
"get": {
"tags": [
"Messages"
@@ -434,7 +439,7 @@
}
}
},
"/account/{account_id}/conversations/{id}/labels": {
"/accounts/{account_id}/conversations/{id}/labels": {
"get": {
"tags": [
"ConversationLabels"
@@ -515,7 +520,7 @@
}
}
},
"/account/{account_id}/conversations/{id}/assignments": {
"/accounts/{account_id}/conversations/{id}/assignments": {
"post": {
"tags": [
"ConversationAssignment"
@@ -561,7 +566,7 @@
}
}
},
"/account/{account_id}/contacts": {
"/accounts/{account_id}/contacts": {
"get": {
"tags": [
"Contact"
@@ -623,7 +628,7 @@
}
}
},
"/account/{account_id}/contacts/{id}": {
"/accounts/{account_id}/contacts/{id}": {
"get": {
"tags": [
"Contact"
@@ -693,7 +698,7 @@
}
}
},
"/account/{account_id}/contacts/{id}/conversations": {
"/accounts/{account_id}/contacts/{id}/conversations": {
"get": {
"tags": [
"Contact"