samvdb/KHLeuven-sip — Issue #2: PHP API: Voting
Author: samvdb
Created: 2011-11-05 17:16:42+00:00
State: open

PHP API for voting on the images.

* Thumbs UP / Thumbs Down voting
* [POST] /vote/:imageid/:deviceid/up

A POST request should be intercepted on the following url. All votes need to be stores in the database and tagged with a device ID.

* [POST] /vote/:imageid/:deviceid/down

Same as above but this is a down vote on the image.

* Flag Vote
* [POST] /flag/:imageid/:deviceid

Mark the image, (do we remove it instantly? )