-
Notifications
You must be signed in to change notification settings - Fork 66
Constant Parameters
Selahattin edited this page Oct 12, 2015
·
7 revisions
Parameters (String column, String direction) or (String "random")
Default id,desc
Example: ?order_by=id,desc
, ?order_by=random
Parameters (String groups)
Default -
Example: ?group_by=id,name,....
Parameters (Integer limit or String 'unlimited')
Default 15
Example ?limit=5, ?limit=unlimited
Parameters (Integer page)
Default 1
Example ?page=3
select columns
Parameters (String columns)
Default *
Examples
- ?columns=name,age,id
- ?columns=*,city.id,city.name,country.name
Eager Loading.
Parameters (String includes)
Default []
Example ?includes=city,country,town