Skip to content

Commit b4bad4d

Browse files
committed
doc(readme): add sorting documentation
1 parent 82aca77 commit b4bad4d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ identifier):
206206
?filter[attribute]=ge:value
207207
```
208208

209+
210+
## Sorting
211+
212+
Resources can be sorted by an attribute:
213+
214+
```
215+
?sort=attribute // ascending
216+
?sort=-attribute // descending
217+
```
218+
209219
# Tests
210220

211221
## Running

0 commit comments

Comments
 (0)