To access a user information you first need to obtain an authorization token for the identity
scope granted to your application.
The user's profile information will be an entity resource located under the me
key on the API root response.
body
The body
section on the user's profile entity will have this shape:
{
"username": <string>,
"bratabase_url": <url>,
"user_id": <int>,
"reputation": <int>,
"avatar": {
"medium": <url>
},
"is_verified": <boolean>,
"email": <string>
}
medium
(100px x 100px) key which will link either to the user's uploaded avatar or null in case she has not uploaded one yet.null
if the access token used does not have the email
scope authorized. Otherwise will contain the user's current email address. Remember that a user can change her email address at any point on her profile.links
"links": {
"bras": <url>,
"measurements": <url>
}
bras
scope granted, this will contain a URL where to fetch this user's bra collection from. Otherwise it will have null
value.measurements
scope granted, this will contain a URL where to fetch this user's measurements collection from. Otherwise it will have null
value.