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

Change user avatar at PUT /api/v2/users/{user}/avatar #432

Open
raffis opened this issue Jan 6, 2020 · 0 comments
Open

Change user avatar at PUT /api/v2/users/{user}/avatar #432

raffis opened this issue Jan 6, 2020 · 0 comments
Milestone

Comments

@raffis
Copy link
Contributor

raffis commented Jan 6, 2020

Describe the change

The user avatar should be replaced at PUT /api/v2/users/{user}/avatar.

Current situation

Currently the user avatar is changed by issuing a PATCH to /api/v2/users/{user} with a base64 encoded png image in a field avatar.

Should

  • PUT /api/v2/users/{user}/avatar to change the user avatar
  • Support for PATCH avatar at /api/v2/users/{user} should be dropped in the same release.
  • The avatar should be validated as a valid image which is not yet the case.

Additional context

Also see #418.

@raffis raffis added this to the 2.8.x milestone Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant