sikher / gurbanidb

An API for the Sikh Scriptures using the Laravel PHP framework
https://api.sikher.com
18 stars 4 forks source link

Improve intuitiveness of api endpoints #9

Open jasdeepkhalsa opened 9 years ago

jasdeepkhalsa commented 9 years ago

For example, it might make sense to be able to just type in the name of a field alongside resolving an integer.

For example, the search query type for first letters anywhere could be '/search/letters-anywhere' instead of /search/1/

Fields this could apply to could include: the search query type, translation id, transliteration id, random type, melody id, author id, language id