diff --git a/open-api/content/content-category.md b/open-api/content/content-category.md index 08a227f0..7aedc633 100644 --- a/open-api/content/content-category.md +++ b/open-api/content/content-category.md @@ -198,7 +198,7 @@ https://cloud.minapp.com/oserve/v1/content/1/category/ **接口** -`PUT https://cloud.minapp.com/oserve/v1/content/:content_group_id/catgegory/:category_id/` +`PUT https://cloud.minapp.com/oserve/v1/content/:content_group_id/category/:category_id/` **代码示例** diff --git a/open-api/content/content.md b/open-api/content/content.md index 10efe612..004b1074 100644 --- a/open-api/content/content.md +++ b/open-api/content/content.md @@ -70,7 +70,7 @@ https://cloud.minapp.com/oserve/v1/content/1/text/1/ **提交参数** -内容查询与[数据表接口](../record.md)查询保持一致 +内容查询与[数据表接口](../data/record.md)查询保持一致 **代码示例** diff --git a/open-api/data/table.md b/open-api/data/table.md index 218f0446..6274008b 100644 --- a/open-api/data/table.md +++ b/open-api/data/table.md @@ -404,3 +404,22 @@ https://cloud.minapp.com/oserve/v1/table/1/ `200`: 修改成功 `400`: 表名已存在;不合法的数据 + +## 删除数据表 + +**接口** + +`DELETE https://cloud.minapp.com/oserve/v1/table/:table_id/` + +**代码示例** + +``` +curl -X DELETE \ +-H "cookie: {{ cookie }}" \ +-H "Content-Type: application/json" \ +https://cloud.minapp.com/oserve/v1/table/1/ +``` + +**状态码说明** + +`204`: 删除成功 diff --git a/user-dash/content/content-category.md b/user-dash/content/content-category.md index 9c6bd1e4..f5c4e780 100644 --- a/user-dash/content/content-category.md +++ b/user-dash/content/content-category.md @@ -180,7 +180,7 @@ https://cloud.minapp.com/userve/v1/content/1/category/ **接口** -`PUT https://cloud.minapp.com/userve/v1/content/:content_group_id/catgegory/:category_id/` +`PUT https://cloud.minapp.com/userve/v1/content/:content_group_id/category/:category_id/` **代码示例** diff --git a/user-dash/content/content.md b/user-dash/content/content.md index 529e2e83..a5a187ca 100644 --- a/user-dash/content/content.md +++ b/user-dash/content/content.md @@ -64,7 +64,7 @@ https://cloud.minapp.com/userve/v1/content/1/text/1/ **提交参数** -内容查询与[数据表接口](../record.md)查询保持一致 +内容查询与[数据表接口](../data/record.md)查询保持一致 **代码示例** diff --git a/user-dash/data/table.md b/user-dash/data/table.md index caa26937..44152b49 100644 --- a/user-dash/data/table.md +++ b/user-dash/data/table.md @@ -28,7 +28,7 @@ | user:<:user_id> | String| 某个用户可写/可读 | | gid:<:group_id> | String| 某个分组下的用户可写/可读 | -具体描述与使用场景可参考[ACL 访问控制列表](../dashboard/acl.md)。 +具体描述与使用场景可参考[ACL 访问控制列表](../../dashboard/acl.md)。 参数 schema 用于存储数据表字段的元信息,其结构遵循[JSON-Table-Schema](https://frictionlessdata.io/specs/table-schema/)的描述。 @@ -378,3 +378,22 @@ https://cloud.minapp.com/userve/v1/table/1/ `200`: 修改成功 `400`: 表名已存在;不合法的数据 + +## 删除数据表 + +**接口** + +`DELETE https://cloud.minapp.com/userve/v1/table/:table_id/` + +**代码示例** + +``` +curl -X DELETE \ +-H "cookie: {{ cookie }}" \ +-H "Content-Type: application/json" \ +https://cloud.minapp.com/userve/v1/table/1/ +``` + +**状态码说明** + +`204`: 删除成功