fd0c26cdae
Add API documentation for teams
74 lines
1.7 KiB
YAML
74 lines
1.7 KiB
YAML
|
|
|
|
|
|
# Inboxes
|
|
/accounts/{account_id}/inboxes:
|
|
$ref: ./inboxes/index.yml
|
|
/accounts/{account_id}/inboxes:
|
|
$ref: ./inboxes/create.yml
|
|
/accounts/{account_id}/inboxes/{id}:
|
|
$ref: ./inboxes/update.yml
|
|
/accounts/{account_id}/inboxes/{id}/set_agent_bot:
|
|
$ref: ./inboxes/set_agent_bot.yml
|
|
|
|
/agent_bots:
|
|
$ref: ./agent_bots/index.yml
|
|
|
|
# Conversations
|
|
/accounts/{account_id}/conversations:
|
|
$ref: ./conversation/index_or_create.yml
|
|
/accounts/{account_id}/conversations/{id}:
|
|
$ref: ./conversation/crud.yml
|
|
/accounts/{account_id}/conversations/{id}/toggle_status:
|
|
$ref: ./conversation/toggle_status.yml
|
|
|
|
# Messages
|
|
/accounts/{account_id}/conversations/{id}/messages:
|
|
$ref: ./conversation/messages/index_create.yml
|
|
|
|
/accounts/{account_id}/conversations/{id}/labels:
|
|
$ref: ./conversation/labels.yml
|
|
|
|
/accounts/{account_id}/conversations/{id}/assignments:
|
|
$ref: ./conversation/assignments.yml
|
|
|
|
# Contacts
|
|
/accounts/{account_id}/contacts:
|
|
$ref: ./contact/list_create.yml
|
|
|
|
/accounts/{account_id}/contacts/{id}:
|
|
$ref: ./contact/crud.yml
|
|
|
|
/accounts/{account_id}/contacts/{id}/conversations:
|
|
$ref: ./contact/conversations.yml
|
|
|
|
/accounts/{account_id}/contacts/search:
|
|
$ref: ./contact/search.yml
|
|
|
|
/accounts/{account_id}/contacts/{id}/contact_inboxes:
|
|
$ref: ./contact_inboxes/create.yml
|
|
|
|
|
|
# Profile
|
|
/profile:
|
|
$ref: ./profile/index.yml
|
|
|
|
# Teams
|
|
/accounts/{account_id}/teams:
|
|
parameters:
|
|
- $ref: '#/parameters/account_id'
|
|
get:
|
|
$ref: ./teams/index.yml
|
|
post:
|
|
$ref: ./teams/create.yml
|
|
|
|
/accounts/{account_id}/teams/{id}:
|
|
parameters:
|
|
- $ref: '#/parameters/account_id'
|
|
- $ref: '#/parameters/team_id'
|
|
get:
|
|
$ref: './teams/show.yml'
|
|
patch:
|
|
$ref: ./teams/update.yml
|
|
delete:
|
|
$ref: ./teams/delete.yml
|