fix: label tags for contactable inboxes (#12838)
This commit is contained in:
parent
d6af182f82
commit
3c9c0298ba
@ -1,6 +1,6 @@
|
|||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Contact
|
- Contacts
|
||||||
operationId: contactInboxCreation
|
operationId: contactInboxCreation
|
||||||
description: Create a contact inbox record for an inbox
|
description: Create a contact inbox record for an inbox
|
||||||
summary: Create contact inbox
|
summary: Create contact inbox
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- Contact
|
- Contacts
|
||||||
operationId: contactableInboxesGet
|
operationId: contactableInboxesGet
|
||||||
description: Get List of contactable Inboxes
|
description: Get List of contactable Inboxes
|
||||||
summary: Get Contactable Inboxes
|
summary: Get Contactable Inboxes
|
||||||
|
|||||||
@ -3281,7 +3281,7 @@
|
|||||||
"/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes": {
|
"/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes": {
|
||||||
"post": {
|
"post": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Contact"
|
"Contacts"
|
||||||
],
|
],
|
||||||
"operationId": "contactInboxCreation",
|
"operationId": "contactInboxCreation",
|
||||||
"description": "Create a contact inbox record for an inbox",
|
"description": "Create a contact inbox record for an inbox",
|
||||||
@ -3366,7 +3366,7 @@
|
|||||||
"/api/v1/accounts/{account_id}/contacts/{id}/contactable_inboxes": {
|
"/api/v1/accounts/{account_id}/contacts/{id}/contactable_inboxes": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"Contact"
|
"Contacts"
|
||||||
],
|
],
|
||||||
"operationId": "contactableInboxesGet",
|
"operationId": "contactableInboxesGet",
|
||||||
"description": "Get List of contactable Inboxes",
|
"description": "Get List of contactable Inboxes",
|
||||||
|
|||||||
@ -1821,6 +1821,152 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes": {
|
||||||
|
"post": {
|
||||||
|
"tags": [
|
||||||
|
"Contacts"
|
||||||
|
],
|
||||||
|
"operationId": "contactInboxCreation",
|
||||||
|
"description": "Create a contact inbox record for an inbox",
|
||||||
|
"summary": "Create contact inbox",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/parameters/account_id"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"in": "path",
|
||||||
|
"schema": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"description": "ID of the contact",
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"userApiKey": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"requestBody": {
|
||||||
|
"required": true,
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"inbox_id"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"inbox_id": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The ID of the inbox",
|
||||||
|
"example": 1
|
||||||
|
},
|
||||||
|
"source_id": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Contact Inbox Source Id"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "Success",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/contact_inboxes"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"401": {
|
||||||
|
"description": "Authentication error",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/bad_request_error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"422": {
|
||||||
|
"description": "Incorrect payload",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/bad_request_error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"/api/v1/accounts/{account_id}/contacts/{id}/contactable_inboxes": {
|
||||||
|
"get": {
|
||||||
|
"tags": [
|
||||||
|
"Contacts"
|
||||||
|
],
|
||||||
|
"operationId": "contactableInboxesGet",
|
||||||
|
"description": "Get List of contactable Inboxes",
|
||||||
|
"summary": "Get Contactable Inboxes",
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"userApiKey": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/parameters/account_id"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"in": "path",
|
||||||
|
"schema": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"description": "ID of the contact",
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "Success",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/contactable_inboxes_response"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"401": {
|
||||||
|
"description": "Authentication error",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/bad_request_error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"422": {
|
||||||
|
"description": "Incorrect payload",
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/bad_request_error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"/api/v1/accounts/{account_id}/automation_rules": {
|
"/api/v1/accounts/{account_id}/automation_rules": {
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user