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 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
} }
] ]
} }