doc: Swagger for custom attribute APIs (#4382)

This commit is contained in:
Muhsin Keloth
2022-04-07 19:01:31 +05:30
committed by GitHub
parent d4a046a21e
commit dfb56f6bb8
11 changed files with 453 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
type: object
properties:
attribute_display_name:
type: string
description: Attribute display name
attribute_display_type:
type: integer
description: Attribute display type (text- 0, number- 1, currency- 2, percent- 3, link- 4, date- 5, list- 6, checkbox- 7)
attribute_description:
type: string
description: Attribute description
attribute_key:
type: string
description: Attribute unique key value
attribute_values:
type: array
description: Attribute values
items:
type: string
attribute_model:
type: integer
description: Attribute type(conversation_attribute- 0, contact_attribute- 1)