Always use plural for resources name (#157)

This commit is contained in:
Thomas Schaaf 2020-10-06 10:50:54 +02:00 committed by GitHub
parent aebebd5fa6
commit 9cb84dc9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -686,7 +686,7 @@ The **client app did something wrong** or The **API did something wrong**.
* The amount of data the resource exposes should also be taken into account. The API consumer doesn't always need the full representation of a resource. Use a fields query parameter that takes a comma separated list of fields to include:
```
GET /student?fields=id,name,age,class
GET /students?fields=id,name,age,class
```
* Pagination, filtering, and sorting dont need to be supported from start for all resources. Document those resources that offer filtering and sorting.