GET users/show
Returns the profile about the user specified by the user_id. The user’s most recent activities will be returned inline when possible.
It returns your own profile if the user_id is not specified.
Resource URL
Resource Information
Required scope
|
public_profile |
Required role
|
All |
Response formats
|
JSON, XML |
Requires authentication?
|
Yes |
Parameters
user_id
optional
|
The ID of the user for whom to return results for; defaults to the authorized user. |
include_activities
optional
|
The activities node will be included when set to true; defaults to false. |
Example Request
Example Result
{ "profile":{ "id":"876f802ab546b8c7", "name":"Alex Zang", "short_name":"AZ", "first_name":"Alex", "last_name":"Zang", "thumbnail":"\/\/d1teylh2i3wa1w.cloudfront.net\/users\/avatar_0cbe29e3f6098553a013b9c835e1cd43292cf035_normal.jpg", "photo":"\/\/d1teylh2i3wa1w.cloudfront.net\/users\/avatar_0cbe29e3f6098553a013b9c835e1cd43292cf035_large.jpg", "timezone":"Europe\/London", "date_format":"d\/m\/Y", "created_at":"2014-04-13T22:49:41+00:00" }, "activities":{ "views":{ "view":[ { "id":"55ec5bb4c621f6cde268576c", "video":{ "id":"0541aa577e2e59aa", "title":"New ZiMovi Promo June 2015 FINAL", "page":"https:\/\/zimovi.com\/success\/", "domain":"zimovi.com", "is_embed":true }, "progress":{ "length":78.27, "last_view":"2015-09-12T19:13:57+00:00", "view_count":5 }, "device":{ "platform":"Macintosh", "browser":"Firefox", "version":"40.0" }, "viewer":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "email":"alexzang@gmail.com", "ip":"86.153.203.242", "country":"GB", "geolocation":{ "type":"Point", "coordinates":[ 53.3416, -1.5214 ] } } }, { "id":"55cce514c621f6cde2684f81", "video":{ "id":"0541aa577e2e59aa", "title":"New ZiMovi Promo June 2015 FINAL", "page":"https:\/\/zimovi.co.uk\/channel\/staff\/", "domain":"zimovi.co.uk", "is_embed":false }, "progress":{ "length":13.75, "last_view":"2015-08-13T18:40:05+00:00", "view_count":1 }, "device":{ "platform":"Macintosh", "browser":"Firefox", "version":"39.0" }, "viewer":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "email":"alexzang@gmail.com", "ip":"86.153.203.70", "country":"GB", "geolocation":{ "type":"Point", "coordinates":[ 53.3416, -1.5214 ] } } }, { "id":"55ca29b6c621f6cde2684e02", "video":{ "id":"0a65107a52102b5d", "title":"ZiMovi", "page":"https:\/\/zimovi.com\/z\/leadership", "domain":"zimovi.com", "is_embed":true }, "progress":{ "length":0, "last_view":"2015-08-11T16:55:55+00:00", "view_count":1 }, "device":{ "platform":"Android", "browser":"Chrome", "version":"44.0.2403.133" }, "viewer":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "email":"alexzang@gmail.com", "ip":"85.255.232.32", "country":"GB", "geolocation":null } }, { "id":"55c74326c621f6cde2684ce0", "video":{ "id":"0541aa577e2e59aa", "title":"New ZiMovi Promo June 2015 FINAL", "page":"https:\/\/zimovi.com\/success\/", "domain":"zimovi.com", "is_embed":true }, "progress":{ "length":0.07, "last_view":"2015-08-09T12:08:48+00:00", "view_count":0 }, "device":{ "platform":"Windows", "browser":"MSIE", "version":"12.10240" }, "viewer":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "email":"alexzang@gmail.com", "ip":"217.79.124.119", "country":"GB", "geolocation":null } }, { "id":"55bb6863c621f6cde2684807", "video":{ "id":"40dbfb46d61fa692", "title":"ZiMovi Logo Animation", "page":"https:\/\/zimovi.com\/channel\/staff\/video\/40dbfb46d61fa692", "domain":"zimovi.com", "is_embed":false }, "progress":{ "length":20.59, "last_view":"2015-07-31T12:19:57+00:00", "view_count":1 }, "device":{ "platform":"Macintosh", "browser":"Firefox", "version":"39.0" }, "viewer":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "email":"alexzang@gmail.com", "ip":"86.181.96.28", "country":"GB", "geolocation":{ "type":"Point", "coordinates":[ 53.3416, -1.5214 ] } } } ] }, "comments":{ "comment":[ { "id":"55fb0fb6e6ec3f7c67bbea6d", "video":{ "id":"cc2b8aecfaceca5c", "title":"ZiMovi Ad June 2015", "page":"https:\/\/zimovi.com\/channel\/staff\/video\/cc2b8aecfaceca5c", "domain":"zimovi.com" }, "device":{ "platform":"Macintosh", "browser":"Firefox", "version":"40.0" }, "content":"New Corp video coming soon", "status":"published", "created_at":"2015-09-17T19:08:38+00:00", "author":{ "is_user":true, "user_id":"876f802ab546b8c7", "name":"Alex Zang", "photo":"\/\/d1teylh2i3wa1w.cloudfront.net\/users\/avatar_0cbe29e3f6098553a013b9c835e1cd43292cf035_normal.jpg", "ip":"86.153.203.242", "country":"GB", "geolocation":{ "type":"Point", "coordinates":[ 53.3416, -1.5214 ] } } } ] } } }