選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
sp c483206491 change Trail to income_amount to add income_type 4年前
.idea uploads seems working. 4年前
assets uploads seems working. 4年前
deploy add json dir for upload analysis 4年前
html PayIn list wit new filter 4年前
.gitignore uploads with pdf/image/format 4年前
README.md add description for login API 4年前
UploadsOnDisk.go add json dir for upload analysis 4年前
UploadsOnDisk_test.go uploads polished. 4年前
apiV1Avatar.go list of peole works, user enabled move to people 4年前
apiV1BrokerList.go list of peole works, user enabled move to people 4年前
apiV1ChangePass.go profile consolidated user + user extra installed for everyone. 4年前
apiV1ChartPastYearMonthly.go past year monthly value chart waterflow is ready. 4年前
apiV1ChartRecent10Loans.go Top broker added for summary dashboard now complete. 4年前
apiV1ChartTopBroker.go Top broker added for summary dashboard now complete. 4年前
apiV1ChartTypeOfLoans.go past year monthly value chart waterflow is ready. 4年前
apiV1GridLoanFullOverview.go broker earnings backend support 4年前
apiV1LoanSingle.go reward overview worked. 4年前
apiV1LoginAvailable.go checking available login 4年前
apiV1PayIn.go PayIn Api implemented 4年前
apiV1PayInList.go PayIn list wit new filter 4年前
apiV1PeopleList.go list of peole works, user enabled move to people 4年前
apiV1Response.go AAA decoding works. 4年前
apiV1Reward.go reward update is finished. 4年前
apiV1SyncPeople.go sync people added. Loand have reward people for client side loookup. 4年前
apiV1UploadAnalysis.go change Trail to income_amount to add income_type 4年前
apiV1UploadAsImage.go uploads seems working. 4年前
apiV1UploadList.go uploads seems working. 4年前
apiV1UploadThumb.go uploads seems working. 4年前
apiV1Uploads.go change Trail to income_amount to add income_type 4年前
apiV1UploadsAsPdf.go uploads seems working. 4年前
apiV1User.go list of peole works, user enabled move to people 4年前
apiV1UserReward.go broker earnings backend support 4年前
apiV1login.go list of peole works, user enabled move to people 4年前
apiV1logout.go loan summary chart support is ready 4年前
apiv1.go uploads seems working. 4年前
apiv1ChartReward.go reward overview worked. 4年前
config.go change Trail to income_amount to add income_type 4年前
config.json add json dir for upload analysis 4年前
debug.go AAA decoding works. 4年前
fileUtil.go uploads seems working. 4年前
go.mod profile consolidated user + user extra installed for everyone. 4年前
go.sum profile consolidated user + user extra installed for everyone. 4年前
main.go added DSN config 4年前
main_test.go uploads with pdf/image/format 4年前
pay-in-decode.go change Trail to income_amount to add income_type 4年前
pay-in-decode_test.go uploads with pdf/image/format 4年前
payIn-AAA.go change Trail to income_amount to add income_type 4年前
payin-connective.go change Trail to income_amount to add income_type 4年前
websocket.go websocket implemented with dummy send as a toy for test. 4年前

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