getUserVideos
- Home
- Multimedia
- UgcVideo
- getUserVideos
getUserVideos
Retrieve array of videos for a user with optional parameters: nodeID, blogID, tierID. User-auth sets userID automatically and devkey requires userID parameter.
Parameters
Name | Description |
userID required | The user’s primary identifier. |
blogID optional | The primary identifier for the user or group’s site. (Same as siteID) |
nodeID optional | The primary identifier for your network. |
tierID optional | Tier ID. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcVideo?action=getUserVideos&nodeID=188234&userID=229928503&page=1&perPage=1&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
{ "service":"ugcVideo", "action":"getUserVideos", "code":1, "message":"Success", "total":"1", "page":1, "per_page":1, "item":[ { "gallery_name":null, "gallery_id":"1", "title":"Test svcVideoUpload.upload video", "filename":"X29uZXNpdGVkZW1vLmNvbV8yMjk5Mjg1MDNfc2FtcGxlX3NvcmVuc29uLm1vdl8xXzE1NTAxODg1NzQuNTA2Ng==.mov", "description":"", "status":"active", "date_uploaded":"2019-02-14 17:56:14", "num_views":"0", "preview_name":null, "preview_url":"http://videos.onesite.com/188234/clips/?v=1550188574", "video_link":"http://www.onesitedemo.com/onedemo/go/gallery/item/1548620?type=video", "uploaded_by":{ "__className":"one_core_user_profile", "main_site_id":234714047, "user_id":"229928503", "spans_multiple_networks":false, "node_home_urls":{ "188234":"http://www.onesitedemo.com/onedemo" }, "master_node_id":"188234", "username":"onesitedemo", "location":"", "age":22, "dob":"852098400", "dob_month":"1", "dob_day":"1", "dob_year":"1997", "gender":"3", "first_name":"ONEsite", "last_name":"", "lang":"en_US", "date_status_updated_server":"0000-00-00 00:00:00", "loc_zip":"73134", "loc_city":"Oklahoma City", "loc_state":"OK", "address":"14000 Quail Springs Pkwy", "address2":"Suite 3600", "timezone":"0", "dob_display":"private", "show_online_now":"1", "comments_approval":"2", "date_created":"1547859723", "date_last_activity":"1547860743", "date_last_ugc_activity":"2019-02-14 17:43:10", "date_profile_photo_updated":"1550187790", "customQuote":"", "account_status":"good-standing", "tag_status":"active", "last_ip":"72.202.189.3", "network_id":"188234", "options":{ "message_privacy":"0", "friends_approval":"0", "show_online_now":"1", "comments_approval":"2", "comments_html":"1", "email_notification":"ongoing", "group_broadcast":"1", "is_searchable":"1" }, "tiers":[ { "1":{ "node_id":"0", "blog_id":"234714047", "tier_id":"1", "priority":"0", "name":"Default", "is_node_default":"0", "is_node_restriction":"0" } } ], "fields":[ ], "new_messages":"0", "domain":"onesitedemo.com", "subdir":"onedemo", "email":"not_an_email@onesite.com", "node_association":"188234" }, "rating_count":"0", "rating":0, "video_id":"1548620", "video_url":"http://videos.onesite.com/188234/X29uZXNpdGVkZW1vLmNvbV8yMjk5Mjg1MDNfc2FtcGxlX3NvcmVuc29uLm1vdl8xXzE1NTAxODg1NzQuNTA2Ng==.mov", "content_id":"1812475310", "width":320, "height":240, "external_video_id":null, "external_video_info":null } ] } |
Service Information
Service | ugcVideo |
Method | getUserVideos |
Type | REST |
Response Types | JSON, XML |