Game API
HomeLootLocker
HomeLootLocker
LootLocker
  1. Home
  • Back to home
  • Files
  • List Files for Player
    GET
  • List Public Files for Player
    GET
  • Get File By ID for Player
    GET
  • Delete File By ID for Player
    DELETE
  • Upload File For Player
    POST
  • Upload Public File For Player
    POST
  1. Home

Upload Public File For Player

POST
/game/player/files
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/player/files' \
--header 'LL-Version: 2021-03-01' \
--header 'x-session-token;' \
--form 'file=@""' \
--form 'purpose="save_game"' \
--form 'public="true"'
Response Response Example
{}

Request

Authorization
API Key
Add parameter in header
x-session-token
Example:
x-session-token: ********************
Header Params
x-session-token
string 
required
Example:
{{session_token}}
LL-Version
string 
required
Example:
2021-03-01
Body Params multipart/form-data
file
file 
required
purpose
string 
required
Example:
save_game
public
string 
required
Example:
true

Responses

🟢200Success
application/json
Body
object {0}
Modified at 2024-01-19 12:21:13
Previous
Upload File For Player
Built with