chore: Swagger documentation for public APIs (#2417)

This commit is contained in:
Sojan Jose
2021-06-16 00:14:09 +05:30
committed by GitHub
parent 2b9c93a1b3
commit af8223545e
22 changed files with 978 additions and 186 deletions

View File

@@ -0,0 +1,21 @@
type: object
properties:
identifier:
type: string
description: External identifier of the contact
identifier_hash:
type: string
description: Identifier hash prepared for HMAC authentication
email:
type: string
description: Email of the contact
name:
type: string
description: Name of the contact
avatar_url:
type: string
description: The url to a jpeg, png file for the user avatar
custom_attributes:
type: object
description: Custom attributes of the customer

View File

@@ -0,0 +1,10 @@
type: object
properties:
content:
type: string
description: Content for the message
echo_id:
type: string
description: Temporary identifier which will be passed back via websockets

View File

@@ -0,0 +1,8 @@
type: object
properties:
submitted_values:
type: object
description: Replies to the Bot Message Types