27 lines
754 B
C#
27 lines
754 B
C#
namespace MeWeb.Shared;
|
|||
|
|
|
||
|
|
public static class Endpoints
|
||
|
|
{
|
||
|
|
public const string Host = "meweb.arasaka.software";
|
||
|
|
public const string HostV4 = "v4.meweb.arasaka.software";
|
||
|
|
public const string HostV6 = "v6.meweb.arasaka.software";
|
||
|
|
|
||
|
|
public static string Base => $"https://{Host}";
|
||
|
|
public static string BaseV4 => $"https://{HostV4}";
|
||
|
|
public static string BaseV6 => $"https://{HostV6}";
|
||
|
|
|
||
|
|
public const string Api = "/api";
|
||
|
|
|
||
|
|
public static class Server
|
||
|
|
{
|
||
|
|
public const string GET_Info = $"{Api}/info";
|
||
|
|
public const string GET_Ip = $"{Api}/ip";
|
||
|
|
}
|
||
|
|
|
||
|
|
public static class Downloads
|
||
|
|
{
|
||
|
|
public const string GET_Platform = "/download/{platform}";
|
||
|
|
|
||
|
|
public static string GET_M_Platform(string platform) => $"/download/{platform}";
|
||
|
|
}
|
||
|
|
}
|