Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tím souhlasíte. Další informace

API help

Overview
Data types

user.profile

Description

Return user's personal profile.

Params

token
string

Access token.

user
string
optional

User name. If specified, returns profile of specified user. If not specified, returns profile of authorized user.

Response

response
struct
status
int
enum

Status code

ValueDescription
200

OK

400

Bad params

403

User has specified not to show his profile.

404

Specified user was not found.

500

Server error

statusMessage
string

Status code description

dateRegistered
date

Date of registration (member since)

dateLastLogin
date

Date when user was last logged in

profile
string

User's profile

visible
bool
optional

Is the profile visible for other users? Only returned if viewing authenticated user's profile.

hideFromTop
bool
optional

Hide user from TOP table? Only returned if viewing authenticated user's profile.

notifyMessages
bool
optional

Send email notification as soon as user receives new message? Only returned if viewing authenticated user's profile.

Call example

user.profile("in voluptate velit", "excepteur sint")