Skip to content

Commit 1e1e6a8

Browse files
CallMeNPch3rub1m
authored andcommitted
fix typo in GLOSSARY.md and fix link in Standard_Methods.md (ch3rub1m#26)
* fix typo in GLOSSARY.md * fix link in Standard_Methods.md
1 parent 0132872 commit 1e1e6a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GLOSSARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ API接口里的单个操作。在Protocol Buffers中定义为`rpc`,通常对
3838
一群服务器以及实现API业务逻辑的相关基础设施。一个单独的的API后端服务器通常被称为一个API服务器。
3939

4040
## API前端
41-
一群服务器以及为不同API服务提供通用功能的相关基础设施,例如负载均衡和鉴权等。一个单独的API服务器通常就被称为一个API代理
41+
一群服务器以及为不同API服务提供通用功能的相关基础设施,例如负载均衡和鉴权等。一个单独的API前端服务器通常就被称为一个API代理
4242

4343
提示:API前端和后端可能跑在两个距离很近的地方或者是两个距离很远的地方。在某些情况下,它们可以被编译成一个二进制程序并跑在同一个进程上。

Standard_Methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ Delete | DELETE <resource URL> | N/A | google.proto
2727

2828
批量获取(该方法可以携带多个资源ID并且返回对应的每一个对象)应该被实现为自定义方法`BatchGet`,而不是使用`List`。但是,如果你的`List`方法已经提供了类似的功能,那么你可能可以复用`List`来实现这个意图。如果你正在使用自定义方法`BatchGet`,它应该被映射到`HTTP GET`
2929

30-
适合的通用模式:[分页](https://cloud.google.com/apis/design/design_patterns#list_pagination)[结果排序](https://cloud.google.com/apis/design/design_patterns#sorting_order)
31-
适合的命名约定:[过滤字段](https://cloud.google.com/apis/design/naming_convention#list_filter_field)[结果字段](https://cloud.google.com/apis/design/naming_convention#list_response)
30+
适合的通用模式:[分页](./Design_Patterns.md#列表分页)[结果排序](./Design_Patterns.md#排列顺序)
31+
适合的命名约定:[过滤字段](./Naming_Conventions.md#列表过滤器字段)[结果字段](./Naming_Conventions.md#列表响应)
3232

3333
HTTP映射:
3434
* `List`方法必须使用HTTP`GET`动词

0 commit comments

Comments
 (0)