File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1007,8 +1007,7 @@ an endpoint **MUST NOT** include additional [fields] in resource objects of
1007
1007
that type in its response.
1008
1008
1009
1009
If a client does not specify the set of [ fields] for a given resource type,
1010
- the server ** MAY** send a subset of the set of fields defined for the resource
1011
- type; an empty set is acceptable.
1010
+ the server ** MAY** send all fields, a subset of fields, or no fields for that resource type.
1012
1011
1013
1012
``` http
1014
1013
GET /articles?include=author&fields[articles]=title,body&fields[people]=name HTTP/1.1
Original file line number Diff line number Diff line change @@ -1158,8 +1158,7 @@ an endpoint **MUST NOT** include additional [fields] in resource objects of
1158
1158
that type in its response.
1159
1159
1160
1160
If a client does not specify the set of [ fields] for a given resource type,
1161
- the server ** MAY** send a subset of the set of fields defined for the resource
1162
- type; an empty set is acceptable.
1161
+ the server ** MAY** send all fields, a subset of fields, or no fields for that resource type.
1163
1162
1164
1163
``` http
1165
1164
GET /articles?include=author&fields[articles]=title,body&fields[people]=name HTTP/1.1
You can’t perform that action at this time.
0 commit comments