GET get-user-info/{id-or-name}

GET Required methods
Auth
Level 1
Description : Get info about an user
Arguments :
NameTypeDescription
id-or-nameint|stringThe slug of the user or the ID

Methods : GET

Response :
NameTypeDescription
user_idintThe User ID
user_namestringThe user name
user_descriptionstringUser description
user_slugstringThe user slug (Identification in the URL)
user_urlstringUser profile URL
user_rolestringUser primary role
author_linkedboolIf an author is linked to this user or not
author_idintAuthor linked ID (Don't appear if author_linked = false)
author_slugstringAuthor slug linked (Don't appear if author_linked = false)
author_namestringAuthor Name linked (Don't appear if author_linked = false)
author_linkstringAuthor Entry list URL (Don't appear if author_linked = false)
last_entriesint[]Array of Entry IDs from this user (10 entries)
 


Write your reply...
Back
Top