New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset mechanism for data #10

Closed
XVincentX opened this Issue May 4, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@XVincentX
Contributor

XVincentX commented May 4, 2015

Actual backend for the api is completely polluted by tests made by the users time after time.
At this time, the question What is your favourite programming language is preset 87 times, making very difficult (and a bit boring as well) work on it.

I would suggest

  1. Provide more sample polls (one question is not enough. At least 5 would be good)
  2. While it would be great to keep polls results (the votes), I'd suggest to reset/remove all but default questions every hour, every day, or every-what-you-want
@kylef

This comment has been minimized.

Member

kylef commented May 4, 2015

I was thinking about this, and perhaps when a question is created that already exists. We return a 200 and expose the original question instead of creating new ones. This means questions will be unique.

@XVincentX

This comment has been minimized.

Contributor

XVincentX commented May 4, 2015

Are you sure it is already in this way?
I am getting several duplicates here (using vnd.siren as Accept Header)

image

@kylef

This comment has been minimized.

Member

kylef commented May 4, 2015

Oh, I was suggesting we do this. Not saying it was already done.

@XVincentX

This comment has been minimized.

Contributor

XVincentX commented May 4, 2015

Whops! Sorry, my mistake.

@kylef kylef closed this in 3816a45 May 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment