docbrown/spec/factories
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
..
activesupport_events.rb Routine rubocop fixes (#4924) 2019-11-25 14:13:22 -05:00
ahoy.rb Add metrics around welcome notifications + their click events (#9239) 2020-07-10 12:30:45 +02:00
api_secrets.rb Listings creation and update API (#4014) 2019-09-24 07:03:52 -07:00
articles.rb [deploy] Add role and docs for user subscription liquid tag (#9170) 2020-07-08 14:07:53 -04:00
audit_logs.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
badge_achievements.rb Bump factorybot rails (#475) 2018-08-24 17:28:26 -04:00
badges.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
banished_users.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
blocks.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
broadcasts.rb [deploy] Log in with Facebook (#9922) 2020-08-26 12:04:20 -04:00
buffer_updates.rb [deploy] Add missing FKs to BadgeAchievements BanishedUsers BufferUpdates (#10366) 2020-09-29 21:43:14 +02:00
chat_channel_memberships.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
chat_channels.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
collections.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
comments.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
credits.rb Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
custom_profile_fields.rb Add custom profile fields (#10202) 2020-09-09 14:37:15 +00:00
data_update_script.rb Document DataUpdateScripts, Add to Deploy Process, Add Development Check (#6068) [deploy] 2020-02-14 11:45:27 -05:00
display_ad_events.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
display_ads.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
doorkeeper_access_grants.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
doorkeeper_access_tokens.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
doorkeeper_applications.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
email_authorizations.rb [deploy] Add EmailAuthorization model (#6335) 2020-03-02 12:14:24 -05:00
email_messages.rb [deploy] Add missing foreign keys to ahoy_messages and articles (#10321) 2020-09-16 19:47:03 +02:00
events.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
feedback_messages.rb [deploy] Enforce Uniq Abuse Reports from Reporters (#7831) 2020-05-14 09:03:10 -04:00
field_test_memberships.rb Upgrade field_test to 0.3.2 (#7592) 2020-04-30 18:43:30 -04:00
follow.rb Fix delayed job errors related to follows #1621 (#1835) 2019-02-23 18:16:20 -08:00
github_issues.rb [deploy] Decouple GitHub authentication from fetching GitHub issues (#7660) 2020-05-04 16:17:16 -04:00
github_repos.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
html_variant_successes.rb [deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq (#9925) 2020-08-22 18:36:22 -05:00
html_variant_trials.rb [deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq (#9925) 2020-08-22 18:36:22 -05:00
html_variants.rb [deploy] Remove sidebar variant from CTA (#8040) 2020-05-23 13:35:43 -04:00
identities.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
listing_categories.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
listing_endorsements.rb [deploy] Listing endorsements: models setup (#9841) 2020-08-20 11:13:44 +02:00
listings.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
mentions.rb Fix mention validation when validating an empty instance (#3188) 2019-06-18 21:36:01 -04:00
messages.rb Implement chatroom (#308) 2018-05-14 12:50:32 -04:00
navigation_links.rb [deploy] Dynamic frontend for the sidebar navigation Items (#10754) 2020-10-12 16:05:47 -04:00
note.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
notification_subscriptions.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
notifications.rb Create rake Task to Destroy Old Notifications (#5180) [deploy] 2019-12-26 13:17:34 -06:00
organization_memberships.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
organizations.rb Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
page_views.rb Pro: add referrers to dashboard and single article stats (#3295) 2019-06-25 13:58:09 -04:00
pages.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
podcast_episode_rss_items.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
podcast_episodes.rb Sequence factory podcast episode slugs and guids to ensure uniqueness (#5184) 2019-12-19 19:13:19 -05:00
podcasts.rb Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
poll_options.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
poll_skips.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
poll_votes.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
polls.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
profile_field_groups.rb [deploy] Introduce ProfileFieldGroup model (#10007) 2020-08-28 10:51:33 +07:00
profile_fields.rb Add ProfileFieldGroupsController to API (#10124) 2020-09-03 10:12:53 +07:00
profile_pins.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
profiles.rb [deploy] Migrate profile data (#9750) 2020-08-20 11:17:57 +07:00
rating_votes.rb [deploy] Add missing foreign keys to models related to users (#10018) 2020-08-31 15:39:57 +02:00
reactions.rb Handle negative reactions on comments (#7805) 2020-05-13 09:27:38 -04:00
response_templates.rb Add response templates model and table (#6615) 2020-03-16 09:52:03 +07:00
search_keywords.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
sponsorships.rb Sponsorship: add model (step 1) (#3438) 2019-07-10 15:58:37 -04:00
tag_adjustments.rb Mod tooling: add tags via /mod refactor (#5017) 2019-12-13 13:02:45 -05:00
tags.rb Search Tags in Elasticsearch from Classified Listing and Post Creation (#6024) [deploy] 2020-02-17 08:16:45 -05:00
tweets.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
user_blocks.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
user_subscription.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
users.rb [deploy] Introduce /api/profile_images/:username endpoint (#10547) 2020-10-14 14:24:25 -05:00
webhook_endpoints.rb Routine rubocop fixes (#4924) 2019-11-25 14:13:22 -05:00