Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fddb417095 | ||
|
|
39e364bf10 |
@@ -2,7 +2,7 @@
|
||||
Content-Type: application/json
|
||||
#
|
||||
:user_id = 595ab570-fa74-4c6c-980e-4c80d1064dd1
|
||||
:host = https://moonminers.app/api
|
||||
:host = https://moonminers.app
|
||||
|
||||
# Seed the SQLite database (deprecated)
|
||||
GET http://localhost:3000/api/seed
|
||||
@@ -17,11 +17,12 @@ POST http://localhost:3000/api/user/anonymous
|
||||
:headers
|
||||
|
||||
# Get leaderboards
|
||||
GET :host/leaderboards
|
||||
GET :host/api/leaderboards
|
||||
:headers
|
||||
|
||||
|
||||
# Get Inventory Items
|
||||
POST :host/user/login
|
||||
POST :host/api/user/login
|
||||
:headers
|
||||
{ "wallet" : "Wallet12345678" }
|
||||
|
||||
@@ -30,17 +31,13 @@ GET http://localhost:3000/api/user/:user_id/account
|
||||
:headers
|
||||
|
||||
# Sell a resource
|
||||
PUT http://localhost:3000/api/user/:user_id/account
|
||||
PUT :host/api/user/:user_id/account
|
||||
:headers
|
||||
{
|
||||
"pairs": [
|
||||
{
|
||||
"resourceType": "Sollux",
|
||||
"resourceAmount": 100
|
||||
},
|
||||
{
|
||||
"resourceType": "Novafor",
|
||||
"resourceAmount": 100
|
||||
"resourceAmount": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user