mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 15:22:24 -05:00
[feature] Implement types[] param for notifications (#3009)
Counterpart of exclude_types[]. Also updates Swagger spec for types[] to use the correct param name and enumerate possible values. Fixes #3003
This commit is contained in:
parent
7ab404d643
commit
b08c1bd0cb
10 changed files with 459 additions and 13 deletions
|
|
@ -34,7 +34,9 @@ const (
|
|||
BasePathWithID = BasePath + "/:" + IDKey
|
||||
BasePathWithClear = BasePath + "/clear"
|
||||
|
||||
// ExcludeTypes is an array specifying notification types to exclude
|
||||
// IncludeTypesKey names an array param specifying notification types to include.
|
||||
IncludeTypesKey = "include_types[]"
|
||||
// ExcludeTypesKey names an array param specifying notification types to exclude.
|
||||
ExcludeTypesKey = "exclude_types[]"
|
||||
MaxIDKey = "max_id"
|
||||
LimitKey = "limit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue