Make the profile_image api more restful. MA-1280
Deprecate the views at /api/profile_images/v1/{username}/upload and /api/profile_images/v1/{username}/remove and replace them with GET and POST methods at /api/user/v1/accounts/{username}/image
Showing
- openedx/core/djangoapps/profile_images/tests/test_views.py 114 additions, 54 deletionsopenedx/core/djangoapps/profile_images/tests/test_views.py
- openedx/core/djangoapps/profile_images/urls.py 6 additions, 1 deletionopenedx/core/djangoapps/profile_images/urls.py
- openedx/core/djangoapps/profile_images/views.py 100 additions, 64 deletionsopenedx/core/djangoapps/profile_images/views.py
- openedx/core/djangoapps/user_api/urls.py 11 additions, 5 deletionsopenedx/core/djangoapps/user_api/urls.py
Please register or sign in to comment