The developer can get favorite videos for logged in user by passing value “get_favorite_mashups” in “action” parameter, the developer can pass any other optional parameter provided below to get required result set.

 

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

action

It must be set to ‘get_favorite_mashups’ in this case.


Note: To apply paging in the result set, see “Get Filtered Videos” Section.


Response

 

{
  "result": {
    "mashups": [
      {
        "categories": 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": null,
        "description": "What The Hell",
        "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": "What The Hell",
            "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:25:44.873",
        "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": 0,
        "updated_date": "2015-04-10T17:36:30.783",
        "mashup_format": 8,
        "number_of_users": 0,
        "is_enforce_quiz_completion": null,
        "is_expired": false,
        "expiry_date": null,
        "show_on_channel_library": null,
        "total_no_of_sessions": 0,
        "mashup_status_value": "None",
        "client_time_zone_offset": 0,
        "total_comments": 2,
        "mashup_meta_info_tag": "What The Hell",
        "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": 1
  },
  "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.