A developer can get videos for logged in user that user published by passing the value “get_my_published_mashups” in “action” parameter. Developers can also pass any other optional parameter provided below to get required result set.
You will have to set User Context before calling this API. To establish Context, either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to this call API.
Request
Parameters
Parameter |
Description |
action |
It must be set to ‘get_my_published_mashups’ in this case. |
access_token |
Provide the user's access token to call this API. |
Note: To apply filters, sorting and paging, see “Get Filtered Videos”.
Response
{ "result": { "mashups": [ { "custom_mashup_attributes": [ { "custom_attribute_id": 96, "custom_attribute_value": "", "custom_attribute_name": "Class", "id": 1478, "mashup_id": 108794, "tenant_id": 5145 } ], "id": 108794, "id_hash": "TYxfJEp2SDdEG0R3zZJLFg%3d%3d", "weight": 1, "title": "Comon Do it Again", "duration": 6, "thumbnail_url": "http://vidizmo.blob.core.windows.net/nadeem-5145/198293/Images/00000f/ImgThumbs/F2587782F216201504140619467696.jpg", "content_count": 6, "thumbnail_large_url": "", "thumbnail_medium_url": "", "long_description": "", "description": "", "size": 665107, "tenant": { "id": 5145, "name": null, "domain": "twitter.nadeem.tv", "logo_url": null, "parent_tenant_id": 0, "weight": 0, "is_featured": null, "welcome_message": null, "welcome_title": null, "parent_tenant_logo_url": null }, "owner": { "user_profile": { "id": 0, "first_name": "a", "last_name": "", "email_address": null }, "tenant": null, "tenant_id": 0, "user_id": 198293 }, "tags": [], "created_date": "2015-04-14T06:19:48.697Z", "published_date": "2015-04-15T06:02:23.523Z", "is_live": false, "is_sellable": false, "price": 0, "total_likes": 0, "total_dislikes": 0, "total_rating": 0, "total_favorites": 0, "total_bans": 0, "total_views": 3, "is_featured": true, "channel_name": null, "mashup_status": 3, "updated_date": "2015-04-14T13:01:06.147", "mashup_format": 8, "number_of_users": 0, "is_enforce_quiz_completion": null, "is_expired": false, "expiry_date": null, "show_on_channel_library": true, "total_no_of_sessions": 0, "mashup_status_value": "Published", "client_time_zone_offset": 0, "total_comments": 0, "mashup_meta_info_tag": "", "mashup_meta_info_category_name": "General", "mashup_format_value": "Video", "loop": false, "enforce_order": false, "enforce_completion": false, "default_viewing_access": "MainChannelUsers", "comment_moderation_required": false, "auto_play": false, "auto_advance": false, "published_on": "2015-04-14T06:20:34.387" }, { "custom_mashup_attributes": [ { "custom_attribute_id": 92, "custom_attribute_value": "", "custom_attribute_name": "Adverrisement", "id": 1468, "mashup_id": 108793, "tenant_id": 5145 } ], "id": 108793, "id_hash": "c64n3Z%2b2hYloYayGvQupLQ%3d%3d", "weight": 0, "title": "Blank", "duration": 1, "thumbnail_url": "http://vidizmo.blob.core.windows.net/nadeem-5145/198293/Images/00000e/ImgThumbs/EC4EB8D0A6F8201504140619420495.jpg", "content_count": 3, "thumbnail_large_url": "", "thumbnail_medium_url": "", "long_description": "", "description": "", "size": 9389, "tenant": { "id": 5145, "name": null, "domain": "twitter.nadeem.tv", "logo_url": null, "parent_tenant_id": 0, "weight": 0, "is_featured": null, "welcome_message": null, "welcome_title": null, "parent_tenant_logo_url": null }, "owner": { "user_profile": { "id": 0, "first_name": "a", "last_name": "", "email_address": null }, "tenant": null, "tenant_id": 0, "user_id": 198293 }, "tags": [], "created_date": "2015-04-14T06:19:43.833Z", "published_date": "2015-04-14T06:20:37.49Z", "is_live": false, "is_sellable": false, "price": 0, "total_likes": 0, "total_dislikes": 0, "total_rating": 0, "total_favorites": 0, "total_bans": 0, "total_views": 0, "is_featured": false, "channel_name": null, "mashup_status": 3, "updated_date": "2015-04-14T06:19:43.833", "mashup_format": 8, "number_of_users": 0, "is_enforce_quiz_completion": null, "is_expired": false, "expiry_date": null, "show_on_channel_library": true, "total_no_of_sessions": 0, "mashup_status_value": "Published", "client_time_zone_offset": 0, "total_comments": 0, "mashup_meta_info_tag": "", "mashup_meta_info_category_name": "General", "mashup_format_value": "Video", "loop": false, "enforce_order": false, "enforce_completion": false, "default_viewing_access": "MainChannelUsers", "comment_moderation_required": false, "auto_play": false, "auto_advance": false, "published_on": "2015-04-14T06:19:18.92" } ], "count": 2 }, "status": 1, "status_code": 200, "message": null }
To learn more how these Widgets work, click here on VIDIZMO Web API Library.
For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.