account
Grant Wechat Miniprogram Login
Changed onExchange a mini-program js_code for a one-time web-view ticket. No session cookie.
post/account/auth/wechat-miniprogram/grant
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Wechat Mini Program Grant Request required
js_code, string required
locale, 'zh' | 'en' nullable
expected_user_id, string nullable
Response
Successful Response
Wechat Mini Program Grant Response required
ticket, string required
new_user, boolean
Changes
- info
added the optional property
new_userto the response with the status
- info
- info
added the new optional request property
expected_user_id
- info