From 39319d2ae027964f612c01ccb17fc482fc52fca4 Mon Sep 17 00:00:00 2001 From: Joseph Giambo Date: Sun, 8 Nov 2026 10:36:36 -0800 Subject: [PATCH] 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 --- doc/EXAMPLES.md | 2 +- src/api/api.go | 2 +- src/docs/docs.go | 2 +- src/docs/swagger.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/EXAMPLES.md b/doc/EXAMPLES.md index fa518f3..cdc93da 100644 --- a/doc/EXAMPLES.md +++ b/doc/EXAMPLES.md @@ -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///terminate'` diff --git a/src/api/api.go b/src/api/api.go index af3d284..8bb0671 100644 --- a/src/api/api.go +++ b/src/api/api.go @@ -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 diff --git a/src/docs/docs.go b/src/docs/docs.go index 432f7b9..96a8e1c 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -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)", diff --git a/src/docs/swagger.json b/src/docs/swagger.json index 3f35234..0fb0953 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -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)",