1
superchijinpeng 2020-05-13 21:23:42 +08:00 via iPhone 1
用 fliter 就好了 1: /applications?我申请的=true 2: /applications?我参与的=true
|
2
jerray 2020-05-13 21:49:01 +08:00 1
1. /applications?issuer=uid
2. /applications?related=uid 不论是我的还是谁的,都是在按照条件做筛选。 |
3
ChanKc 2020-05-14 10:09:17 +08:00 1
无所谓
Roy T Fielding: A REST API must not define fixed resource names or hierarchies (an obvious coupling of client and server). Servers must have the freedom to control their own namespace. Instead, allow servers to instruct clients on how to construct appropriate URIs, such as is done in HTML forms and URI templates, by defining those instructions within media types and link relations. [Failure here implies that clients are assuming a resource structure due to out-of band information, such as a domain-specific standard, which is the data-oriented equivalent to RPC’s functional coupling]. |