# 分组接口

## 分组list

<mark style="color:green;">`POST`</mark> `/group/list`

#### Request Body

| Name                                       | Type | Description |
| ------------------------------------------ | ---- | ----------- |
| page<mark style="color:red;">\*</mark>     | Int  | 分页，从0开始     |
| pageSize<mark style="color:red;">\*</mark> | Int  | 分页条数，例如10   |

## 添加分组

<mark style="color:green;">`POST`</mark> `/group/add`

添加分组

#### Request Body

| Name                                        | Type   | Description |
| ------------------------------------------- | ------ | ----------- |
| groupName<mark style="color:red;">\*</mark> | String | 分组名称        |
| sortNum                                     | Int    | 排序          |

## 修改分组

<mark style="color:green;">`POST`</mark> `/group/edit`

#### Request Body

| Name                                        | Type   | Description |
| ------------------------------------------- | ------ | ----------- |
| id<mark style="color:red;">\*</mark>        | String | 分组id        |
| groupName<mark style="color:red;">\*</mark> | String | 分组名称        |
| sortNum                                     | Int    | 排序          |

## 删除分组

<mark style="color:green;">`POST`</mark> `/group/delete`

#### Request Body

| Name                                 | Type   | Description |
| ------------------------------------ | ------ | ----------- |
| id<mark style="color:red;">\*</mark> | String | 分组id        |

## 分组详情

<mark style="color:green;">`POST`</mark> `/group/detail`

#### Request Body

| Name                                 | Type   | Description |
| ------------------------------------ | ------ | ----------- |
| id<mark style="color:red;">\*</mark> | String | 分组id        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.bitbrowser.net/zh/api-jie-kou-wen-dang/fen-zu-jie-kou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
