-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add support to attachments plugin #103
Comments
Yes it would be great. Not that we added the support for kinto-http.js |
Why not! Maybe we should start by draft some dream code here to see how it would like. For info, we had some python code here: https://github.com/Kinto/kinto-attachment/blob/master/scripts/upload.py |
@leplatrem is this something currently on the roadmap? Would you be open to a PR for this feature? It seems like mozilla/addons-server is missing this method in order to use this client for remote settings. |
@KevinMind a PR would definitely be welcome! Don't hesitate all the questions you need 🙏 |
I'm not sure if supporting plugins is in the scope of the Python client, but I think it would be useful to have attachments support.
My idea is to do this through an argument "files" on create, update and patch record methods.
It would also be good to raise an appropriate exception message if the server doesn't support the plugin.
The text was updated successfully, but these errors were encountered: