mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-11-11 11:30:46 +00:00
Terminate group docs: drop the groups v2 detail
As suggested in review: it's confusing for most people, and signal-cli returns an error if it doesn't apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
605badab81
commit
39319d2ae0
@ -127,7 +127,7 @@ e.g:
|
||||
|
||||
- Terminate (end) a group for everyone
|
||||
|
||||
Permanently end the group with the given group id for all members. Afterwards nobody, not even an admin, can send messages or start calls in the group, but members keep the message history. This can't be undone. The account must be an admin of the group, and only groups v2 are supported.
|
||||
Permanently end the group with the given group id for all members. Afterwards nobody, not even an admin, can send messages or start calls in the group, but members keep the message history. This can't be undone. The account must be an admin of the group.
|
||||
|
||||
`curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/groups/<number>/<group id>/terminate'`
|
||||
|
||||
|
||||
@ -1792,7 +1792,7 @@ func (a *Api) QuitGroup(c *gin.Context) {
|
||||
|
||||
// @Summary Terminate a Signal Group for all members.
|
||||
// @Tags Groups
|
||||
// @Description Permanently end the specified Signal Group for everyone ("End group" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group and is only supported for groups v2.
|
||||
// @Description Permanently end the specified Signal Group for everyone ("End group" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group.
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Success 204 {string} OK
|
||||
|
||||
@ -4087,7 +4087,7 @@ const docTemplate = `{
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"description": "Permanently end the specified Signal Group for everyone (\"End group\" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group and is only supported for groups v2.",
|
||||
"description": "Permanently end the specified Signal Group for everyone (\"End group\" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group.",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Account identifier (E.164 phone number or ACI UUID)",
|
||||
|
||||
@ -4082,7 +4082,7 @@
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"description": "Permanently end the specified Signal Group for everyone (\"End group\" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group and is only supported for groups v2.",
|
||||
"description": "Permanently end the specified Signal Group for everyone (\"End group\" in the Signal apps). Afterwards no member, not even an admin, can send messages or start calls in the group; members keep the existing message history. This can't be undone. Requires admin rights in the group.",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Account identifier (E.164 phone number or ACI UUID)",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user