Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
sp 5763633c90 added steps support and email password support. před 4 roky
.idea big fox před 4 roky
assets uploads seems working. před 4 roky
deploy added steps support and email password support. před 4 roky
html PayIn list wit new filter před 4 roky
.gitignore uploads with pdf/image/format před 4 roky
README.md add description for login API před 4 roky
UploadsOnDisk.go deploy bugfix před 4 roky
UploadsOnDisk_test.go uploads polished. před 4 roky
apiV1Avatar.go list of peole works, user enabled move to people před 4 roky
apiV1BrokerList.go list of peole works, user enabled move to people před 4 roky
apiV1ChangePass.go profile consolidated user + user extra installed for everyone. před 4 roky
apiV1ChartPastYearMonthly.go past year monthly value chart waterflow is ready. před 4 roky
apiV1ChartRecent10Loans.go Top broker added for summary dashboard now complete. před 4 roky
apiV1ChartTopBroker.go Top broker added for summary dashboard now complete. před 4 roky
apiV1ChartTypeOfLoans.go type of loans and amount of loans now support filter by broker name. před 4 roky
apiV1EmailPass.go added steps support and email password support. před 4 roky
apiV1EmailPass_test.go added steps support and email password support. před 4 roky
apiV1GridLoanFullOverview.go big fox před 4 roky
apiV1LenderList.go Lender list is casted into coin před 4 roky
apiV1LoanSingle.go bugfix for add on time milestone. před 4 roky
apiV1LoginAvailable.go checking available login před 4 roky
apiV1PayIn.go check invalid settlement and ts time před 4 roky
apiV1PayInList.go big fox před 4 roky
apiV1Payout.go big fox před 4 roky
apiV1PayoutEx.go big fox před 4 roky
apiV1PeopleList.go added steps support and email password support. před 4 roky
apiV1Response.go AAA decoding works. před 4 roky
apiV1Reward.go big fox před 4 roky
apiV1StepUpload.go added steps support and email password support. před 4 roky
apiV1Steps.go added steps support and email password support. před 4 roky
apiV1SyncPeople.go sync people added. Loand have reward people for client side loookup. před 4 roky
apiV1UploadAnalysis.go PayExtra is added před 4 roky
apiV1UploadAsImage.go uploads seems working. před 4 roky
apiV1UploadList.go uploads seems working. před 4 roky
apiV1UploadThumb.go uploads seems working. před 4 roky
apiV1Uploads.go change Trail to income_amount to add income_type před 4 roky
apiV1UploadsAsPdf.go uploads seems working. před 4 roky
apiV1User.go support user-ex for profile editing. před 4 roky
apiV1UserEx.go support user-ex for profile editing. před 4 roky
apiV1UserReward.go broker earnings backend support před 4 roky
apiV1login.go support user-ex for profile editing. před 4 roky
apiV1logout.go websocket not accept registrations před 4 roky
apiv1.go added steps support and email password support. před 4 roky
apiv1ChartReward.go reward overview worked. před 4 roky
config.go change Trail to income_amount to add income_type před 4 roky
config.json add collation support. před 4 roky
debug.go AAA decoding works. před 4 roky
fileUtil.go uploads seems working. před 4 roky
go.mod profile consolidated user + user extra installed for everyone. před 4 roky
go.sum profile consolidated user + user extra installed for everyone. před 4 roky
main.go added DSN config před 4 roky
main_test.go uploads with pdf/image/format před 4 roky
pay-In-AAA.go pepper decode both upfront and trailer works. před 4 roky
pay-in-decode.go pepper decode both upfront and trailer works. před 4 roky
pay-in-decode_test.go connective funder analyzed před 4 roky
pay-in-pepper.go pepper decode both upfront and trailer works. před 4 roky
pay-in-resimac.go pepper decode both upfront and trailer works. před 4 roky
payin-connective.go pepper decode both upfront and trailer works. před 4 roky
websocket.go session and websocket refactored. před 4 roky
websocket_incoming.go websocket not accept registrations před 4 roky
websocket_message.go session and websocket refactored. před 4 roky
websocket_queue.go session and websocket refactored. před 4 roky

README.md

Readme for RestAPI

Version 1

1. /login

input

**username** : must be email  
**password** : 4-40 chars

output: always json

{
  "login": true, //true = login ,false = failed.
  "Biukop-Session": "3c88be7a-552a-474f-8e4b-92ff22fa0e1c", //session id, for each session
  "Biukop-Mid": "a0acd59c-ffa5-439f-b415-7313b7cb1d34", //machine id, never change
  "sessionExpire": 1646338110, //unix timestamp
  "sessionExpireHuman": "Fri, 04 Mar 2022 07:08:30 +1100," // same as unix timestamp
}
  1. login: true/false indicate a successful login. but the session id and mid is the real auth mechanisms for subsequent http request.
  2. Biukop-Session: server side auth and user tracking.
  3. Biukop-Mid: machine id, unique for identify this particular browser client. it should be saved to browser’s local storage and comeback with every request..
  4. sessionExpire: when this session id will become expire. UnixStamp for easy comparison for client, the serverside value is the key to determin whether a session has expired.
  5. sessionExpireHuman: for easy display and debug purpose make client’s coding easy.

2. /signup

User Sign up through email authentication, a temporary code will be generated for the user to sign up for the first time. Not implemented yet.

3. /logout

Client side clear the session ID and it will logout. Serverside will also clear the session when user logout. No data is kept for a dead or expired session.

  1. /loans?skip=page= GET
  2. /loan/id GET POST PUT DELETE
  3. /User/id GET POST PUT DELETE
  4. /Users?skip=page= GET
  5. /Broker/id GET POST PUT DELETE
  6. /Brokers
  7. /rewards/roan_id/ GET
  8. /reward/id POST DELETE
  9. /Payouts
  10. /Payout/id
  11. /rbac/id R U D
  12. /audit POST
  13. /sendmessage POST
  14. /message/id R D
  15. /message_status/id POST PUT DELETE
  16. /upload POST
  17. /user_lists
  18. /user_list/id
  19. /user_list_trees
  20. /user_list_tree/id