discourse/spec/requests/api/schemas/json
Osama Sayegh 4db3389f3d
FIX: Don't load all groups when rendering <GroupChooser /> (#31271)
In a few places throughout the app, when we render the `<GroupChooser
/>` component, we fetch the full groups list of the site from the
`/groups/search` endpoint. This is wasteful because the full groups list
is already included in the preloaded data that's sent to the client app
on the initial page load, so we can just use this preloaded list for
`<GroupChooser />` and we can avoid making an HTTP request.

Internal topic: t/147297.
2025-02-11 21:32:02 +03:00
..
admin_user_list_response.json DEV: Deprecate defunct User#flag_level column (#24134) 2023-10-27 17:27:04 +08:00
admin_user_response.json FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
backups_create_request.json
backups_list_response.json
badge_create_request.json
badge_create_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
badge_list_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
badge_update_request.json
badge_update_response.json FEATURE: Show when a badge has been granted for a post (#29696) 2024-12-03 13:43:27 +11:00
category_create_request.json Fix structural problems with the openapi spec (#22256) 2023-06-23 11:06:45 -06:00
category_create_response.json FIX: Fetch categories for "+subcategories" option (#26622) 2024-04-25 16:47:45 +03:00
category_list_response.json FIX: Fetch categories for "+subcategories" option (#26622) 2024-04-25 16:47:45 +03:00
category_topics_response.json FIX: update id types in API docs to integers (#27412) 2024-06-26 20:44:39 -06:00
category_update_response.json FIX: Fetch categories for "+subcategories" option (#26622) 2024-04-25 16:47:45 +03:00
group_add_members_request.json
group_add_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_create_request.json DEV: Document create group api params (#18736) 2022-10-24 18:55:51 -06:00
group_create_response.json FEATURE: Allow group owners promote more owners (#19768) 2023-01-11 16:43:18 +08:00
group_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_remove_members_request.json
group_remove_members_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
group_response.json UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
groups_list_response.json FEATURE: Allow group owners promote more owners (#19768) 2023-01-11 16:43:18 +08:00
post_delete_request.json DEV: Document delete post API endpoint (#15495) 2022-01-07 16:09:32 -07:00
post_replies_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
post_show_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
post_update_request.json DEV: Add fetching likes info to api docs (#21028) 2023-04-10 09:07:10 -06:00
post_update_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
search_response.json FIX: Load categories with search topic results (#25700) 2024-02-21 17:29:47 +02:00
site_basic_info_response.json DEV: Refactor discover setting reporting (#26706) 2024-04-23 09:52:01 -04:00
site_response.json FIX: Don't load all groups when rendering <GroupChooser /> (#31271) 2025-02-11 21:32:02 +03:00
success_ok_response.json
tag_group_create_request.json
tag_group_create_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
topic_create_request.json DEV: Added a missing parameter to Discourse API Docs (#21085) 2023-04-24 15:44:09 +10:00
topic_create_response.json DEV: Adopt post list component and new posts route front-end (#30604) 2025-01-23 10:20:45 -08:00
topic_show_response.json DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
upload_abort_multipart_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_batch_presign_multipart_parts_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_batch_presign_multipart_parts_response.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_complete_external_upload_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_complete_multipart_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_create_multipart_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_create_multipart_response.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_create_request.json
upload_create_response.json DEV: serialize image upload thumbnail (#29276) 2024-10-18 12:55:14 +04:00
upload_generate_presigned_put_request.json DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
upload_generate_presigned_put_response.json DEV: Add S3 upload system specs using minio (#22975) 2023-08-23 11:18:33 +10:00
user_actions_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_anonymize_response.json
user_badges_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_create_request.json DEV: Update create user w/ custom fields api docs (#30133) 2024-12-05 12:28:48 -07:00
user_create_response.json DEV: Refactor the api docs for the user endpoint (#14377) 2021-09-20 10:04:57 -06:00
user_delete_request.json
user_delete_response.json
user_emails_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00
user_get_response.json UX: Split hide_profile_and_presence user option (#29632) 2024-11-12 22:22:58 -03:00
user_password_change_request.json
user_password_reset_request.json
user_password_reset_response.json
user_refresh_gravatar_response.json
user_silence_request.json DEV: Use Service::Base for suspend and silence actions (#28459) 2024-08-22 14:38:56 +03:00
user_silence_response.json FIX: Show suspended by user (#16927) 2022-06-01 14:54:23 +02:00
user_suspend_request.json
user_suspend_response.json FIX: Show suspended by user (#16927) 2022-06-01 14:54:23 +02:00
user_update_avatar_request.json
user_update_email_request.json
user_update_request.json DEV: Fix user update api docs (#23047) 2023-08-09 16:56:10 -06:00
user_update_response.json FEATURE: API to create user's associated account (#15737) 2022-03-03 18:17:02 +02:00
user_update_username_request.json DEV: Update api docs to update username and to get post replies (#15881) 2022-02-09 15:04:36 -07:00
users_public_list_response.json repair structural problems with the openapi spec (#16710) 2022-06-20 10:56:56 -06:00