Profiles API
Get signed in user’s profile
Requires an access_token or can use the JS SDK’s api function.
GET: https://account.y8.com/api/v1/json/profile?access_token=[access_token]
Get signed in user’s large profile picture (avatar)
GET: https://account.y8.com/api/v1/json/profile_avatar
Update profile picture (avatar) [Permission required]
send an a JS File object under the property profile_picture[attachment]
POST: https://account.y8.com/api/v1/json/profile/avatar
Save game screenshot
send a base64 encoded like under the property picture
POST: https://account.y8.com/api/v1/jsonprofile/app_image
Get comments
POST: https://account.y8.com/api/v1/profiles/:profile_id/comments
Full profile
GET: https://account.y8.com/profiles/[PID].json