{"id":983,"date":"2021-05-23T17:32:11","date_gmt":"2021-05-23T17:32:11","guid":{"rendered":"https:\/\/thecloudwiki.com\/?p=983"},"modified":"2021-06-20T17:59:25","modified_gmt":"2021-06-20T17:59:25","slug":"horizon-cloud-rest-apis-part-1","status":"publish","type":"post","link":"https:\/\/thecloudwiki.com\/?p=983","title":{"rendered":"Horizon Cloud \/ Horizon DAAS &#8211; Rest APIs [ Part &#8211; 1]"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In a series of blog posts will discuss how to use Rest API calls using Postman and PowerShell cmdlets for<strong> Horizon DAAS<\/strong> and <strong>Horizon Hosted Infrastructure<\/strong> but not for Horizon Cloud on Azure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Horizon DAAS and Hosted Infrastructure customers having no visibility on what&#8217;s happening on connection server appliances since it&#8217;s a hosted cloud. VMware has published REST API documentation on Samples to help customer administrators to manage their environment without login to the admin console<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this article let&#8217;s discuss how can we download API Samples for Horizon DAAS, Horizon Cloud on Hosted Infrastructure as well how can we configure them in POSTMAN.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can download the <strong>REST API<\/strong> calls samples from<strong> <a href=\"https:\/\/code.vmware.com\/samples\/7411\/horizon-cloud-service-and-horizon-daas-platform-rest-api-samples?h=horizon%20daas#\">here<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"350\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/01-Download-1024x350.png\" alt=\"\" class=\"wp-image-984\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/01-Download-1024x350.png 1024w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/01-Download-300x103.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/01-Download-768x263.png 768w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/01-Download.png 1330w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once the above file downloaded, Extract it<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"400\" class=\"wp-image-985\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/02-Extractzip-fille.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/02-Extractzip-fille.png 413w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/02-Extractzip-fille-300x120.png 300w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now Launch <strong>Postman<\/strong> (am using POSTMAN v8.5) and Click on <strong>Collections<\/strong>.<br>Click on <strong>Import<\/strong><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"429\" class=\"wp-image-987\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/03-Postman-collections.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/03-Postman-collections.png 1156w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/03-Postman-collections-300x129.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/03-Postman-collections-1024x439.png 1024w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/03-Postman-collections-768x330.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click on <strong>Folder<\/strong> and select the extracted folder then <strong>Open<\/strong><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"420\" class=\"wp-image-988\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/04-Select-folder.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/04-Select-folder.png 1032w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/04-Select-folder-300x126.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/04-Select-folder-1024x430.png 1024w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/04-Select-folder-768x322.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now you will see many POSTMAN collection files ready for Import<br>Click on <strong>Import<\/strong><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"664\" class=\"wp-image-989\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/05-Postman-samples-Import.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/05-Postman-samples-Import.png 1054w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/05-Postman-samples-Import-300x199.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/05-Postman-samples-Import-1024x680.png 1024w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/05-Postman-samples-Import-768x510.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All the collections are imported to POSTMAN<br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"1007\" class=\"wp-image-990\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/06-Collections-imported.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/06-Collections-imported.png 562w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/06-Collections-imported-298x300.png 298w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/05\/06-Collections-imported-150x150.png 150w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the next article we will discuss how to use these samples.<br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a series of blog posts will discuss how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1346,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[13],"class_list":["post-983","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-horizon","tag-horizon"],"uagb_featured_image_src":{"full":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-e1624200768771.png",400,166,false],"thumbnail":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-150x150.png",150,150,true],"medium":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-300x125.png",300,125,true],"medium_large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-768x319.png",768,319,true],"large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-e1624200768771.png",400,166,false],"1536x1536":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-e1624200768771.png",400,166,false],"2048x2048":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/06\/Horizon-api-feature-image-e1624200768771.png",400,166,false]},"uagb_author_info":{"display_name":"Sandeep","author_link":"https:\/\/thecloudwiki.com\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"In a series of blog posts will discuss how to [&hellip;]","_links":{"self":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=983"}],"version-history":[{"count":2,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/983\/revisions"}],"predecessor-version":[{"id":1152,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/983\/revisions\/1152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/media\/1346"}],"wp:attachment":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}