32 lines
993 B
C#
32 lines
993 B
C#
using FsToolbox.Cli.Helper;
|
|
|
|
namespace FsToolbox.Cli
|
|
{
|
|
public static class Endpoints
|
|
{
|
|
#region Public Properties
|
|
|
|
public static string RegionStores => $"{ApiBase}/api/region/{{0}}/stores";
|
|
|
|
public static string StoreMembers => $"{ApiBase}/api/stores/{{0}}/member";
|
|
|
|
public static string StoreInformation => $"{ApiBase}/api/stores/{{0}}/information";
|
|
|
|
public static string StorePickups => $"{ApiBase}/api/stores/{{0}}/pickups";
|
|
|
|
public static string StorePickupsSlot => $"{ApiBase}/api/stores/{{0}}/pickups/{{1}}/{{2}}";
|
|
|
|
public static string UserCurrent => $"{ApiBase}/api/user/current";
|
|
|
|
public static string UserLogin => $"{ApiBase}/api/user/login";
|
|
public static string StoreLog => $"{ApiBase}/api/stores/{{0}}/log/{{1}}/{{2}}/{{3}}";
|
|
|
|
#endregion
|
|
|
|
#region Private Properties
|
|
|
|
private static string ApiBase => SettingsProvider.Current.Api.BaseUrl.TrimEnd('/');
|
|
|
|
#endregion
|
|
}
|
|
} |