Skip to content

Commit 20ab656

Browse files
authored
Update README.md
1 parent 8e16432 commit 20ab656

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -413,21 +413,21 @@ NB: You may sort on multiple fields by using multiple "order" parameters. You ca
413413
The "size" parameter limits the number of returned records. This can be used for top N lists together with the "order" parameter (use descending order).
414414

415415
```
416-
GET /records/categories?order=id&size=2
416+
GET /records/categories?order=id,desc&size=2
417417
```
418418

419419
Output:
420420

421421
```
422422
{
423423
"records":[
424-
{
425-
"id": 1
426-
"name": "Internet"
427-
},
428424
{
429425
"id": 3
430426
"name": "Web development"
427+
},
428+
{
429+
"id": 1
430+
"name": "Internet"
431431
}
432432
]
433433
}

0 commit comments

Comments
 (0)