Skip to content

Commit

Permalink
Update swagger CreateGroup
Browse files Browse the repository at this point in the history
Improved documentation and consistency
  • Loading branch information
TechBreakHelp authored Mar 20, 2024
1 parent 07bb33c commit 9755912
Showing 1 changed file with 61 additions and 2 deletions.
63 changes: 61 additions & 2 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": ["[email protected]","[email protected]"]
},
"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": ["[email protected]","[email protected]"]
},
"options": {
"type": "object",
"description": "Optional params",
"example": {
'messageTimer': 0,
'parentGroupId': '',
'autoSendInviteV4': true,
'comment': ''
}
}
}
}
}
}
}
}
},
"/client/getBlockedContacts/{sessionId}": {
Expand Down Expand Up @@ -7559,4 +7618,4 @@
}
}
}
}
}

0 comments on commit 9755912

Please sign in to comment.