From 9cb84dc9aea92db1765d76e1563ff586e698ad82 Mon Sep 17 00:00:00 2001 From: Thomas Schaaf Date: Tue, 6 Oct 2020 10:50:54 +0200 Subject: [PATCH] Always use plural for resources name (#157) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55b3ff7..c29ce8b 100644 --- a/README.md +++ b/README.md @@ -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 don’t need to be supported from start for all resources. Document those resources that offer filtering and sorting.