mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-06 22:47:38 +03:00
Reserved topic stuff
This commit is contained in:
parent
6c0429351a
commit
a91da7cf2c
11 changed files with 240 additions and 133 deletions
|
@ -280,3 +280,12 @@ type apiAccountAccessRequest struct {
|
|||
Topic string `json:"topic"`
|
||||
Everyone string `json:"everyone"`
|
||||
}
|
||||
|
||||
type apiConfigResponse struct {
|
||||
BaseURL string `json:"base_url"`
|
||||
AppRoot string `json:"app_root"`
|
||||
EnableLogin bool `json:"enable_login"`
|
||||
EnableSignup bool `json:"enable_signup"`
|
||||
EnableResetPassword bool `json:"enable_reset_password"`
|
||||
DisallowedTopics []string `json:"disallowed_topics"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue