Class ServerInfo
Information about the ntfy server.
Inherited Members
Namespace: ntfy.Responses
Assembly: ntfy.dll
Syntax
public class ServerInfo
Properties
| Improve this Doc View SourceAppRoot
The server's root path.
Declaration
[JsonProperty("app_root")]
public string? AppRoot { get; }
Property Value
Type | Description |
---|---|
string |
BaseUrl
The server's base URL.
Declaration
[JsonProperty("base_url")]
public string? BaseUrl { get; }
Property Value
Type | Description |
---|---|
string |
DisallowedTopics
A list of disallowed topics on the server.
Declaration
[JsonProperty("disallowed_topics")]
public string[]? DisallowedTopics { get; }
Property Value
Type | Description |
---|---|
string[] |
LoginEnabled
Whether the server allows login.
Declaration
[JsonProperty("enable_login")]
public bool LoginEnabled { get; }
Property Value
Type | Description |
---|---|
bool |
PaymentsEnabled
Whether the server allows payments.
Declaration
[JsonProperty("enable_payments")]
public bool PaymentsEnabled { get; }
Property Value
Type | Description |
---|---|
bool |
SignupEnabled
Whether the server allows signup.
Declaration
[JsonProperty("enable_signup")]
public bool SignupEnabled { get; }
Property Value
Type | Description |
---|---|
bool |
TopicReservationsEnabled
Whether the server allows topic reservations.
Declaration
[JsonProperty("enable_reservations")]
public bool TopicReservationsEnabled { get; }
Property Value
Type | Description |
---|---|
bool |