docbrown/app
Diogo Osório 2b72a35d3d
[deploy] Introduce /api/profile_images/:username endpoint (#10547)
* Documents the new /profile-images/:username API endpoint

* Introduces the /api/profile_images/:username endpoint

This endpoint receives either an user or organization username as input
via the URL path and returns the profile image information for that
user/orgnization.

* Updates the /api/profile_images/:username response

Adapts the response according to the review comments:

1. Removes the cache directives
1. Tweaks how the user query is being done
1. Adds a `image_of` property to the response

* Bump API version

Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-10-14 14:24:25 -05:00
..
assets Deprecate old button stylings with Crayons buttons (#10694) [deploy] 2020-10-14 07:28:41 -07:00
black_box [deploy] Adjust score a little bit more (#10034) 2020-08-27 07:21:44 -04:00
controllers [deploy] Introduce /api/profile_images/:username endpoint (#10547) 2020-10-14 14:24:25 -05:00
dashboards [deploy] Add co_author_ids to Articles (#10339) 2020-10-02 11:06:11 -04:00
decorators CSS Cleanups, part 2 (#10527) 2020-10-03 06:57:57 +02:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Update [authentication] in /admin/config (#10748) 2020-10-13 16:43:29 -04:00
javascript Showing example code in storybook (#10765) 2020-10-14 10:39:32 -04:00
labor add fullscreen to code blocks (#10784) 2020-10-14 12:01:35 +02:00
lib Make allow email password login default true (#10838) 2020-10-14 13:34:01 -04:00
liquid_tags [deploy] Allow glitch id starting with ~ (#10544) 2020-10-09 17:17:53 -04:00
mailers Add missing presence validators to models (#10495) 2020-10-01 16:15:32 +02:00
middlewares [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
models Make allow email password login default true (#10838) 2020-10-14 13:34:01 -04:00
policies Remove Twitch integration (#10732) 2020-10-08 12:44:10 +00:00
queries/admin Fixes 500 error when viewing the "Tag Mods" page without having the role on the database (#10515) 2020-10-01 12:55:25 -06:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
services Default to Imgproxy on Forem-cloud (#10819) 2020-10-14 12:54:59 -04:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
view_objects [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
views [deploy] Introduce /api/profile_images/:username endpoint (#10547) 2020-10-14 14:24:25 -05:00
workers Remove Twitch integration (#10732) 2020-10-08 12:44:10 +00:00