21 lines
686 B
C#
21 lines
686 B
C#
using FsTool.Helpers;
|
|
|
|
namespace FsTool
|
|
{
|
|
public static class Endpoints
|
|
{
|
|
private static string ApiBase => SettingsProvider.Current.Api.BaseUrl.TrimEnd('/');
|
|
|
|
public static string UserLogin => $"{ApiBase}/api/user/login";
|
|
|
|
public static string UserCurrent => $"{ApiBase}/api/user/current";
|
|
|
|
public static string StorePickups => $"{ApiBase}/api/stores/{{0}}/pickups";
|
|
|
|
public static string StoreMembers => $"{ApiBase}/api/stores/{{0}}/member";
|
|
|
|
public static string StorePickupsSlot => $"{ApiBase}/api/stores/{{0}}/pickups/{{1}}/{{2}}";
|
|
|
|
public static string RegionStores => $"{ApiBase}/api/region/{{0}}/stores";
|
|
}
|
|
} |