Browse Source

Update README.md

Maurits van der Schee 6 years ago
parent
commit
20ab65652f
No account linked to committer's email address
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      README.md

+ 5
- 5
README.md View File

@@ -413,7 +413,7 @@ NB: You may sort on multiple fields by using multiple "order" parameters. You ca
413 413
 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).
414 414
 
415 415
 ```
416
-GET /records/categories?order=id&size=2
416
+GET /records/categories?order=id,desc&size=2
417 417
 ```
418 418
 
419 419
 Output:
@@ -421,13 +421,13 @@ Output:
421 421
 ```
422 422
     {
423 423
         "records":[
424
-            {
425
-                "id": 1
426
-                "name": "Internet"
427
-            },
428 424
             {
429 425
                 "id": 3
430 426
                 "name": "Web development"
427
+            },
428
+            {
429
+                "id": 1
430
+                "name": "Internet"
431 431
             }
432 432
         ]
433 433
     }

Loading…
Cancel
Save