-
-
Notifications
You must be signed in to change notification settings - Fork 240
Closed
Description
Feature Request
Thanks to the great work around #210 signal-cli-rest-api will be able to manage group members with the next release 🥳
The next step would be to show, add and remove group administrators.
API proposal
GET /v1/groups/{number}
For each group include an array of admins:
{
"admins": [
"string"
],
"blocked": true,
"id": "string",
"internal_id": "string",
"invite_link": "string",
"members": [
"string"
],
"name": "string",
"pending_invites": [
"string"
],
"pending_requests": [
"string"
]
}GET /v1/groups/{number}/{groupid}
Include an array of admins similar like shown above.
POST /v1/groups/{number}/{groupid}/admins
Similar endpoint like for adding group members.
{
"admins": [
"string"
]
}DELETE /v1/groups/{number}/{groupid}/admins
Similar endpoint like for removing group members.
{
"admins": [
"string"
]
}As of my applications, adding a new field to a JSON object would be a non-breaking change.
Metadata
Metadata
Assignees
Labels
No labels