warmshowers / Warmshowers.org

The code for warmshowers.org. If you'd like to help develop code for Warmshowers.org or if you would like to handle some of the website configuration/sitebuilding tasks in the issue queue, please let me know.
http://www.warmshowers.org
60 stars 22 forks source link

Add REST API support for retrieving feedback given by a user #630

Open klzig opened 9 years ago

klzig commented 9 years ago

As a touring cyclist evaluating potential hosts, it's valuable to look at feedback given as well as received. This would also provide better symmetry with the web site.

The API could look something like:

Read feedback given by a user

GET /services/rest/feedback_given/ Accept: application/json Cookie: = (obtained from login)

rfay commented 9 years ago

Feedback is already there, both iOS and Android apps provide it. Should be documented in wiki.

klzig commented 9 years ago

Feedback given by a user? I see feedback received by a user, and show it in the windows app as well.

kalpaitch commented 9 years ago

Agreed @klzig I will have a look.

rfay commented 9 years ago

Sorry, you're right. The other is easy though. I'll be happy to help you figure it out when I get back. It's already supported.

rfay commented 9 years ago

I was wrong that this is currently easily available out of the box, but it's not hard. Please let me know when you are planning to implement with it (and after the D7 upgrade) and we'll figure out a way to get it for you.

klzig commented 9 years ago

It would be nice to get this into the 2.0 release of the app. I'll be working on that over the winter, hope to be done before the touring season in the northern hemisphere ramps up in early spring.