API DocsAPI Docs
get/api/groups
get/api/groups
获取我的小组列表
Basic Information
Request Method:
get
Request URL:
https://www.lycoo.com/api/groups
Tags:
小组管理
Description
获取当前登录用户所属的所有小组列表,包括用户创建的和作为成员加入的小组。
用途:
- 用户查看自己创建或加入的所有小组
- 可以区分小组中的角色(创建者/管理员/成员)
Query Parameters
Query Parameters Explanation
Query parameters are added at the end of the URL, starting with a question mark, for example:
https://www.lycoo.com/api/groups?includeDeleted=true
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
includeDeleted | boolean | Optional | true | 是否包含已删除的小组 |
Header Parameters
Header Parameters Explanation
Header parameters are used to pass additional information, such as authentication credentials, content type, etc.
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
Authorization | string | Required | Bearer sha_1234567890abcdef... | The authentication header is used to verify the identity of API requests, containing an access token Format: Bearer {token} |
Response Example
200获取小组列表成功
{
"success": true
}
401
500