Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit f5cd841

Browse files
committed
sort all the things
1 parent 610d7de commit f5cd841

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

readme.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,13 @@ In this example, `q[]` is encoded as `q%5B%5D` so this command works properly in
196196
Ordering
197197
-----------------
198198

199-
API results are ordered by their `created_at` timestamps. You can get results back in reverse chronological order by sending the `order` parameter set to `desc`.
199+
By default, API results are ordered in ascending direction by their `created_at` timestamps.
200200

201-
Availability times do not follow this ordering scheme.
201+
You can specify a custom column to order by sending the 'sort' parameter as the column name (eg. sort=appointment_start).
202+
203+
You can also specify the order direction by sending the 'order' parameter set to 'desc' or 'asc' (eg. order=desc).
204+
205+
Availability times are not able to be custom ordered, they are always returned chronologically.
202206

203207
API Resources
204208
-----------------

0 commit comments

Comments
 (0)