docbrown/app/controllers/api/v0
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
..
analytics_controller.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
api_controller.rb Rubocop: fix additional violations in todo file (#9218) 2020-07-09 10:25:44 -04:00
articles_controller.rb [deploy] API - New endpoint to retrieve the articles in the reading list of the authenticated user (#10540) 2020-10-14 13:20:03 -05:00
comments_controller.rb [deploy] API: add created_at datetime to comments (#9829) 2020-08-17 20:10:24 -04:00
followers_controller.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
follows_controller.rb API: Add route for fetching a user's followed tags (#9108) 2020-09-18 16:28:42 -05:00
health_checks_controller.rb Allow localhost or 127.0.0.1 to access api/health_checks without health-check-token (#8231) 2020-06-02 11:29:04 -04:00
listings_controller.rb Routine rubocop fixes (#10237) 2020-09-08 12:06:47 -04:00
podcast_episodes_controller.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
profile_images_controller.rb [deploy] Introduce /api/profile_images/:username endpoint (#10547) 2020-10-14 14:24:25 -05:00
readinglist_controller.rb [deploy] API - New endpoint to retrieve the articles in the reading list of the authenticated user (#10540) 2020-10-14 13:20:03 -05:00
tags_controller.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
users_controller.rb [deploy] API - New endpoint to retrieve the articles in the reading list of the authenticated user (#10540) 2020-10-14 13:20:03 -05:00
videos_controller.rb Rubocop: move dot in multi-line calls to leading position (#9262) 2020-07-16 15:51:11 +02:00
webhooks_controller.rb Rubocop: activate Layout/ClassStructure (#9304) 2020-07-14 18:28:18 +02:00