diff --git a/swagger.json b/swagger.json index 0c89a436..1745ec2e 100644 --- a/swagger.json +++ b/swagger.json @@ -799,7 +799,66 @@ { "apiKeyAuth": [] } - ] + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Title of the group", + "example": "Test Group" + }, + "participants": { + "type": "string", + "description": "Participants ID in Array", + "example": ["123456789@c.us","987654321@c.us"] + }, + "options": { + "type": "object", + "description": "Optional params", + "example": { + 'messageTimer': 0, + 'parentGroupId': '', + 'autoSendInviteV4': true, + 'comment': '' + } + } + } + } + }, + "application/xml": { + "schema": { + "type": "object", + "properties": { + "title": { + "type": "string", + "description": "Title of the group", + "example": "Test Group" + }, + "participants": { + "type": "string", + "description": "Participants in Array", + "example": ["123456789@c.us","987654321@c.us"] + }, + "options": { + "type": "object", + "description": "Optional params", + "example": { + 'messageTimer': 0, + 'parentGroupId': '', + 'autoSendInviteV4': true, + 'comment': '' + } + } + } + } + } + } + } } }, "/client/getBlockedContacts/{sessionId}": { @@ -7559,4 +7618,4 @@ } } } -} \ No newline at end of file +}