To perform some action, you may want to access the Channels(s) of a particular Account. VIDIZMO has a Web API that allows you to do just that by passing the value “get_account_channels” in the “action” parameter. Just like other APIs, this parameter can be used with other optional parameters to get the required result set.


This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.


Request



Response

 

{
  "result": {
    "tenants": [
      {
        "parent_tenant": null,
        "description": "N/A",
        "membership_type": 0,
        "comments_moderation_enabled": false,
        "social_sharing_enabled": false,
        "viewing_access": 0,
        "allow_comments": false,
        "allow_sharing_with_external_users": false,
        "allow_external_users": true,
        "allow_join_request": true,
        "allow_anonymous_user_access": true,
        "allow_participate": 1,
        "account_package": null,
        "federated_systems": null,
        "content_moderation_enabled": false,
        "Admin_Name": null,
        "User_Account_Packages": null,
        "Created_Date_Time": "2014-04-09T07:12:45.107",
        "Updated_Date_Time": "0001-01-01T00:00:00",
        "IsActive": true,
        "IdentityProviderId": 0,
        "Samlp_Request": null,
        "IsSamlpRequest_Enabled": null,
        "IsAppendRequest": null,
        "merchant_account_id": null,
        "payment_completed": false,
        "isMarked": false,
        "LicenseId": null,
        "subscription_enabled": false,
        "EnterpriseLicenseInfo": null,
        "is_ssl_enable": false,
        "disclaimer_message": null,
        "is_inherit_account_tags": false,
        "is_restrict_new_tags_on_publishing": false,
        "id": 5145,
        "name": "twitter",
        "domain": "twitter.nadeem.tv",
        "logo_url": "http://twitter.nadeem.tv/Images/etls/DefaultChannelLogo.png",
        "parent_tenant_id": 0,
        "weight": 7,
        "is_featured": true,
        "welcome_message": "",
        "welcome_title": "",
        "parent_tenant_logo_url": null
      },
      {
        "parent_tenant": null,
        "description": "N/A",
        "membership_type": 0,
        "comments_moderation_enabled": false,
        "social_sharing_enabled": false,
        "viewing_access": 0,
        "allow_comments": false,
        "allow_sharing_with_external_users": true,
        "allow_external_users": true,
        "allow_join_request": true,
        "allow_anonymous_user_access": true,
        "allow_participate": 1,
        "account_package": null,
        "federated_systems": null,
        "content_moderation_enabled": false,
        "Admin_Name": null,
        "User_Account_Packages": null,
        "Created_Date_Time": "2015-05-12T12:36:31.093",
        "Updated_Date_Time": "0001-01-01T00:00:00",
        "IsActive": true,
        "IdentityProviderId": 0,
        "Samlp_Request": null,
        "IsSamlpRequest_Enabled": null,
        "IsAppendRequest": null,
        "merchant_account_id": null,
        "payment_completed": false,
        "isMarked": false,
        "LicenseId": null,
        "subscription_enabled": false,
        "EnterpriseLicenseInfo": null,
        "is_ssl_enable": false,
        "disclaimer_message": null,
        "is_inherit_account_tags": false,
        "is_restrict_new_tags_on_publishing": false,
        "id": 5468,
        "name": "PK",
        "domain": "nadeem.tv/pk",
        "logo_url": "http://twitter.nadeem.tv/Images/etls/DefaultChannelLogo.png",
        "parent_tenant_id": 5145,
        "weight": 0,
        "is_featured": false,
        "welcome_message": "",
        "welcome_title": "",
        "parent_tenant_logo_url": "http://twitter.nadeem.tv/Images/etls/DefaultChannelLogo.png"
      }
    ],
    "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.