eevee / floof

Some kind of art site.
http://bugs.veekun.com/projects/floof
ISC License
10 stars 4 forks source link

API #84

Open eevee opened 11 years ago

eevee commented 11 years ago

Probably a tracking/planning ticket, because this is a big thing. But whatever can be done on the site, should be doable with an API.

Not critically important early on, but really nice to have.

epii commented 11 years ago

Haha, well, the OAuth2 implementation in the oauth branch is fully functional. Unfortunately, the branch assumes the API should be a separate app under /api, and I'm still not sure whether /api/* with a separate auth infrastructure or *.json with a NewRequest hook to use the right auth or what is a better approach.

WRT linking resources, I think I read the same blog post once. One of the other problems with a shared-app approach is URL generation. I'm not really in a hurry to replace Request.route_url. Maybe there is another way?