4
4
5
5
namespace LootLocker
6
6
{
7
- public class LootLockerEndPoints
7
+ public class LootLockerEndPoints
8
8
{
9
9
// Authentication
10
10
[ Header ( "Authentication" ) ]
11
11
public static EndPointClass playerVerification = new EndPointClass ( "v1/player/verify" , LootLockerHTTPMethod . POST ) ;
12
12
public static EndPointClass authenticationRequest = new EndPointClass ( "v2/session" , LootLockerHTTPMethod . POST ) ;
13
13
public static EndPointClass guestSessionRequest = new EndPointClass ( "v2/session/guest" , LootLockerHTTPMethod . POST ) ;
14
+ public static EndPointClass nintendoSwitchSessionRequest = new EndPointClass ( "session/nintendo-switch" , LootLockerHTTPMethod . POST ) ;
14
15
public static EndPointClass whiteLabelLoginSessionRequest = new EndPointClass ( "v2/session/white-label" , LootLockerHTTPMethod . POST ) ;
15
16
public static EndPointClass endingSession = new EndPointClass ( "v1/session" , LootLockerHTTPMethod . DELETE ) ;
16
17
public static EndPointClass initialAuthenticationRequest = new EndPointClass ( "v1/session" , LootLockerHTTPMethod . POST ) ;
@@ -59,15 +60,15 @@ public class LootLockerEndPoints
59
60
public static EndPointClass createCharacter = new EndPointClass ( "v1/player/character" , LootLockerHTTPMethod . POST ) ;
60
61
public static EndPointClass listCharacterTypes = new EndPointClass ( "v1/player/character/types" , LootLockerHTTPMethod . GET ) ;
61
62
62
- // Persistentplayer storage
63
+ // Persistentplayer storage
63
64
[ Header ( "Persitent Player Storage" ) ]
64
65
public static EndPointClass getEntirePersistentStorage = new EndPointClass ( "v1/player/storage" , LootLockerHTTPMethod . GET ) ;
65
66
public static EndPointClass getSingleKeyFromPersitenctStorage = new EndPointClass ( "v1/player/storage?key={0}" , LootLockerHTTPMethod . GET ) ;
66
67
public static EndPointClass updateOrCreateKeyValue = new EndPointClass ( "v1/player/storage" , LootLockerHTTPMethod . POST ) ;
67
68
public static EndPointClass deleteKeyValue = new EndPointClass ( "v1/player/storage?key={0}" , LootLockerHTTPMethod . DELETE ) ;
68
69
public static EndPointClass getOtherPlayersPublicKeyValuePairs = new EndPointClass ( "v1/player/{0}/storage" , LootLockerHTTPMethod . GET ) ;
69
70
70
- // Asset storage
71
+ // Asset storage
71
72
[ Header ( "Assets" ) ]
72
73
public static EndPointClass gettingContexts = new EndPointClass ( "v1/contexts" , LootLockerHTTPMethod . GET ) ;
73
74
public static EndPointClass gettingAssetListWithCount = new EndPointClass ( "v1/assets/list?count={0}" , LootLockerHTTPMethod . GET ) ;
@@ -79,7 +80,7 @@ public class LootLockerEndPoints
79
80
public static EndPointClass addingFavouriteAssets = new EndPointClass ( "v1/asset/{0}/favourite" , LootLockerHTTPMethod . POST ) ;
80
81
public static EndPointClass removingFavouriteAssets = new EndPointClass ( "v1/asset/{0}/favourite" , LootLockerHTTPMethod . DELETE ) ;
81
82
82
- // Asset storage
83
+ // Asset storage
83
84
[ Header ( "Asset Instances" ) ]
84
85
public static EndPointClass getAllKeyValuePairs = new EndPointClass ( "v1/asset/instance/storage" , LootLockerHTTPMethod . GET ) ;
85
86
public static EndPointClass getAllKeyValuePairsToAnInstance = new EndPointClass ( "v1/asset/instance/{0}/storage" , LootLockerHTTPMethod . GET ) ;
@@ -90,7 +91,7 @@ public class LootLockerEndPoints
90
91
public static EndPointClass deleteKeyValuePair = new EndPointClass ( "v1/asset/instance/{0}/storage/{1}" , LootLockerHTTPMethod . DELETE ) ;
91
92
public static EndPointClass inspectALootBox = new EndPointClass ( "v1/asset/instance/{0}/inspect" , LootLockerHTTPMethod . GET ) ;
92
93
public static EndPointClass openALootBox = new EndPointClass ( "v1/asset/instance/{0}/open" , LootLockerHTTPMethod . PUT ) ;
93
-
94
+
94
95
// UGC
95
96
[ Header ( "UGC" ) ]
96
97
public static EndPointClass creatingAnAssetCandidate = new EndPointClass ( "v1/player/assets/candidates" , LootLockerHTTPMethod . POST ) ;
0 commit comments