@@ -6,17 +6,25 @@ namespace LootLocker
6
6
{
7
7
public class LootLockerEndPoints
8
8
{
9
- //Authentication
10
- [ Header ( "Authentication Endpoints " ) ]
9
+ // Authentication
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
+ public static EndPointClass guestSessionRequest = new EndPointClass ( "v2/session/guest" , LootLockerHTTPMethod . POST ) ;
14
+ public static EndPointClass whiteLabelLoginSessionRequest = new EndPointClass ( "v2/session/white-label" , LootLockerHTTPMethod . POST ) ;
13
15
public static EndPointClass endingSession = new EndPointClass ( "v1/session" , LootLockerHTTPMethod . DELETE ) ;
14
16
public static EndPointClass initialAuthenticationRequest = new EndPointClass ( "v1/session" , LootLockerHTTPMethod . POST ) ;
15
17
public static EndPointClass twoFactorAuthenticationCodeVerification = new EndPointClass ( "v1/2fa" , LootLockerHTTPMethod . POST ) ;
16
18
public static EndPointClass subsequentRequests = new EndPointClass ( "v1/games" , LootLockerHTTPMethod . GET ) ;
17
19
18
- //Player
19
- [ Header ( "Player Endpoints" ) ]
20
+ // White Label Login
21
+ [ Header ( "White Label Login" ) ]
22
+ public static EndPointClass whiteLabelSignUp = new EndPointClass ( "white-label-login/sign-up" , LootLockerHTTPMethod . POST ) ;
23
+ public static EndPointClass whiteLabelRequestPasswordReset = new EndPointClass ( "white-label-login/request-reset-password" , LootLockerHTTPMethod . POST ) ;
24
+ public static EndPointClass whiteLabelRequestAccountVerification = new EndPointClass ( "white-label-login/request-verification" , LootLockerHTTPMethod . POST ) ;
25
+
26
+ // Player
27
+ [ Header ( "Player" ) ]
20
28
public static EndPointClass getPlayerInfo = new EndPointClass ( "v1/player/info" , LootLockerHTTPMethod . GET ) ;
21
29
public static EndPointClass getInventory = new EndPointClass ( "v1/player/inventory/list" , LootLockerHTTPMethod . GET ) ;
22
30
public static EndPointClass getCurrencyBalance = new EndPointClass ( "v1/player/balance" , LootLockerHTTPMethod . GET ) ;
@@ -31,8 +39,8 @@ public class LootLockerEndPoints
31
39
public static EndPointClass getPlayerName = new EndPointClass ( "player/name" , LootLockerHTTPMethod . GET ) ;
32
40
public static EndPointClass setPlayerName = new EndPointClass ( "player/name" , LootLockerHTTPMethod . PATCH ) ;
33
41
34
- //Character
35
- [ Header ( "Character Endpoints " ) ]
42
+ // Character
43
+ [ Header ( "Character" ) ]
36
44
public static EndPointClass characterLoadouts = new EndPointClass ( "v1/player/character/loadout" , LootLockerHTTPMethod . GET ) ;
37
45
public static EndPointClass getOtherPlayersCharacterLoadouts = new EndPointClass ( "v1/player/character/loadout/{0}?platform={1}" , LootLockerHTTPMethod . GET ) ;
38
46
public static EndPointClass updateCharacter = new EndPointClass ( "v1/player/character/{0}" , LootLockerHTTPMethod . PUT ) ;
@@ -46,20 +54,18 @@ public class LootLockerEndPoints
46
54
public static EndPointClass getOtherPlayersLoadoutToDefaultCharacter = new EndPointClass ( "v1/player/loadout/{0}?platform={1}" , LootLockerHTTPMethod . GET ) ;
47
55
public static EndPointClass getEquipableContextToDefaultCharacter = new EndPointClass ( "v1/player/character/contexts" , LootLockerHTTPMethod . GET ) ;
48
56
public static EndPointClass getEquipableContextbyCharacter = new EndPointClass ( "v1/player/character/{0}/contexts" , LootLockerHTTPMethod . GET ) ;
49
-
50
57
public static EndPointClass createCharacter = new EndPointClass ( "v1/player/character" , LootLockerHTTPMethod . POST ) ;
51
58
public static EndPointClass listCharacterTypes = new EndPointClass ( "v1/player/character/types" , LootLockerHTTPMethod . GET ) ;
52
59
53
-
54
- //Persistentplayer storage
60
+ // Persistentplayer storage
55
61
[ Header ( "Persitent Player Storage" ) ]
56
62
public static EndPointClass getEntirePersistentStorage = new EndPointClass ( "v1/player/storage" , LootLockerHTTPMethod . GET ) ;
57
63
public static EndPointClass getSingleKeyFromPersitenctStorage = new EndPointClass ( "v1/player/storage?key={0}" , LootLockerHTTPMethod . GET ) ;
58
64
public static EndPointClass updateOrCreateKeyValue = new EndPointClass ( "v1/player/storage" , LootLockerHTTPMethod . POST ) ;
59
65
public static EndPointClass deleteKeyValue = new EndPointClass ( "v1/player/storage?key={0}" , LootLockerHTTPMethod . DELETE ) ;
60
66
public static EndPointClass getOtherPlayersPublicKeyValuePairs = new EndPointClass ( "v1/player/{0}/storage" , LootLockerHTTPMethod . GET ) ;
61
67
62
- //Asset storage
68
+ // Asset storage
63
69
[ Header ( "Assets" ) ]
64
70
public static EndPointClass gettingContexts = new EndPointClass ( "v1/contexts" , LootLockerHTTPMethod . GET ) ;
65
71
public static EndPointClass gettingAssetListWithCount = new EndPointClass ( "v1/assets/list?count={0}" , LootLockerHTTPMethod . GET ) ;
@@ -71,7 +77,7 @@ public class LootLockerEndPoints
71
77
public static EndPointClass addingFavouriteAssets = new EndPointClass ( "v1/asset/{0}/favourite" , LootLockerHTTPMethod . POST ) ;
72
78
public static EndPointClass removingFavouriteAssets = new EndPointClass ( "v1/asset/{0}/favourite" , LootLockerHTTPMethod . DELETE ) ;
73
79
74
- //Asset storage
80
+ // Asset storage
75
81
[ Header ( "Asset Instances" ) ]
76
82
public static EndPointClass getAllKeyValuePairs = new EndPointClass ( "v1/asset/instance/storage" , LootLockerHTTPMethod . GET ) ;
77
83
public static EndPointClass getAllKeyValuePairsToAnInstance = new EndPointClass ( "v1/asset/instance/{0}/storage" , LootLockerHTTPMethod . GET ) ;
@@ -82,7 +88,8 @@ public class LootLockerEndPoints
82
88
public static EndPointClass deleteKeyValuePair = new EndPointClass ( "v1/asset/instance/{0}/storage/{1}" , LootLockerHTTPMethod . DELETE ) ;
83
89
public static EndPointClass inspectALootBox = new EndPointClass ( "v1/asset/instance/{0}/inspect" , LootLockerHTTPMethod . GET ) ;
84
90
public static EndPointClass openALootBox = new EndPointClass ( "v1/asset/instance/{0}/open" , LootLockerHTTPMethod . PUT ) ;
85
- //UGC
91
+
92
+ // UGC
86
93
[ Header ( "UGC" ) ]
87
94
public static EndPointClass creatingAnAssetCandidate = new EndPointClass ( "v1/player/assets/candidates" , LootLockerHTTPMethod . POST ) ;
88
95
public static EndPointClass updatingAnAssetCandidate = new EndPointClass ( "v1/player/assets/candidates/{0}" , LootLockerHTTPMethod . PUT ) ;
@@ -92,25 +99,25 @@ public class LootLockerEndPoints
92
99
public static EndPointClass addingFilesToAssetCandidates = new EndPointClass ( "v1/player/assets/candidates/{0}/file" , LootLockerHTTPMethod . UPLOAD ) ;
93
100
public static EndPointClass removingFilesFromAssetCandidates = new EndPointClass ( "v1/player/assets/candidates/{0}/file/{1}" , LootLockerHTTPMethod . DELETE ) ;
94
101
95
- //Events
102
+ // Events
96
103
[ Header ( "Events" ) ]
97
104
public static EndPointClass gettingAllEvents = new EndPointClass ( "v1/missions" , LootLockerHTTPMethod . GET ) ;
98
105
public static EndPointClass gettingASingleEvent = new EndPointClass ( "v1/mission/{0}" , LootLockerHTTPMethod . GET ) ;
99
106
public static EndPointClass startingEvent = new EndPointClass ( "v1/mission/{0}/start" , LootLockerHTTPMethod . POST ) ;
100
107
public static EndPointClass finishingEvent = new EndPointClass ( "v1/mission/{0}/end" , LootLockerHTTPMethod . POST ) ;
101
108
102
- //UGC
109
+ // UGC
103
110
[ Header ( "Missions" ) ]
104
111
public static EndPointClass gettingAllMissions = new EndPointClass ( "v1/missions" , LootLockerHTTPMethod . GET ) ;
105
112
public static EndPointClass gettingASingleMission = new EndPointClass ( "v1/mission/{0}" , LootLockerHTTPMethod . GET ) ;
106
113
public static EndPointClass startingMission = new EndPointClass ( "v1/mission/{0}/start" , LootLockerHTTPMethod . POST ) ;
107
114
public static EndPointClass finishingMission = new EndPointClass ( "v1/mission/{0}/end" , LootLockerHTTPMethod . POST ) ;
108
115
109
- //Maps
116
+ // Maps
110
117
[ Header ( "Maps" ) ]
111
118
public static EndPointClass gettingAllMaps = new EndPointClass ( "v1/maps" , LootLockerHTTPMethod . GET ) ;
112
119
113
- //Purchase
120
+ // Purchase
114
121
[ Header ( "Purchase" ) ]
115
122
public static EndPointClass normalPurchaseCall = new EndPointClass ( "v1/purchase" , LootLockerHTTPMethod . POST ) ;
116
123
public static EndPointClass rentalPurchaseCall = new EndPointClass ( "v1/purchase" , LootLockerHTTPMethod . POST ) ;
@@ -119,33 +126,33 @@ public class LootLockerEndPoints
119
126
public static EndPointClass pollingOrderStatus = new EndPointClass ( "v1/purchase/{0}" , LootLockerHTTPMethod . GET ) ;
120
127
public static EndPointClass activatingARentalAsset = new EndPointClass ( "v1/asset/instance/{0}/activate" , LootLockerHTTPMethod . POST ) ;
121
128
122
- //EventTrigger
129
+ // EventTrigger
123
130
[ Header ( "EventTrigger" ) ]
124
131
public static EndPointClass triggeringAnEvent = new EndPointClass ( "v1/player/trigger" , LootLockerHTTPMethod . POST ) ;
125
132
public static EndPointClass listingTriggeredTriggerEvents = new EndPointClass ( "v1/player/triggers" , LootLockerHTTPMethod . GET ) ;
126
133
127
- //Maps
134
+ // Maps
128
135
[ Header ( "Collectables" ) ]
129
136
public static EndPointClass gettingCollectables = new EndPointClass ( "v1/collectable" , LootLockerHTTPMethod . GET ) ;
130
137
public static EndPointClass collectingAnItem = new EndPointClass ( "v1/collectable" , LootLockerHTTPMethod . POST ) ;
131
138
132
- //Messages
139
+ // Messages
133
140
[ Header ( "Messages" ) ]
134
141
public static EndPointClass getMessages = new EndPointClass ( "v1/messages" , LootLockerHTTPMethod . GET ) ;
135
142
136
- //Crashes
143
+ // Crashes
137
144
[ Header ( "Crashes" ) ]
138
145
public static EndPointClass submittingACrashLog = new EndPointClass ( "v1/crash" , LootLockerHTTPMethod . POST ) ;
139
146
140
- //Leaderboards
147
+ // Leaderboards
141
148
[ Header ( "Leaderboards" ) ]
142
149
public static EndPointClass getMemberRank = new EndPointClass ( "leaderboards/{0}/member/{1}" , LootLockerHTTPMethod . GET ) ;
143
150
public static EndPointClass getByListOfMembers = new EndPointClass ( "leaderboards/{0}/members" , LootLockerHTTPMethod . POST ) ;
144
151
public static EndPointClass getAllMemberRanks = new EndPointClass ( "leaderboards/member/{0}?count={1}" , LootLockerHTTPMethod . GET ) ;
145
152
public static EndPointClass getScoreList = new EndPointClass ( "leaderboards/{0}/list?count={1}" , LootLockerHTTPMethod . GET ) ;
146
153
public static EndPointClass submitScore = new EndPointClass ( "leaderboards/{0}/submit" , LootLockerHTTPMethod . POST ) ;
147
154
148
- //Drop Tables
155
+ // Drop Tables
149
156
[ Header ( "Drop Tables" ) ]
150
157
public static EndPointClass ComputeAndLockDropTable = new EndPointClass ( "v1/player/droptables/{0}/compute?asset_details={1}" , LootLockerHTTPMethod . POST ) ;
151
158
public static EndPointClass PickDropsFromDropTable = new EndPointClass ( "v1/player/droptables/{0}/pick" , LootLockerHTTPMethod . POST ) ;
0 commit comments