GoodDollar/GoodServer

[GoodID] register to redtent

Closed this issue · 0 comments

add an api endpoint goodid/redtent to register a user to the redtent pool

  • no auth required for endpoint
  • input in post body credentials, videoFilename
  • verify credentials are valid (ie signed by us)
  • verify user has uniqueness credential
  • verify all credentials issued to same account
  • verify user location + gender from credentials are valid for redtent
  • verify videoFilename equal {account}.{ext} and exists on our redtent bucket
  • if all valid call multiwallet registerRedtent(account)
  • if not valid return response with http error