Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Cong committed Mar 8, 2018
1 parent fd65536 commit 8e3717b
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 1,037 deletions.
5 changes: 0 additions & 5 deletions open-api/data/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ https://cloud.minapp.com/oserve/v1/table/
{
"id": 1,
"name": "Table",
"is_protected": false,
"protected_fields": null,
"schema": {
"fields": [
Expand Down Expand Up @@ -195,7 +194,6 @@ https://cloud.minapp.com/oserve/v1/table/
| :--------------- | :----------- | :------- |
| id | Integer | 数据表 ID |
| name | String | 数据表名 |
| is_protected | Boolean | 数据表是否为内置表的标志位,true 为内置表 |
| protected_fields | String Array | 内置表的保护字段,若数据表不是内置表,该字段为 null |
| schema | Object | 数据表字段的元信息 |
| write_perm | String Array | 数据表写权限 |
Expand Down Expand Up @@ -237,7 +235,6 @@ https://cloud.minapp.com/oserve/v1/table/1/
{
"id": 1,
"name": "Table",
"is_protected": false,
"protected_fields": null,
"schema": {
"fields": [
Expand Down Expand Up @@ -309,7 +306,6 @@ https://cloud.minapp.com/oserve/v1/table/
"objects": [
{
"id": 1,
"is_protected": false,
"name": "Table",
"protected_fields": null,
"schema": {
Expand Down Expand Up @@ -376,7 +372,6 @@ https://cloud.minapp.com/oserve/v1/table/1/
{
"id": 1,
"name": "table",
"is_protected": false,
"protected_fields": null,
"schema": {
"fields": [
Expand Down
41 changes: 5 additions & 36 deletions user-dash/content/content-category.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,13 @@

**代码示例**

{% tabs getContentCategoryCurl="Curl"%}

{% content "getContentCategoryCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/category/1/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -78,19 +72,13 @@ https://cloud.minapp.com/userve/v1/content/1/category/1/

**代码示例**

{% tabs getContentCategoryListCurl="Curl"%}

{% content "getContentCategoryListCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/category/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -158,22 +146,16 @@ Content-Type: `application/json`
**代码示例**

{% tabs createContentCategoryCurl="Curl"%}

{% content "createContentCategoryCurl" %}

```
curl -X POST \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{
"name": "分类1",
}' \
https://cloud.minapp.com/userve/v1/content/1/category/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -203,22 +185,16 @@ https://cloud.minapp.com/userve/v1/content/1/category/

**代码示例**

{% tabs updateContentCategoryCurl="Curl"%}

{% content "updateContentCategoryCurl" %}

```
curl -X PUT \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{
"name": "Test Category"
}' \
https://cloud.minapp.com/userve/v1/content/1/category/3/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -247,20 +223,13 @@ https://cloud.minapp.com/userve/v1/content/1/category/3/

**代码示例**

{% tabs deleteContentCategoryCurl="Curl"%}

{% content "deleteContentCategoryCurl" %}

```
curl -X DELETE \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/category/1/
```

{% endtabs %}


**状态码说明**

`204`: 删除成功
41 changes: 5 additions & 36 deletions user-dash/content/content-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,13 @@

**代码示例**

{% tabs getContentGroupCurl="Curl"%}

{% content "getContentGroupCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -53,19 +47,13 @@ https://cloud.minapp.com/userve/v1/content/1/

**代码示例**

{% tabs getContentGroupListCurl="Curl"%}

{% content "getContentGroupListCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -106,13 +94,9 @@ Content-Type: `application/json`

**代码示例**

{% tabs createContentGroupCurl="Curl"%}

{% content "createContentGroupCurl" %}

```
curl -X POST \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{
"name": "Content Group",
Expand All @@ -121,8 +105,6 @@ curl -X POST \
https://cloud.minapp.com/userve/v1/content/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -151,22 +133,16 @@ https://cloud.minapp.com/userve/v1/content/

**代码示例**

{% tabs updateContentGroupCurl="Curl"%}

{% content "updateContentGroupCurl" %}

```
curl -X PUT \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{
"name": "Test Group"
}' \
https://cloud.minapp.com/userve/v1/content/2/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -195,20 +171,13 @@ https://cloud.minapp.com/userve/v1/content/2/

**代码示例**

{% tabs deleteContentGroupCurl="Curl"%}

{% content "deleteContentGroupCurl" %}

```
curl -X DELETE \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/2/
```

{% endtabs %}


**状态码说明**

`204`: 删除成功
41 changes: 5 additions & 36 deletions user-dash/content/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@

**代码示例**

{% tabs getRichTextEntryCurl="Curl"%}

{% content "getRichTextEntryCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/text/1/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -74,19 +68,13 @@ https://cloud.minapp.com/userve/v1/content/1/text/1/

**代码示例**

{% tabs getRichTextEntryListCurlCurl="Curl"%}

{% content "getRichTextEntryListCurlCurl" %}

```
curl -X GET \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/text/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -153,20 +141,14 @@ Content-Type: `application/json`

**代码示例**

{% tabs createRichTextEntryCurl="Curl"%}

{% content "createRichTextEntryCurl" %}

```
curl -X POST \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{"title": "Test Title"}' \
https://cloud.minapp.com/userve/v1/content/1/text/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -203,20 +185,14 @@ https://cloud.minapp.com/userve/v1/content/1/text/

**代码示例**

{% tabs updateRichTextEntryCurl="Curl"%}

{% content "updateRichTextEntryCurl" %}

```
curl -X PUT \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
-d '{"name": "Test Category"}' \
https://cloud.minapp.com/userve/v1/content/1/text/2/
```

{% endtabs %}

**返回示例**

```json
Expand Down Expand Up @@ -246,20 +222,13 @@ https://cloud.minapp.com/userve/v1/content/1/text/2/

**代码示例**

{% tabs deleteRichTextEntryCurl="Curl"%}

{% content "deleteRichTextEntryCurl" %}

```
curl -X DELETE \
-H "Authorization: Bearer cfb5912724dd7ff0b0c17683cc3074bb548bc7f4" \
-H "cookie: {{ cookie }}" \
-H "Content-Type: application/json" \
https://cloud.minapp.com/userve/v1/content/1/text/1/
```

{% endtabs %}


**状态码说明**

`204`: 删除成功
Loading

0 comments on commit 8e3717b

Please sign in to comment.