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