AgileVentures / asyncvoter-api

For Voting on Stories and Tickets remotely and asynchronously e.g. planning poker
5 stars 7 forks source link

When Bot votes should know if the voting as ended #49

Open joaopapereira opened 8 years ago

joaopapereira commented 8 years ago

As a Bot When I can a User vote I should be informed if the vote ended

joaopapereira commented 8 years ago

To simplify this my idea was:

arreche commented 8 years ago

I think that overloading the standard HTTP codes is not a good idea.

For instance:

201 Created The request has been fulfilled, resulting in the creation of a new resource.

So the api should return a 201 every time a new vote is created.