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

Badly chosen new version flag implementation for upload image #46

Open
ValentijnvdBeek opened this issue Jul 19, 2022 · 0 comments
Open
Labels
control server enhancement New feature or request good first issue Good for newcomers REST API

Comments

@ValentijnvdBeek
Copy link
Collaborator

Summary

Since there are now multiple image types, there are some for which versions make sense and some for which they do not. This means that when you are uploading an image you may want to either create a new version, update the checksum or neither. The current implementation sets a boolean flag as a mulitpart section which is rather weird and clunky.

Proposed fix

Use a HTTP header instead or, alternative, create a separate endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control server enhancement New feature or request good first issue Good for newcomers REST API
Projects
None yet
Development

No branches or pull requests

1 participant