mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 02:12:24 -05:00
parent
5543fd5340
commit
540edef0c2
15 changed files with 597 additions and 54 deletions
|
|
@ -30,6 +30,9 @@ type List struct {
|
|||
// list = Show replies to members of the list
|
||||
// none = Show replies to no one
|
||||
RepliesPolicy string `json:"replies_policy"`
|
||||
// Exclusive setting for this list.
|
||||
// If true, hide posts from members of this list from your home timeline.
|
||||
Exclusive bool `json:"exclusive"`
|
||||
}
|
||||
|
||||
// ListCreateRequest models list creation parameters.
|
||||
|
|
@ -53,6 +56,11 @@ type ListCreateRequest struct {
|
|||
// - list
|
||||
// - none
|
||||
RepliesPolicy string `form:"replies_policy" json:"replies_policy" xml:"replies_policy"`
|
||||
// Exclusive setting for this list.
|
||||
// If true, hide posts from members of this list from your home timeline.
|
||||
// default: false
|
||||
// in: formData
|
||||
Exclusive bool `form:"exclusive" json:"exclusive" xml:"exclusive"`
|
||||
}
|
||||
|
||||
// ListUpdateRequest models list update parameters.
|
||||
|
|
@ -70,6 +78,10 @@ type ListUpdateRequest struct {
|
|||
// Sample: list
|
||||
// in: formData
|
||||
RepliesPolicy *string `form:"replies_policy" json:"replies_policy" xml:"replies_policy"`
|
||||
// Exclusive setting for this list.
|
||||
// If true, hide posts from members of this list from your home timeline.
|
||||
// in: formData
|
||||
Exclusive *bool `form:"exclusive" json:"exclusive" xml:"exclusive"`
|
||||
}
|
||||
|
||||
// ListAccountsChangeRequest is a list of account IDs to add to or remove from a list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue