chore: Swagger documentation for public APIs (#2417)
This commit is contained in:
14
swagger/paths/public/inboxes/conversations/create.yml
Normal file
14
swagger/paths/public/inboxes/conversations/create.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
tags:
|
||||
- Conversations API
|
||||
operationId: create-a-conversation
|
||||
summary: Create a conversation
|
||||
description: Create a conversation
|
||||
security:
|
||||
- nil
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/public_conversation'
|
||||
401:
|
||||
description: Unauthorized
|
||||
15
swagger/paths/public/inboxes/conversations/index.yml
Normal file
15
swagger/paths/public/inboxes/conversations/index.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
tags:
|
||||
- Conversations API
|
||||
operationId: list-all-contact-conversations
|
||||
summary: List all conversations
|
||||
description: List all conversations for the contact
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
type: array
|
||||
description: 'Array of conversations'
|
||||
items:
|
||||
$ref: '#/definitions/public_conversation'
|
||||
401:
|
||||
description: Unauthorized
|
||||
Reference in New Issue
Block a user