Consumers of the Mozillians API would benefit from being able to access a thumbnail of a user's profile photo. Currently, the API only provides the full-resolution image. The full image is not needed for many use cases, plus it uses more bandwidth and causes aspect ratio issues . We already cache thumbnails. Let's add the thumbnail to the /users endpoint so it is available to Mozilla apps.  https://github.com/mozilla/mozmoderator/issues/70
I just created a PR (https://github.com/mozilla/mozillians/pull/1079) I replaced the full-resolution-image by the thumbnail. is that fine? or do you want to return both images?
Commits pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/bbbb0b74ec083912f81cc18830933dbbe53df8ae [Fix bug 1059076] Add profile photo thumbnail to /users endpoint. https://github.com/mozilla/mozillians/commit/e3c98152cb12b03b4454ba71632da7a7e0041684 Merge pull request #1087 from johngian/1059076-thumbnails [Fix bug 1059076] Add profile photo thumbnail to /users endpoint.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Verified on stage. The response from the following request  with valid app_name, app_key and email includes the photo_thumbnail field.  /email@example.com
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.