:headers = << Content-Type: application/json # :user_id = 595ab570-fa74-4c6c-980e-4c80d1064dd1 # Get Inventory Items GET http://localhost:3000/api/seed :headers # Get Inventory Items POST http://localhost:3000/api/user/login :headers { "wallet" : "Wallet12345678" } # Get bank account GET http://localhost:3000/api/user/:user_id/bank-account :headers # Get Staking Sources GET http://localhost:3000/api/user/:user_id/staking-sources :headers # Create a new staking source POST http://localhost:3000/api/user/:user_id/staking-sources :headers # Get Inventory Items GET http://localhost:3000/api/user/:user_id/inventory-items :headers # Buy a new Item POST http://localhost:3000/api/user/:user_id/inventory-items/ :headers { "storeItemId" : "item1" } # Upgrade an owned item PUT http://localhost:3000/api/user/:user_id/inventory-items/ :headers { "storeItemId" : "item3", "inventoryItemId": 3 } # Get stakes GET http://localhost:3000/api/user/:user_id/stakes/ :headers # Start a stake POST http://localhost:3000/api/user/:user_id/stakes/start :headers { "inventoryItemId": 3, "storeItemId": "item3", "wellId": 1 } # Claim a stake POST http://localhost:3000/api/user/:user_id/stakes/claim :headers { "stakingEventId" : 3 }