Skip to content

Commit 68ee901

Browse files
committed
Update README.md
1 parent 0ff4e62 commit 68ee901

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ PATCH /posts/1
5050
DEL /posts/1
5151
```
5252

53-
To slice resources, add `_start` and `_end`. An `X-Total-Count` header is included in the response.
53+
To slice resources, add `_start` and `_end` or `_limit`. An `X-Total-Count` header is included in the response.
5454

5555
```
56-
GET /posts?_start=0&_end=10
57-
GET /posts/1/comments?_start=0&_end=10
56+
GET /posts?_start=20&_end=30
57+
GET /posts?_start=20&_limit=10
58+
GET /posts/1/comments?_start=20&_end=30
5859
```
5960

6061
To sort resources, add `_sort` and `_order` (ascending order by default).

0 commit comments

Comments
 (0)