/api endpoints
one way to avoid generating apiroutes each time
Merge pull request #74 from georules/apiendpoint

/api endpoints