Skip to content

Commit

Permalink
Merge pull request #317 from zhanghengrui-ifanr/master
Browse files Browse the repository at this point in the history
修复删除索引接口错误
  • Loading branch information
zhanghengrui-ifanr authored Sep 22, 2022
2 parents 23bf3b6 + bbc6de3 commit c525aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions open-api/data/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ curl_close($ch);

**接口**

`DELETE https://cloud.minapp.com/oserve/v2.6/schema/:schema_id/index/:index_name`
`DELETE https://cloud.minapp.com/oserve/v2.6/schema/:schema_id/index/:index_name/`

**代码示例**

Expand All @@ -855,7 +855,7 @@ curl_close($ch);
curl -X DELETE \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1
https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1/
```

{% content "deleteIndexPHP" %}
Expand All @@ -864,7 +864,7 @@ https://cloud.minapp.com/oserve/v2.6/schema/20/index/name_1
<?php
$shema_id = 1; // 关联表 ID
$index_name = "name_1"; // 索引名
$url = "https://cloud.minapp.com/oserve/v2.6/schema/{$shema_id}/index/{$index_name}";
$url = "https://cloud.minapp.com/oserve/v2.6/schema/{$shema_id}/index/{$index_name}/";

$ch = curl_init();
$header = array(
Expand Down

0 comments on commit c525aa6

Please sign in to comment.