From d24d27f557d512f351c5248c6a0e5f9acf79d94b Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Mon, 9 Jan 2023 14:46:07 -0700 Subject: [PATCH] DEV: Document group param for search endpoint (#19806) --- spec/requests/api/search_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/requests/api/search_spec.rb b/spec/requests/api/search_spec.rb index 0cce833b233..d518c8dbd2a 100644 --- a/spec/requests/api/search_spec.rb +++ b/spec/requests/api/search_spec.rb @@ -33,7 +33,8 @@ RSpec.describe "groups" do - `in:`: `title`, `likes`, `personal`, `messages`, `seen`, `unseen`, `posted`, `created`, `watching`, `tracking`, `bookmarks`, `assigned`, `unassigned`, `first`, `pinned`, `wiki` - `with:`: `images` - `status:`: `open`, `closed`, `public`, `archived`, `noreplies`, `single_user`, `solved`, `unsolved` - - `group_messages:`: groupname + - `group:`: group_name or group_id + - `group_messages:`: group_name or group_id - `min_posts:`: 1 - `max_posts:`: 10 - `min_views:`: 1