If tags have been assigned to a media, they can be pulled by using the “get_tags” value in the “action” parameters. This parameter can be used with other optional parameters to get the required result set. Some of the parameters are given in the table below.
To set User Context and get user specific Favorite Videos back, 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 |
tenant_id |
Id of a tenant. |
is_include_account_tag |
In order to include tags of account pass “true” else pass “false” |
tag_name |
Name of a tag, you want to search. |
order_by |
Name of a column according to which user want to sort tags. Prefered Values: TagName TenantId Weight UsedInMashup |
is_order_by_desc |
Sort tags in descending order pass “true”. |
Response
{ "result": { "mashups": [ { "categories": [ { "id": 5945, "parent_category_id": 0, "name": "General", "description": null } ], "custom_mashup_attributes": null, "id": 85827, "id_hash": "gFG0U8yU5SXugtKuw7jLSw%3d%3d", "weight": 0, "title": "What The Hell", "duration": 11, "thumbnail_url": "http://az2213.vo.msecnd.net/nadeem-5137/186920/Images/000001/ImgThumbs/1143291859449_wmv.jpg", "content_count": 0, "thumbnail_large_url": null, "thumbnail_medium_url": null, "long_description": "", "description": "", "size": null, "tenant": { "id": 5137, "name": null, "domain": "chelsea.nadeem.tv/sub", "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": "Muhammad", "last_name": "", "email_address": null }, "tenant": null, "tenant_id": 0, "user_id": 186920 }, "tags": [ { "id": 0, "name": "Corporate", "used_in_mashup": 0, "search_call": 0, "weight": 0, "last_search_date_time": "0001-01-01T00:00:00", "tenantId": 0 } ], "created_date": "2014-04-08T16:19:04.927Z", "published_date": "2014-04-08T16:19:04.927Z", "is_live": false, "is_sellable": false, "price": null, "total_likes": 1, "total_dislikes": 1, "total_rating": 0, "total_favorites": 1, "total_bans": 1, "total_views": 1, "is_featured": false, "channel_name": null, "mashup_status": 3, "updated_date": "2014-04-08T16:25:44.873", "mashup_format": 8, "number_of_users": 4, "is_enforce_quiz_completion": null, "is_expired": false, "expiry_date": null, "show_on_channel_library": null, "total_no_of_sessions": 0, "mashup_status_value": "Published", "client_time_zone_offset": 0, "total_comments": 2, "mashup_meta_info_tag": "corporate", "mashup_meta_info_category_name": null, "mashup_format_value": "Video", "loop": null, "enforce_order": null, "enforce_completion": null, "default_viewing_access": "None", "comment_moderation_required": null, "auto_play": null, "auto_advance": null, "published_on": null } ], "count": 0 }, "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.