Skip to content
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
Closed

Reset mechanism for data #10

XVincentX opened this issue May 4, 2015 · 4 comments

Comments

@XVincentX
Copy link
Contributor

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
Copy link
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
Copy link
Contributor Author

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

image

@kylef
Copy link
Member

kylef commented May 4, 2015

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

@XVincentX
Copy link
Contributor Author

Whops! Sorry, my mistake.

@kylef kylef closed this as completed in 3816a45 May 6, 2015
kuba-kubula pushed a commit that referenced this issue Jun 11, 2020
…er-python-3 to master

* commit 'b7bd62ce7911113168fbe26baa58a8971aecd41d':
  chore: bump docker base image to python 3.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants