Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
26
research/chatwoot/swagger/paths/platform/accounts/create.yml
Normal file
26
research/chatwoot/swagger/paths/platform/accounts/create.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
tags:
|
||||
- Accounts
|
||||
operationId: create-an-account
|
||||
summary: Create an Account
|
||||
description: Create an Account
|
||||
security:
|
||||
- platformAppApiKey: []
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/account_create_update_payload'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/platform_account'
|
||||
401:
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
22
research/chatwoot/swagger/paths/platform/accounts/delete.yml
Normal file
22
research/chatwoot/swagger/paths/platform/accounts/delete.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
tags:
|
||||
- Accounts
|
||||
operationId: delete-an-account
|
||||
summary: Delete an Account
|
||||
description: Delete an Account
|
||||
security:
|
||||
- platformAppApiKey: []
|
||||
responses:
|
||||
'200':
|
||||
description: Success
|
||||
'401':
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
'404':
|
||||
description: The account does not exist
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
26
research/chatwoot/swagger/paths/platform/accounts/show.yml
Normal file
26
research/chatwoot/swagger/paths/platform/accounts/show.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
tags:
|
||||
- Accounts
|
||||
operationId: get-details-of-an-account
|
||||
summary: Get an account details
|
||||
description: Get the details of an account
|
||||
security:
|
||||
- platformAppApiKey: []
|
||||
responses:
|
||||
'200':
|
||||
description: Success
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/platform_account'
|
||||
'401':
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
'404':
|
||||
description: The given account does not exist
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
26
research/chatwoot/swagger/paths/platform/accounts/update.yml
Normal file
26
research/chatwoot/swagger/paths/platform/accounts/update.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
tags:
|
||||
- Accounts
|
||||
operationId: update-an-account
|
||||
summary: Update an account
|
||||
description: Update an account's attributes
|
||||
security:
|
||||
- platformAppApiKey: []
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/account_create_update_payload'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/platform_account'
|
||||
401:
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/bad_request_error'
|
||||
Reference in New Issue
Block a user