tomdionysus / foaas

FOAAS (Fuck Off As A Service) provides a modern, RESTful, scalable solution to the common problem of telling people to fuck off.
http://foaas.com
Do What The F*ck You Want To Public License
2.99k stars 394 forks source link

API limitation #115

Closed noblebright closed 6 years ago

noblebright commented 8 years ago

First off,

http://www.foaas.com/awesome/Me

However, I noticed that the result "Fuck diabetes - Me" isn't possible via your API. I wanted to apply the /:thing/:from endpoint, but it ended up getting the /diabetes/:from endpoint instead. Consider disambiguating the general /:thing/from case from specific foaas cases..

tomdionysus commented 8 years ago

Yes, I've been considering moving /:thing to it's own subroute. Breaking change though, semantic versioning, yada yada.

jnawk commented 7 years ago

All new one argument endpoints break the /:thing/:from endpoint as they are added. Why not add /thing/:thing/:from as a new endpoint, and alter /:thing/:from to send HTTP 301 to /thing/:thing/:from ?

peteroreil commented 6 years ago

/%20diabetes/me