Skip to content

Commit c92aefb

Browse files
billoupc-m
authored andcommitted
Update OpenAPI specs for user creation
1 parent d54320a commit c92aefb

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

wazo_confd/plugins/user/api.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,12 @@ definitions:
728728
type: array
729729
items:
730730
type: object
731+
description: One identifier(id or uuid) must be provided
731732
properties:
732733
uuid:
733734
type: string
735+
id:
736+
type: integer
734737
switchboards:
735738
type: array
736739
items:
@@ -740,7 +743,7 @@ definitions:
740743
type: string
741744
voicemail:
742745
$ref: '#/definitions/Voicemail'
743-
description: The body of a new voicemail or a body containing an existing voicemail id that should be associated to the user.
746+
description: The body of a new voicemail or a body containing an existing voicemail ID that should be associated to the user.
744747
auth:
745748
type: object
746749
properties:
@@ -772,6 +775,13 @@ definitions:
772775
- user
773776
- internal
774777
- external_api
778+
forwards:
779+
$ref: '#/definitions/UserForwards'
780+
description: The forwards for the user
781+
fallbacks:
782+
$ref: '#/definitions/UserFallbacks'
783+
agent:
784+
$ref: '#/definitions/UserRelationAgent'
775785
allOf:
776786
- $ref: '#/definitions/UserPostRelationIncalls'
777787
UserPostResponse:

0 commit comments

Comments
 (0)