User Account API
Account Role
Get the user role. The user_id
peroperty required AKA PID.
GET: https://account.y8.com/api/v1/json/account/role?user_id=PID
Authorizations
Get the list of applications a user has authorized with. The user_id
peroperty required AKA PID.
GET: https://account.y8.com/api/v1/json/account/applications?user_id=PID
Register account [requires registration access]
Required properties: email, passowrd, timestamp, _hmac, client_id
POST: https://account.y8.com/api/v1/json/accounts
Update account
Required properties: id, email, password, _hmac, timestamp, client_id
PUT: https://account.y8.com/api/v1/json/accounts/:id
New account
Required properties: email, password, redirect_uri, ip, meta Meta subproperties: nickname, first_name
POST: https://account.y8.com/api/v1/json/account/new
sign out account [requires permission]
GET: https://account.y8.com/api/v1/json/account/sign_out