Feature: Business logo API for web widget (#674)
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
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
|
||||
in: path
|
||||
@@ -20,6 +20,10 @@ patch:
|
||||
type: boolean
|
||||
required: true
|
||||
description: 'Enable Auto Assignment'
|
||||
avatar:
|
||||
type: file
|
||||
required: false
|
||||
description: 'Image file for avatar'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
# Widget
|
||||
/account/{account_id}/widget/inboxes:
|
||||
/accounts/{account_id}/widget/inboxes:
|
||||
$ref: ./widget/inboxes/create.yml
|
||||
/account/{account_id}/widget/inboxes/${id}:
|
||||
/accounts/{account_id}/widget/inboxes/${id}:
|
||||
$ref: ./widget/inboxes/update.yml
|
||||
|
||||
# Inboxes
|
||||
/account/{account_id}/inboxes:
|
||||
/accounts/{account_id}/inboxes:
|
||||
$ref: ./inboxes/index.yml
|
||||
/account/{account_id}/inboxes/{id}:
|
||||
/accounts/{account_id}/inboxes/{id}:
|
||||
$ref: ./inboxes/update.yml
|
||||
|
||||
# Conversations
|
||||
/account/{account_id}/conversations:
|
||||
/accounts/{account_id}/conversations:
|
||||
$ref: ./conversation/list.yml
|
||||
/account/{account_id}/conversations/{id}:
|
||||
/accounts/{account_id}/conversations/{id}:
|
||||
$ref: ./conversation/crud.yml
|
||||
/account/{account_id}/conversations/{id}/toggle_status:
|
||||
/accounts/{account_id}/conversations/{id}/toggle_status:
|
||||
$ref: ./conversation/toggle_status.yml
|
||||
|
||||
# Messages
|
||||
/account/{account_id}/conversations/{id}/messages:
|
||||
/accounts/{account_id}/conversations/{id}/messages:
|
||||
$ref: ./conversation/messages/index_create.yml
|
||||
|
||||
/account/{account_id}/conversations/{id}/labels:
|
||||
/accounts/{account_id}/conversations/{id}/labels:
|
||||
$ref: ./conversation/labels.yml
|
||||
|
||||
/account/{account_id}/conversations/{id}/assignments:
|
||||
/accounts/{account_id}/conversations/{id}/assignments:
|
||||
$ref: ./conversation/assignments.yml
|
||||
|
||||
# Contacts
|
||||
/account/{account_id}/contacts:
|
||||
/accounts/{account_id}/contacts:
|
||||
$ref: ./contact/list_create.yml
|
||||
/account/{account_id}/contacts/{id}:
|
||||
/accounts/{account_id}/contacts/{id}:
|
||||
$ref: ./contact/crud.yml
|
||||
/account/{account_id}/contacts/{id}/conversations:
|
||||
/accounts/{account_id}/contacts/{id}/conversations:
|
||||
$ref: ./contact/conversations.yml
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user