diff options
author | 2024-05-31 03:57:42 -0700 | |
---|---|---|
committer | 2024-05-31 12:57:42 +0200 | |
commit | 04bcde08a1b9994ceb384749c2fe095d6d9eee8c (patch) | |
tree | e18afb15643e9ffa5732c3902b4257b8361578bd /internal/api/model | |
parent | [feature] Implement Filter API v2 (#2936) (diff) | |
download | gotosocial-04bcde08a1b9994ceb384749c2fe095d6d9eee8c.tar.xz |
[feature] Add from: search operator and account_id query param (#2943)
* Add from: search operator
* Fix whitespace in Swagger YAML comment
* Move query parsing into its own method
* Document search
* Clarify post search scope
Diffstat (limited to 'internal/api/model')
-rw-r--r-- | internal/api/model/search.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/model/search.go b/internal/api/model/search.go index 738c5911f..d16863c9c 100644 --- a/internal/api/model/search.go +++ b/internal/api/model/search.go @@ -28,6 +28,7 @@ type SearchRequest struct { Resolve bool Following bool ExcludeUnreviewed bool + AccountID string APIv1 bool // Set to 'true' if using version 1 of the search API. } |