[doc](colocate) Fix colocate api doc inconformity with code (#31430)

```
if ("POST".equalsIgnoreCase(method)) {
  colocateIndex.markGroupUnstable(groupId, "mark unstable via http api", true);
} else if ("DELETE".equalsIgnoreCase(method)) {
  colocateIndex.markGroupStable(groupId, true, null);
}
```
This commit is contained in:
deardeng
2024-02-27 14:33:58 +08:00
committed by yiguolei
parent 378ced72db
commit fb1e08ee8c
2 changed files with 4 additions and 4 deletions

View File

@ -400,7 +400,7 @@ The API is implemented on the FE side and accessed using `fe_host: fe_http_port`
* Mark as Stable
```
POST /api/colocate/group_stable?db_id=10005&group_id=10008
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
Returns: 200
```
@ -408,7 +408,7 @@ The API is implemented on the FE side and accessed using `fe_host: fe_http_port`
* Mark as Unstable
```
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
POST /api/colocate/group_stable?db_id=10005&group_id=10008
Returns: 200
```

View File

@ -401,7 +401,7 @@ Doris 提供了几个和 Colocation Join 有关的 HTTP Restful API,用于查
- 标记为 Stable
```text
POST /api/colocate/group_stable?db_id=10005&group_id=10008
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
返回:200
```
@ -409,7 +409,7 @@ Doris 提供了几个和 Colocation Join 有关的 HTTP Restful API,用于查
- 标记为 Unstable
```text
DELETE /api/colocate/group_stable?db_id=10005&group_id=10008
POST /api/colocate/group_stable?db_id=10005&group_id=10008
返回:200
```