It will return the list of all channels of a given account. 


Sample Code

  

<div class="channels"></div>
<script type="text/javascript" src="http://video.lexcorpinc.com/JavaScript/bundles/widgets.js"></script>
<script type="text/javascript">
 vidizmo.channels.channels(".channels");
</script>

  

Parameter


Parameter 

Description

tenant_id

Tenant id of an account

display_account

If user want to display account as well than pass “true” otherwise “false”.

Redirect_Page_Url

Url of a page where url want redirect on click of channel.

 

Response

 

{
 "result": {
 "tenants": [
 {
 "parent_tenant": null,
 "description": "<p>LexCorp</p>",
 "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": "2013-08-23T03:44:56.443",
 "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": 1643,
 "name": "LexCorp",
 "domain": "video.lexcorpinc.com",
 "logo_url": "http://az2310.vo.msecnd.net/et-1643/285309/Images/00000a/ImgThumbs/A4A42F50CDFD201505081228256781.png",
 "parent_tenant_id": 0,
 "weight": 1,
 "is_featured": false,
 "welcome_message": "<p>Watch LexCorp CEO share his vision of where he sees LexCorp in year 2020.</p>\r\n<p>LexCorp Portal demonstrates out of the box capabilities of VIDIZMO EnterperiseTube to distribute live and on-demand video for corporate communication, sales &amp; marketing, employee training. To learn more, visit&nbsp;<a href=\"http://www.vidizmo.com/\" target=\"_blank\">www.vidizmo.com</a>&nbsp;or&nbsp;<a href=\"http://www.enterprisetube.com/\" target=\"_blank\">www.enterprisetube.com</a></p>\r\n<p><br /><br /></p>",
 "welcome_title": "LexCorp CEO shares Lex2020 Vision",
 "parent_tenant_logo_url": null
 },
 {
 "parent_tenant": null,
 "description": "<p>LexCorp Human Resouces channel for onboarding, training &amp; general employee guidance &amp; information.</p>",
 "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": false,
 "allow_participate": 3,
 "account_package": null,
 "federated_systems": null,
 "content_moderation_enabled": false,
 "Admin_Name": null,
 "User_Account_Packages": null,
 "Created_Date_Time": "2013-08-23T03:48:12.887",
 "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": 1644,
 "name": "Human Resources",
        "domain": "hr.lexcorpinc.com",
 "logo_url": "http://az2310.vo.msecnd.net/et-1644/117263/Images/000006/ImgThumbs/63668B1032E7201308270751255418.png",
 "parent_tenant_id": 1643,
 "weight": 8,
 "is_featured": true,
 "welcome_message": "",
 "welcome_title": "",
 "parent_tenant_logo_url": "http://az2310.vo.msecnd.net/et-1643/285309/Images/00000a/ImgThumbs/A4A42F50CDFD201505081228256781.png"
 },
 {
 "parent_tenant": null,
 "description": "<p>LexCorp</p>",
 "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": "2013-08-23T03:49:41.29",
 "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": 1645,
 "name": "Employee Voice",
 "domain": "employeevoice.lexcorpinc.com",
 "logo_url": "http://az2310.vo.msecnd.net/et-1645/117264/Images/000000/ImgThumbs/04F2F225FAF4201308270758241114.png",
 "parent_tenant_id": 1643,
 "weight": 4,
 "is_featured": true,
 "welcome_message": "",
 "welcome_title": "",
 "parent_tenant_logo_url": "http://az2310.vo.msecnd.net/et-1643/285309/Images/00000a/ImgThumbs/A4A42F50CDFD201505081228256781.png"
 }
 ],
    "count": 3
 },
 "status": 1,
 "status_code": 200,
 "message": null
}