Library-Distribution / ALD-API

the API (backend) for the ALD system
http://about.libba.net/docs/api/current
0 stars 0 forks source link

Support sorting parameters #24

Closed maul-esel closed 11 years ago

maul-esel commented 11 years ago

Feature

On listing APIs (items, users, suspensions, later stdlib - see #15), support a sort parameter to control sorting of the output.

Details

/items/list?sort=name+!version

Merging

According to the current release plan, this will go into 0.2.0. Most importantly, #15 must be merged first into master (and master into this branch), as it must be worked on.

maul-esel commented 11 years ago

Travis can be ignored here as it is not configured for this branch.

maul-esel commented 11 years ago

Unknown sorting fields can be tolerated without error. This makes it a little more forwards- and backwards-compatible in case any sorting fields are removed or added in the future.