Compare commits

..
2 Commits
Author SHA1 Message Date
JosephFerano fddb417095 Merge remote-tracking branch 'origin/main' 2026-10-17 16:39:53 +07:00
JosephFerano 39e364bf10 Prepare for merge 2026-10-17 16:39:42 +07:00
+6 -9
View File
@@ -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
}
]
}