-
Notifications
You must be signed in to change notification settings - Fork 421
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
Delete buckets and collections #428
Conversation
5068244
to
c15000b
Compare
c15000b
to
dd07d4d
Compare
6a94f71
to
195aa8a
Compare
**Protocol** | ||
|
||
- Delete every (writable) buckets using ``DELETE /v1/buckets`` | ||
- Delete every (writable) collections using ``DELETE /v1/buckets/<>/collections`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you want a <bucket id>
here instead of <>
?
From what I understand of the code I read, this looks good to me. If someone else with better knowledge of the codebase could double-check, that would be nice ;) There's a test failure, from the load tests, is it related to what you were discussing with @Natim on irc about cliquet having timestamp unicity issues? |
195aa8a
to
ef25f5f
Compare
* Use recent permission.remove_principal() method * Use ACTIONS constants
065242f
to
9cdedbf
Compare
Delete buckets and collections
While I was add consistency in kinto.py, I realized that we could had
DELETE
endpoints to buckets and collections.Of course, it deletes only the buckets/collections where the user has write permissions.