Cronologia pagina

Versioni confrontate

Chiave

  • Questa linea è stata aggiunta.
  • Questa linea è stata rimossa.
  • La formattazione è stata modificata.
HTML
<style>
		@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
	@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css');
	.hljs-comment,
	.hljs-title {
		color: #8e908c
	}
	
	.hljs-variable,
	.hljs-attribute,
	.hljs-tag,
	.hljs-regexp,
	.ruby .hljs-constant,
	.xml .hljs-tag .hljs-title,
	.xml .hljs-pi,
	.xml .hljs-doctype,
	.html .hljs-doctype,
	.css .hljs-id,
	.css .hljs-class,
	.css .hljs-pseudo {
		color: #c82829
	}
	
	.hljs-number,
	.hljs-preprocessor,
	.hljs-pragma,
	.hljs-built_in,
	.hljs-literal,
	.hljs-params,
	.hljs-constant {
		color: #f5871f
	}
	
	.ruby .hljs-class .hljs-title,
	.css .hljs-rules .hljs-attribute {
		color: #eab700
	}
	
	.hljs-string,
	.hljs-value,
	.hljs-inheritance,
	.hljs-header,
	.ruby .hljs-symbol,
	.xml .hljs-cdata {
		color: #718c00
	}
	
	.css .hljs-hexcolor {
		color: #3e999f
	}
	
	.hljs-function,
	.python .hljs-decorator,
	.python .hljs-title,
	.ruby .hljs-function .hljs-title,
	.ruby .hljs-title .hljs-keyword,
	.perl .hljs-sub,
	.javascript .hljs-title,
	.coffeescript .hljs-title {
		color: #4271ae
	}
	
	.hljs-keyword,
	.javascript .hljs-function {
		color: #8959a8
	}
	
	.hljs {
		display: block;
		background: white;
		color: #4d4d4c;
		padding: .5em
	}
	
	.coffeescript .javascript,
	.javascript .xml,
	.tex .hljs-formula,
	.xml .javascript,
	.xml .vbscript,
	.xml .css,
	.xml .hljs-cdata {
		opacity: .5
	}
	
	.right .hljs-comment {
		color: #969896
	}
	
	.right .css .hljs-class,
	.right .css .hljs-id,
	.right .css .hljs-pseudo,
	.right .hljs-attribute,
	.right .hljs-regexp,
	.right .hljs-tag,
	.right .hljs-variable,
	.right .html .hljs-doctype,
	.right .ruby .hljs-constant,
	.right .xml .hljs-doctype,
	.right .xml .hljs-pi,
	.right .xml .hljs-tag .hljs-title {
		color: #c66
	}
	
	.right .hljs-built_in,
	.right .hljs-constant,
	.right .hljs-literal,
	.right .hljs-number,
	.right .hljs-params,
	.right .hljs-pragma,
	.right .hljs-preprocessor {
		color: #de935f
	}
	
	.right .css .hljs-rule .hljs-attribute,
	.right .ruby .hljs-class .hljs-title {
		color: #f0c674
	}
	
	.right .hljs-header,
	.right .hljs-inheritance,
	.right .hljs-name,
	.right .hljs-string,
	.right .hljs-value,
	.right .ruby .hljs-symbol,
	.right .xml .hljs-cdata {
		color: #b5bd68
	}
	
	.right .css .hljs-hexcolor,
	.right .hljs-title {
		color: #8abeb7
	}
	
	.right .coffeescript .hljs-title,
	.right .hljs-function,
	.right .javascript .hljs-title,
	.right .perl .hljs-sub,
	.right .python .hljs-decorator,
	.right .python .hljs-title,
	.right .ruby .hljs-function .hljs-title,
	.right .ruby .hljs-title .hljs-keyword {
		color: #81a2be
	}
	
	.right .hljs-keyword,
	.right .javascript .hljs-function {
		color: #b294bb
	}
	
	.right .hljs {
		display: block;
		overflow-x: auto;
		background: #1d1f21;
		color: #c5c8c6;
		padding: .5em;
		-webkit-text-size-adjust: none
	}
	
	.right .coffeescript .javascript,
	.right .javascript .xml,
	.right .tex .hljs-formula,
	.right .xml .css,
	.right .xml .hljs-cdata,
	.right .xml .javascript,
	.right .xml .vbscript {
		opacity: .5
	}
	
	
		
	h1,
	h2,
	h3,
	h4,
	h5 {
		color: black;
		margin: 12px 0
	}
	
	h1 .permalink,
	h2 .permalink,
	h3 .permalink,
	h4 .permalink,
	h5 .permalink {
		margin-left: 0;
		opacity: 0;
		transition: opacity .25s ease
	}
	
	h1:hover .permalink,
	h2:hover .permalink,
	h3:hover .permalink,
	h4:hover .permalink,
	h5:hover .permalink {
		opacity: 1
	}
	
	.triple h1 .permalink,
	.triple h2 .permalink,
	.triple h3 .permalink,
	.triple h4 .permalink,
	.triple h5 .permalink {
		opacity: .15
	}
	
	.triple h1:hover .permalink,
	.triple h2:hover .permalink,
	.triple h3:hover .permalink,
	.triple h4:hover .permalink,
	.triple h5:hover .permalink {
		opacity: .15
	}
	
	h1 {
		font: 200 36px 'Raleway', Helvetica, sans-serif;
		font-size: 36px
	}
	
	h2 {
		font: 200 36px 'Raleway', Helvetica, sans-serif;
		font-size: 30px
	}
	
	h3 {
		font-size: 100%;
		text-transform: uppercase
	}
	
	h5 {
		font-size: 100%;
		font-weight: normal
	}
	
	p {
		margin: 5 0 10px
	}
	
	p.choices {
		line-height: 1.6
	}
	
	a {
		color: #18bc9c;
		text-decoration: none
	}
	
	li p {
		margin: 0
	}
	
	hr.split {
		border: 0;
		height: 1px;
		width: 100%;
		padding-left: 6px;
		margin: 12px auto;
		background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.2) 51.4%, rgba(255, 255, 255, 0.2) 51.4%, rgba(255, 255, 255, 0) 80%)
	}
	
	dl dt {
		float: left;
		width: 130px;
		clear: left;
		text-align: right;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-weight: 700
	}
	
	dl dd {
		margin-left: 150px
	}
	
	blockquote {
		color: rgba(0, 0, 0, 0.5);
		font-size: 15.5px;
		padding: 10px 20px;
		margin: 12px 0;
		border-left: 5px solid #e8e8e8
	}
	
	blockquote p:last-child {
		margin-bottom: 0
	}
	
	pre {
		background-color: #f5f5f5;
		padding: 12px;
		border: 1px solid #cfcfcf;
		border-radius: 6px;
		overflow: auto
	}
	
	pre code {
		color: black;
		background-color: transparent;
		padding: 0;
		border: none
	}
	
	code {
		color: #444;
		background-color: #f5f5f5;
		font: 'Inconsolata', monospace;
		padding: 1px 4px;
		border: 1px solid #cfcfcf;
		border-radius: 3px
	}
	
	ul,
	ol {
		padding-left: 2em
	}
	
	table {
		border-collapse: collapse;
		border-spacing: 0;
		margin-bottom: 12px
	}
	
	table tr:nth-child(2n) {
		background-color: #fafafa
	}
	
	table th,
	table td {
		padding: 6px 12px;
		border: 1px solid #e6e6e6
	}
	
	.text-muted {
		opacity: .5
	}
	
	.note,
	.warning {
		padding: .3em 1em;
		margin: 1em 0;
		border-radius: 2px;
		font-size: 90%
	}
	
	.note h1,
	.warning h1,
	.note h2,
	.warning h2,
	.note h3,
	.warning h3,
	.note h4,
	.warning h4,
	.note h5,
	.warning h5,
	.note h6,
	.warning h6 {
		font-family: 200 36px 'Raleway', Helvetica, sans-serif;
		font-size: 135%;
		font-weight: 500
	}
	
	.note p,
	.warning p {
		margin: .5em 0
	}
	
	.note {
		color: black;
		background-color: #eff7fc;
		border-left: 4px solid #3498db
	}
	
	.note h1,
	.note h2,
	.note h3,
	.note h4,
	.note h5,
	.note h6 {
		color: #3498db
	}
	
	.warning {
		color: black;
		background-color: #fcf0ef;
		border-left: 4px solid #d62c1a
	}
	
	.warning h1,
	.warning h2,
	.warning h3,
	.warning h4,
	.warning h5,
	.warning h6 {
		color: #d62c1a
	}
	
		
		
	.preload * {
		transition: none !important
	}
	
	.pull-left {
		float: left
	}
	
	.pull-right {
		float: right
	}
	
	.badge {
		display: inline-block;
		float: right;
		min-width: 10px;
		min-height: 14px;
		padding: 3px 7px;
		font-size: 12px;
		color: #000;
		background-color: #ededed;
		border-radius: 10px;
		margin: -2px 0
	}
	
	.badge.get {
		color: white;
		background-color: #3498db
	}
	
	.badge.head {
		color: white;
		background-color: #3498db
	}
	
	.badge.options {
		color: white;
		background-color: #3498db
	}
	
	.badge.put {
		color: white;
		background-color: #f39c12
	}
	
	.badge.patch {
		color: white;
		background-color: #f39c12
	}
	
	.badge.post {
		color: white;
		background-color: #18bc9c
	}
	
	.badge.delete {
		color: white;
		background-color: #e74c3c
	}
	
	.collapse-button {
		float: right
	}
	
	.collapse-button .close {
		display: none;
		color: #18bc9c;
		cursor: pointer
	}
	
	.collapse-button .open {
		color: #18bc9c;
		cursor: pointer
	}
	
	.collapse-button.show .close {
		display: inline
	}
	
	.collapse-button.show .open {
		display: none
	}
	
	.collapse-content {
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease-in-out
	}
	
	
	.container {
		margin-left: auto;
		margin-right: auto
	}
	
	.container .row .content {
		margin-left: 244px;
		width: 696px
	}
	
	.container .row:after {
		content: '';
		display: block;
		clear: both
	}
	
	.middle:before,
	.middle:after {
		content: '';
		display: table
	}
	
	.middle:after {
		clear: both
	}
	
	.middle {
		box-sizing: border-box;
		width: 51.5%;
		padding-right: 12px
	}
	
	.right {
		box-sizing: border-box;
		float: right;
		width: 48.5%;
		padding-left: 12px
	}
	
	.right a {
		color: #18bc9c
	}
	
	.right h1,
	.right h2,
	.right h3,
	.right h4,
	.right h5,
	.right p,
	.right div {
		color: white
	}
	
	.right pre {
		background-color: #1d1f21;
		border: 1px solid #1d1f21
	}
	
	.right pre code {
		color: #c5c8c6
	}
	
	.right .description {
		margin-top: 12px
	}
	
	.triple .resource-heading {
		font-size: 125%
	}
	
	.definition {
		margin-top: 12px;
		margin-bottom: 12px
	}
	
	.definition .method {
		font-weight: bold
	}
	
	.definition .method.get {
		color: #2e80b8
	}
	
	.definition .method.head {
		color: #2e80b8
	}
	
	.definition .method.options {
		color: #2e80b8
	}
	
	.definition .method.post {
		color: #2eb89d
	}
	
	.definition .method.put {
		color: #b8822e
	}
	
	.definition .method.patch {
		color: #b8822e
	}
	
	.definition .method.delete {
		color: #b83b2e
	}
	
	.definition .uri {
		word-break: break-all;
		word-wrap: break-word
	}
	
	.definition .hostname {
		opacity: .5
	}
	
	.example-names {
		background-color: #eee;
		padding: 12px;
		border-radius: 6px
	}
	
	.example-names .tab-button {
		cursor: pointer;
		color: black;
		border: 1px solid #ddd;
		padding: 6px;
		margin-left: 12px
	}
	
	.example-names .tab-button.active {
		background-color: #d5d5d5
	}
	
	.right .example-names {
		background-color: #444
	}
	
	.right .example-names .tab-button {
		color: white;
		border: 1px solid #666;
		border-radius: 6px
	}
	
	.right .example-names .tab-button.active {
		background-color: #5e5e5e
	}
	
	#nav-background {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: 16.5%;
		padding-right: 14.4px;
		background-color: #fbfbfb;
		border-right: 1px solid #f0f0f0;
		z-index: -1
	}
	
	#right-panel-background {
		position: absolute;
		right: -12px;
		top: -12px;
		bottom: -12px;
		width: 48.6%;
		background-color: #333;
		z-index: -1
	}
	
	.back-to-top {
		position: fixed;
		z-index: 1;
		bottom: 0;
		right: 24px;
		padding: 4px 8px;
		color: rgba(0, 0, 0, 0.5);
		background-color: #ededed;
		text-decoration: none !important;
		border-top: 1px solid #ededed;
		border-left: 1px solid #ededed;
		border-right: 1px solid #ededed;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px
	}
	
	.resource-group {
		padding: 12px;
		margin-bottom: 12px;
		background-color: white;
		border: 1px solid #c1c1c1;
		border-radius: 6px
	}
	
	.resource-group h2.group-heading,
	.resource-group .heading a {
		padding: 12px;
		margin: -12px -12px 12px -12px;
		background-color: #ededed;
		border-bottom: 1px solid #ededed;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden
	}
	
	.triple .content .resource-group {
		padding: 0;
		border: none
	}
	
	.triple .content .resource-group h2.group-heading,
	.triple .content .resource-group .heading a {
		margin: 0 0 12px 0;
		border: 1px solid #ededed
	}
	
	nav .resource-group .heading a {
		padding: 12px;
		margin-bottom: 0
	}
	
	nav .resource-group .collapse-content {
		padding: 0
	}
	
	.action {
		margin-bottom: 12px;
		padding: 12px 12px 0 12px;
		overflow: hidden;
		border: 1px solid transparent;
		border-radius: 6px
	}
	
	.action h4.action-heading {
		padding: 6px 12px;
		margin: -12px -12px 12px -12px;
		border-bottom: 1px solid transparent;
		border-top-left-radius: 6px;
		border-top-right-radius: 6px;
		overflow: hidden
	}
	
	.action h4.action-heading .name {
		float: right;
		font-weight: normal;
		padding: 6px 0
	}
	
	.action h4.action-heading .method {
		padding: 6px 12px;
		margin-right: 12px;
		border-radius: 3px;
		display: inline-block
	}
	
	.action h4.action-heading .method.get {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.head {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.options {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.put {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.patch {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.post {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading .method.delete {
		color: #000;
		background-color: white
	}
	
	.action h4.action-heading code {
		color: #444;
		background-color: rgba(255, 255, 255, 0.7);
		border-color: transparent;
		font-weight: normal;
		word-break: break-all;
		display: inline-block;
		margin-top: 2px
	}
	
	.action dl.inner {
		padding-bottom: 2px
	}
	
	.action .title {
		border-bottom: 1px solid white;
		margin: 0 -12px -1px -12px;
		padding: 12px
	}
	
	.action.get {
		border-color: #3498db
	}
	
	.action.get h4.action-heading {
		color: white;
		background: #3498db;
		border-bottom-color: #3498db
	}
	
	.action.head {
		border-color: #3498db
	}
	
	.action.head h4.action-heading {
		color: white;
		background: #3498db;
		border-bottom-color: #3498db
	}
	
	.action.options {
		border-color: #3498db
	}
	
	.action.options h4.action-heading {
		color: white;
		background: #3498db;
		border-bottom-color: #3498db
	}
	
	.action.post {
		border-color: #18bc9c
	}
	
	.action.post h4.action-heading {
		color: white;
		background: #18bc9c;
		border-bottom-color: #18bc9c
	}
	
	.action.put {
		border-color: #f39c12
	}
	
	.action.put h4.action-heading {
		color: white;
		background: #f39c12;
		border-bottom-color: #f39c12
	}
	
	.action.patch {
		border-color: #f39c12
	}
	
	.action.patch h4.action-heading {
		color: white;
		background: #f39c12;
		border-bottom-color: #f39c12
	}
	
	.action.delete {
		border-color: #e74c3c
	}
	
	.action.delete h4.action-heading {
		color: white;
		background: #e74c3c;
			border-bottom-color: #e74c3c
		}

</style>






 
<script type="text/javascript">
		/* eslint-env browser */
		/* eslint quotes: [2, "single"] */
		'use strict';

		/*
		  Determine if a string ends with another string.
		*/
		function endsWith(str, suffix) {
			return str.indexOf(suffix, str.length - suffix.length) !== -1;
		}

		/*
		  Get a list of direct child elements by class name.
		*/
		function childrenByClass(element, name) {
			var filtered = [];

			for (var i = 0; i < element.children.length; i++) {
				var child = element.children[i];
				var classNames = child.className.split(' ');
				if (classNames.indexOf(name) !== -1) {
					filtered.push(child);
				}
			}

			return filtered;
		}

		/*
		  Get an array [width, height] of the window.
		*/
		function getWindowDimensions() {
			var w = window,
				d = document,
				e = d.documentElement,
				g = d.body,
				x = w.innerWidth || e.clientWidth || g.clientWidth,
				y = w.innerHeight || e.clientHeight || g.clientHeight;

			return [x, y];
		}

		/*
		  Collapse or show a request/response example.
		*/
		function toggleCollapseButton(event) {
			var button = event.target.parentNode;
			var content = button.parentNode.nextElementSibling;
			var inner = content.children[0];

			if (button.className.indexOf('collapse-button') === -1) {
				// Clicked without hitting the right element?
				return;
			}

			if (content.style.maxHeight && content.style.maxHeight !== '0px') {
				// Currently showing, so let's hide it
				button.className = 'collapse-button';
				content.style.maxHeight = '0px';
			} else {
				// Currently hidden, so let's show it
				button.className = 'collapse-button show';
				content.style.maxHeight = inner.offsetHeight + 12 + 'px';
				
			}
		}

		function toggleTabButton(event) {
			var i, index;
			var button = event.target;

			// Get index of the current button.
			var buttons = childrenByClass(button.parentNode, 'tab-button');
			for (i = 0; i < buttons.length; i++) {
				if (buttons[i] === button) {
					index = i;
					button.className = 'tab-button active';
				} else {
					buttons[i].className = 'tab-button';
				}
			}

			// Hide other tabs and show this one.
			var tabs = childrenByClass(button.parentNode.parentNode, 'tab');
			for (i = 0; i < tabs.length; i++) {
				if (i === index) {
					tabs[i].style.display = 'block';
				} else {
					tabs[i].style.display = 'none';
				}
			}
		}

		/*
		  Collapse or show a navigation menu. It will not be hidden unless it
		  is currently selected or `force` has been passed.
		*/
		function toggleCollapseNav(event, force) {
			var heading = event.target.parentNode;
			var content = heading.nextSibling;
			var inner = content.children[0];

			if (heading.className.indexOf('heading') === -1) {
				// Clicked without hitting the right element?
				return;
			}

			if (content.style.maxHeight && content.style.maxHeight !== '0px') {
				// Currently showing, so let's hide it, but only if this nav item
				// is already selected. This prevents newly selected items from
				// collapsing in an annoying fashion.
				if (force || window.location.hash && endsWith(event.target.href, window.location.hash)) {
					content.style.maxHeight = '0px';
				}
			} else {
				// Currently hidden, so let's show it
				content.style.maxHeight = inner.offsetHeight + 12 + 'px';
			}
		}

		/*
		  Refresh the page after a live update from the server. This only
		  works in live preview mode (using the `--server` parameter).
		*/
		function refresh(body) {
			document.querySelector('body').className = 'preload';
			document.body.innerHTML = body;

			// Re-initialize the page
			init();
			autoCollapse();

			document.querySelector('body').className = '';
		}

		/*
		  Determine which navigation items should be auto-collapsed to show as many
		  as possible on the screen, based on the current window height. This also
		  collapses them.
		*/
		function autoCollapse() {
			var windowHeight = getWindowDimensions()[1];
			var itemsHeight = 64; /* Account for some padding */
			var itemsArray = Array.prototype.slice.call(
				document.querySelectorAll('nav .resource-group .heading'));

			// Get the total height of the navigation items
			itemsArray.forEach(function(item) {
				itemsHeight += item.parentNode.offsetHeight;
			});

			// Should we auto-collapse any nav items? Try to find the smallest item
			// that can be collapsed to show all items on the screen. If not possible,
			// then collapse the largest item and do it again. First, sort the items
			// by height from smallest to largest.
			var sortedItems = itemsArray.sort(function(a, b) {
				return a.parentNode.offsetHeight - b.parentNode.offsetHeight;
			});

			while (sortedItems.length && itemsHeight > windowHeight) {
				for (var i = 0; i < sortedItems.length; i++) {
					// Will collapsing this item help?
					var itemHeight = sortedItems[i].nextSibling.offsetHeight;
					if ((itemsHeight - itemHeight <= windowHeight) || i === sortedItems.length - 1) {
						// It will, so let's collapse it, remove its content height from
						// our total and then remove it from our list of candidates
						// that can be collapsed.
						itemsHeight -= itemHeight;
						toggleCollapseNav({
							target: sortedItems[i].children[0]
						}, true);
						sortedItems.splice(i, 1);
						break;
					}
				}
			}
		}

		/*
		  Initialize the interactive functionality of the page.
		*/
		function init() {
			var i, j;

			// Make collapse buttons clickable
			var buttons = document.querySelectorAll('.collapse-button');
			for (i = 0; i < buttons.length; i++) {
				buttons[i].onclick = toggleCollapseButton;

				// Show by default? Then toggle now.
				if (buttons[i].className.indexOf('show') !== -1) {
					toggleCollapseButton({
						target: buttons[i].children[0]
					});
				}
			}

			var responseCodes = document.querySelectorAll('.example-names');
			for (i = 0; i < responseCodes.length; i++) {
				var tabButtons = childrenByClass(responseCodes[i], 'tab-button');
				for (j = 0; j < tabButtons.length; j++) {
					tabButtons[j].onclick = toggleTabButton;

					// Show by default?
					if (j === 0) {
						toggleTabButton({
							target: tabButtons[j]
						});
					}
				}
			}

			// Make nav items clickable to collapse/expand their content.
			var navItems = document.querySelectorAll('nav .resource-group .heading');
			for (i = 0; i < navItems.length; i++) {
				navItems[i].onclick = toggleCollapseNav;

				// Show all by default
				toggleCollapseNav({
					target: navItems[i].children[0]
				});
			}
		}

		// Initial call to set up panels
		jQuery(document).ready(function() {
	  		init();
		});
	
 
</script>



HTML
             <div class="content">
                <section id="panoramica" class="resource-group">
                    <h2 class="group-heading">Panoramica <a href="#panoramica" class="permalink">&para;<></a></h2>
                    <h2 id="header-introduzione">Introduzione <a class="permalink" href="#header-introduzione" aria-hidden="true"></a></h2>
                    <p>L’API WebRTC–RealTimeCommunication utilizza l’archittetura REST. Essa fornisce URL orientate alle risorse e utilizza codice di risposta HTTP per indicare eventuali errori. Tali servizi permettono di instaurare una comunicazione tra client permettendo loro di effettuare chiamate, videochiamate, trasferimento di file e screen sharing.</p>
                </section>
                <section id="sicurezza" class="resource-group">
                    <h2 class="group-heading">Sicurezza <a href="#sicurezza" class="permalink">&para;<></a></h2>
                    <h2 id="header-autenticazione">Autenticazione <a class="permalink" href="#header-autenticazione" aria-hidden="true"></a></h2>
                    <p>L’API WebRTC–RealTimeCommunication descritta in questo documento adotterà il meccanismo di autenticazione che si basa su un API-Key. L’API-Key sarà fornita nel parametro <code>KeyId</code> dell’header http della richiesta.</p>
                </section>
                <section id="manage-companies" class="resource-group">
                    <h2 class="group-heading">Manage Companies <a href="#manage-companies" class="permalink">&para;<></a></h2>
                    <div id="manage-companies-companies" class="resource">
                        <h3 class="resource-heading">Companies <a href="#manage-companies-companies" class="permalink">&nbsp;&para;</a></h3>
                        <p>La risorsa Company esposta tramite questa API. Le company sono identificate da un ID univoco e sono associate ad un <code>companyName</code>.</p>
<p></p>
                        <div id="manage-companies-companies-post" class="action post">
                            <h4 class="action-heading"><div class="name">Create - Compnay</div><a href="#manage-companies-companies-post" class="method post">POST</a><code class="uri">/webrtc/v2/companies</code></h4>
                            <p>Crea una nuova Company. Nella richiesta è necessario specificare l’admin della company. La risposta conterrà l’ID generato della company creata e il companyName da utilizzare nelle successive richieste relative a quella company. Lo sviluppatore potrà creare più company e ognuna di esse verrà trattata in maniera individuale.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies</span>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">companyName</span>": <span class="hljs-value"><span class="hljs-string">"MyCompany"</span></span>,
  "<span class="hljs-attribute">companyInfo</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">urlRootPath</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">admin</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">firstname</span>": <span class="hljs-value"><span class="hljs-string">"John"</span></span>,
    "<span class="hljs-attribute">lastname</span>": <span class="hljs-value"><span class="hljs-string">"Doe"</span></span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"john@doe.com"</span>
  </span>}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">companyName</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome della company da creare"</span>
    </span>}</span>,
    "<span class="hljs-attribute">companyInfo</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Informazioni aggiuntive sulla company"</span>
    </span>}</span>,
    "<span class="hljs-attribute">urlRootPath</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Sotto dominio del link creato per la connessione alle videochiamate."</span>
    </span>}</span>,
    "<span class="hljs-attribute">admin</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
      "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
        "<span class="hljs-attribute">firstname</span>": <span class="hljs-value">{
          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
          "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome"</span>
        </span>}</span>,
        "<span class="hljs-attribute">lastname</span>": <span class="hljs-value">{
          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
          "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Cognome"</span>
        </span>}</span>,
        "<span class="hljs-attribute">email</span>": <span class="hljs-value">{
          "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
          "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Email."</span>
        </span>}
      </span>}</span>,
      "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
        <span class="hljs-string">"email"</span>
      ]
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"companyName"</span>,
    <span class="hljs-string">"urlRootPath"</span>
  ]</span>,
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">company</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">companyName</span>": <span class="hljs-value"><span class="hljs-string">"Stark"</span>
  </span>}</span>,
  "<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"Company Stark creata con successo"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="manage-users" class="resource-group">
                    <h2 class="group-heading">Manage Users <a href="#manage-users" class="permalink">&para;<></a></h2>
                    <p>Gestisci gli utenti di una Company precedentemente creata.</p>
                    <div id="manage-users-users" class="resource">
                        <h3 class="resource-heading">Users <a href="#manage-users-users" class="permalink">&nbsp;&para;</a></h3>
                        <p>Gli utenti sono identificati da un random ID univoco. Ciascun utente deve avere un ruolo.</p>
                        <div class="note">
                            <ul>
                                <li>Ruoli
                                    <ul>
                                        <li><code>basic</code> - questo utente può usare solo la chiamata one-to-one</li>
                                        <li><code>guest</code> - questo utente ha restrizioni rispetto all’utente <code>basic</code>, per esempio, non può invitare altri utenti in una videochiamata</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <div id="manage-users-users-post" class="action post">
                            <h4 class="action-heading"><div class="name">Create</div><a href="#manage-users-users-post" class="method post">POST</a><code class="uri">/webrtc/v2/companies/{companyName}/users</code></h4>
                            <p>Crea un nuovo utente.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/users</span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">firstname</span>": <span class="hljs-value"><span class="hljs-string">"Jane"</span></span>,
  "<span class="hljs-attribute">lastname</span>": <span class="hljs-value"><span class="hljs-string">"Doe"</span></span>,
  "<span class="hljs-attribute">nickname</span>": <span class="hljs-value"><span class="hljs-string">"jane.doe"</span></span>,
  "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">language</span>": <span class="hljs-value"><span class="hljs-string">"it"</span></span>,
  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"01234A"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">firstname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">lastname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Cognome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">nickname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Verrà visualizzato nel sistema.Se non specificato il sistema ne assegnerà uno random (max `16` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Email dell'utente."</span>
    </span>}</span>,
    "<span class="hljs-attribute">role</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Un ruolo valido, valori possibili: `basic` || `guest`"</span>
    </span>}</span>,
    "<span class="hljs-attribute">language</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Linguaggio dell'utente. Le opzioni disponibili sono \"en\" o \"it\""</span>
    </span>}</span>,
    "<span class="hljs-attribute">id</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"ID utente personalizzato, utile per evitare la mappatura degli utenti Bandyer / Cliente. Se specificato, deve essere unico. Se non specificato, Bandyer genererà un ID casuale per l'utente automaticamente."</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"role"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"usr_783afa70e140"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                        <div id="manage-users-users-get" class="action get">
                            <h4 class="action-heading"><div class="name">List</div><a href="#manage-users-users-get" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/users</code></h4>
                            <p>Ritorna una lista di ID utenti appartenenti ad una company.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/users</span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">user_id_list</span>": <span class="hljs-value">[
    <span class="hljs-string">"usr_5b63a42e7ec2"</span>,
    <span class="hljs-string">"usr_e3bf12fd6827"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="manage-users-user" class="resource">
                        <h3 class="resource-heading">User <a href="#manage-users-user" class="permalink">&nbsp;&para;</a></h3>
                        <p>Aggiorna un utente. Qualsiasi valore non fornito sarà invariato.</p>
                        <div class="alert">
                            <p>L’alias non può essere aggiornato</p>
                        </div>
                        <div class="note">
                            <ul>
                                <li>Ruoli
                                    <ul>
                                        <li><code>basic</code> - questo utente può usare solo la chiamata one-to-one</li>
                                        <li><code>guest</code> - questo utente ha restrizioni rispetto all’utente <code>basic</code>, per esempio, non può invitare altri utenti in una videochiamata</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <div id="manage-users-user-put" class="action put">
                            <h4 class="action-heading"><div class="name">Update</div><a href="#manage-users-user-put" class="method put">PUT</a><code class="uri">/webrtc/v2/companies/{companyName}/users/{idUtente}</code></h4>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method put">PUT</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/users/<span class="hljs-attribute" title="idUtente">usr_783afa70e140</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>idUtente</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>usr_783afa70e140</span></span>
                                        <p>Identificativo utente.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">firstname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">lastname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">nickname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">language</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">firstname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">lastname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Cognome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">nickname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Se non specificato il sistema ne assegnerà uno random (max `16` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Email dell'utente."</span>
    </span>}</span>,
    "<span class="hljs-attribute">role</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Un ruolo valido, valori possibili: `basic` || `guest`"</span>
    </span>}</span>,
    "<span class="hljs-attribute">language</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Linguaggio dell'utente. Le opzioni disponibili sono \"en\" o \"it\"."</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"role"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">user</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"usr_5b63a42e7ec2"</span></span>,
    "<span class="hljs-attribute">firstName</span>": <span class="hljs-value"><span class="hljs-string">"Jane"</span></span>,
    "<span class="hljs-attribute">lastName</span>": <span class="hljs-value"><span class="hljs-string">"Doe"</span></span>,
    "<span class="hljs-attribute">nickname</span>": <span class="hljs-value"><span class="hljs-string">"jane.doe"</span></span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"john@doe.com"</span></span>,
    "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"basic"</span>
  </span>}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                        <div id="manage-users-user-delete" class="action delete">
                            <h4 class="action-heading"><div class="name">Delete</div><a href="#manage-users-user-delete" class="method delete">DELETE</a><code class="uri">/webrtc/v2/companies/{companyName}/users/{idUtente}</code></h4>
                            <p>Elimina un utente</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method delete">DELETE</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/users/<span class="hljs-attribute" title="idUtente">usr_783afa70e140</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>idUtente</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>usr_783afa70e140</span></span>
                                        <p>Identificativo utente.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"usr_5b63a42e7ec2"</span></span>,
  "<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"user deleted"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                        <div id="manage-users-user-get" class="action get">
                            <h4 class="action-heading"><div class="name">Retrieve</div><a href="#manage-users-user-get" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/users/{idUtente}</code></h4>
                            <p>Recupera i dettagli di un utente</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/users/<span class="hljs-attribute" title="idUtente">usr_783afa70e140</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>idUtente</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>usr_783afa70e140</span></span>
                                        <p>Identificativo utente.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">firstname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">lastname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">nickname</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span></span>,
  "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">firstname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">lastname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Cognome dell'utente (max `32` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">nickname</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Se non specificato il sistema ne assegnerà uno random (max `16` caratteri)"</span>
    </span>}</span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Email dell'utente"</span>
    </span>}</span>,
    "<span class="hljs-attribute">role</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Un ruolo valido, valori possibili: `basic` || `guest`"</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"email"</span>,
    <span class="hljs-string">"role"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">user</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"usr_5b63a42e7ec2"</span></span>,
    "<span class="hljs-attribute">firstName</span>": <span class="hljs-value"><span class="hljs-string">"Jane"</span></span>,
    "<span class="hljs-attribute">lastName</span>": <span class="hljs-value"><span class="hljs-string">"Doe"</span></span>,
    "<span class="hljs-attribute">nickname</span>": <span class="hljs-value"><span class="hljs-string">"jane.doe"</span></span>,
    "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"john@doe.com"</span></span>,
    "<span class="hljs-attribute">role</span>": <span class="hljs-value"><span class="hljs-string">"basic"</span>
  </span>}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="rooms" class="resource-group">
                    <h2 class="group-heading">Rooms <a href="#rooms" class="permalink">&para;<></a></h2>
                    <p>Una room è una sorta di luogo virtuale in cui gli utenti, identificati al momento della creazione della stanza, possono comunicare. Tramite la room è possibile impostare il tempo massimo della chiamata, opzioni di registrazione e mettersi in ascolto di eventi Web Hooks</p>
                    <div id="rooms-room" class="resource">
                        <h3 class="resource-heading">Room <a href="#rooms-room" class="permalink">&nbsp;&para;</a></h3>
                        <div class="note">
                            <ul>
                                <li>La <strong>Room</strong> può trovarsi in uno dei seguenti stati:
                                    <ul>
                                        <li><code>NOT_RUNNING</code> - La Room non è attualmente eseguita.</li>
                                        <li><code>RUNNING</code> - La Room è in corso.</li>
                                        <li><code>CLOSED</code> - La Room è stata cancellata o finita</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <div id="rooms-room-post" class="action post">
                            <h4 class="action-heading"><div class="name">Create</div><a href="#rooms-room-post" class="method post">POST</a><code class="uri">/webrtc/v2/companies/{companyName}/rooms</code></h4>
                            <p>Crea un nuova Room. La response ritorna le url da comunicare agli utenti per consentire la connessione alla room. Nota: 30 secondi prima che sia scaduto il tempo tutti i clienti ricevono le notifiche del breve tempo rimasto. Quando la durata scade, la chiamata termina. Il tempo disponibile viene eseguito solo quando gli utenti sono in videochiamata. Se si verificano problemi e la connessione si interrompe, il timer si fermerà. Nota: se è stato abilitato un WebHooks , il room_id restituito nella risposta, dovrà essere salvato per gli eventi hook che si potrebbero ricevere.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/rooms</span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">userListInCall</span>": <span class="hljs-value">[
    <span class="hljs-string">"usre39b045f215f"</span>,
    <span class="hljs-string">"usrcd4791a26916"</span>
  ]</span>,
  "<span class="hljs-attribute">record</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>,
  "<span class="hljs-attribute">duration</span>": <span class="hljs-value"><span class="hljs-string">"120"</span></span>,
  "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"A textual description of the rest room created.."</span></span>,
  "<span class="hljs-attribute">directCall</span>": <span class="hljs-value"><span class="hljs-literal">true</span></span>,
  "<span class="hljs-attribute">initiatorAlias</span>": <span class="hljs-value"><span class="hljs-string">"Hello, world!"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">userListInCall</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"array"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Array delgi identificativi degli utenti che parteciperanno alla room."</span>
    </span>}</span>,
    "<span class="hljs-attribute">record</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"`1` se l'utente vuole registrare la videochiamata, `0` altrimenti."</span>
    </span>}</span>,
    "<span class="hljs-attribute">duration</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Durata massima in secondi della chiamata. Se non specificato la durata è illimitata mentre il valore minimo è 60 secondi."</span>
    </span>}</span>,
    "<span class="hljs-attribute">description</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Descrizione della Room."</span>
    </span>}</span>,
    "<span class="hljs-attribute">directCall</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"boolean"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Indica il tipo di link per l'accesso alla room. Se directCall è impostata a  true, lo user avrà accesso diretto alla room e quindi non vedrà la landing page Bandyer con le informazioni sugli utenti invitati e le opzioni. Il default è false"</span>
    </span>}</span>,
    "<span class="hljs-attribute">initiatorAlias</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Alias del creatore della room (un alias di user valido)"</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"userListInCall"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">result</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">room</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">room_id</span>": <span class="hljs-value"><span class="hljs-string">"room_bcca4ae81675"</span></span>,
      "<span class="hljs-attribute">record</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
      "<span class="hljs-attribute">duration</span>": <span class="hljs-value"><span class="hljs-number">180</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Room di test"</span></span>,
      "<span class="hljs-attribute">directCall</span>": <span class="hljs-value"><span class="hljs-string">"true"</span></span>,
      "<span class="hljs-attribute">user_urls</span>": <span class="hljs-value">[
        {
          "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_389c515887cf"</span></span>,
          "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://sandbox.bandyer.com/connect/direct-rest-call-handler/16b6c8ec0bc8f56efc4ddbcd47"</span>
        </span>},
        {
          "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_8ceca6057b80"</span></span>,
          "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://sandbox.bandyer.com/connect/direct-rest-call-handler/b7b9cea1bf6dfa01df996e6115"</span>
        </span>}
      ]
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Room create"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="rooms-room-1" class="resource">
                        <h3 class="resource-heading">Room <a href="#rooms-room-1" class="permalink">&nbsp;&para;</a></h3>
                        <div id="rooms-room-get" class="action get">
                            <h4 class="action-heading"><div class="name">Retrieve</div><a href="#rooms-room-get" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/rooms/{roomId}</code></h4>
                            <p>Recupera le informazioni di una Room. Uno dei parametri della response è lo status che può assumere uno dei seguenti valori: NOT_RUNNING la room non è attiva. RUNNING la room è attiva. CLOSED la room è eliminata o terminata (non disponibile).</p>
                            <p>Altro parametro è la durationUsed che rappresenta quanti secondi la room è nello stato RUNNING. Se la used durationUsed è uguale alla duration lo stato della room sarà CLOSED. La sezione dialInfo contiene informazioni sulle sessioni utenti: il tempo totale della room e utenti, dettaglio per ciascuna sessione (con tempo parziale e numero utenti) e ogni attività utente ed eventi.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/rooms/<span class="hljs-attribute" title="roomId">room_b571df8d8h3d</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>roomId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>room_b571df8d8h3d</span></span>
                                        <p>Identificativo della Room.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">room</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">room_id</span>": <span class="hljs-value"><span class="hljs-string">"room_b571df8d8h3d"</span></span>,
    "<span class="hljs-attribute">record</span>": <span class="hljs-value"><span class="hljs-number">1</span></span>,
    "<span class="hljs-attribute">duration</span>": <span class="hljs-value"><span class="hljs-number">120</span></span>,
    "<span class="hljs-attribute">durationUsed</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
    "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"A textual description of the rest room created..."</span></span>,
    "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"NOT_RUNNING"</span></span>,
    "<span class="hljs-attribute">user_urls</span>": <span class="hljs-value">[
      {
        "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_e39b045f215f"</span></span>,
        "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://develop.bandyer.com/attach/rest-call-handler/07d4077b8c6fd3228d7bdb60e3"</span>
      </span>},
      {
        "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_cd4791a26916"</span></span>,
        "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://develop.bandyer.com/attach/rest-call-handler/8a81b919de15d3876d2a2ed74l"</span>
      </span>}
    ]</span>,
    "<span class="hljs-attribute">dialInfo</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">sessions</span>": <span class="hljs-value">{
        "<span class="hljs-attribute">number</span>": <span class="hljs-value"><span class="hljs-number">7</span></span>,
        "<span class="hljs-attribute">hours</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
        "<span class="hljs-attribute">minutes</span>": <span class="hljs-value"><span class="hljs-number">8</span></span>,
        "<span class="hljs-attribute">seconds</span>": <span class="hljs-value"><span class="hljs-number">4</span></span>,
        "<span class="hljs-attribute">users</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
        "<span class="hljs-attribute">details</span>": <span class="hljs-value">[
          {
            "<span class="hljs-attribute">session</span>": <span class="hljs-value"><span class="hljs-string">"session_c73d8cfe4330"</span></span>,
            "<span class="hljs-attribute">creationDate</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
            "<span class="hljs-attribute">hours</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
            "<span class="hljs-attribute">minutes</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
            "<span class="hljs-attribute">seconds</span>": <span class="hljs-value"><span class="hljs-number">37</span></span>,
            "<span class="hljs-attribute">users</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
            "<span class="hljs-attribute">userEvents</span>": <span class="hljs-value">[
              {
                "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_cd4791a26916"</span></span>,
                "<span class="hljs-attribute">timestamp</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
                "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">"user connected"</span>
              </span>}
            ]</span>,
            "<span class="hljs-attribute">userActivities</span>": <span class="hljs-value">[
              {
                "<span class="hljs-attribute">user</span>": <span class="hljs-value"><span class="hljs-string">"usr_e39b045f215f"</span></span>,
                "<span class="hljs-attribute">startTime</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
                "<span class="hljs-attribute">stopTime</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
                "<span class="hljs-attribute">seconds</span>": <span class="hljs-value"><span class="hljs-number">57</span>
              </span>}
            ]
          </span>}
        ]
      </span>}
    </span>}
  </span>}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                        <div id="rooms-room-delete" class="action delete">
                            <h4 class="action-heading"><div class="name">Delete</div><a href="#rooms-room-delete" class="method delete">DELETE</a><code class="uri">/webrtc/v2/companies/{companyName}/rooms/{roomId}</code></h4>
                            <p>Elimina la room e tutti i link di accesso ad essa associati.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method delete">DELETE</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/rooms/<span class="hljs-attribute" title="roomId">room_b571df8d8h3d</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>roomId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>room_b571df8d8h3d</span></span>
                                        <p>Identificativo della Room.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">result</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">room</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">room_id</span>": <span class="hljs-value"><span class="hljs-string">"room_bcca4ae81675"</span></span>,
      "<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"Room room_bcca4ae81675 and all user links associated deleted"</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Room deleted"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="rooms-room-2" class="resource">
                        <h3 class="resource-heading">Room <a href="#rooms-room-2" class="permalink">&nbsp;&para;</a></h3>
                        <div id="rooms-room-get-1" class="action get">
                            <h4 class="action-heading"><div class="name">Get Sessions Recording</div><a href="#rooms-room-get-1" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/room/recording/{sessionId}?expireTime={expireTime}</code></h4>
                            <p>Consente di recuperare il link alla registrazione di una sessione. Per recuperare il session URL, devi indicare il sessionID utilizzando l’api di recupero informazioni di una room/broadcast nella GetRoomInformation /GerBrodcastInformation.</p>
                            <p>Nota: nella GetRoomInformation / GerBrodcastInformation puoi trovare tutte le informazioni sulle sessioni di una room o broadcast.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/room/recording/<span class="hljs-attribute" title="sessionId">sessionId</span>?expireTime=<span class="hljs-attribute" title="expireTime">expireTime</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>sessionId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Id della sessione.</p>
                                    </dd><dt>expireTime</dt>
                                    <dd><code>number</code>&nbsp;<span>(optional)</span>&nbsp;
                                        <p>La quantità di tempo di validità [ms] dell’URL generato. Default 10000.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code><span class="hljs-string">``</span><span class="hljs-string">`
{
  "url": "https://recordings.bandyer.com/sandbox/135/23715/23715.mp4?Expires=1529053578&amp;Policy=eyJTdGF0ZW1gbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9yZWNvcmRpbmdzLmJhbmR5ZXIuY25tL2RldmVsb3BtZW50LzEyNS8yMzc5NS8yMzc5NS5tcDQiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiLjE1MjkwNTM1Nzh9fX1dfQ__&amp;Signature=LjDbMYIASbdJCSfWFxfu1A0HzKjzrUWKXqgCCc2OX-YzdGSOOHfPfiHaDOwdi0uBjqpvOegjakmy1QE5DGV8~OYYjT5IBiTWZTx9gTZRwYTMGwgvHmAUndi8Tiq8wWqZislv4n413QBSwq74oVMyZxx611Ssl7R62YN0-3OiSJS16bh4yhlvx4JlwG~3rL1aERYBiixlYpadhS4~Syr6p69wHwPLqAew4v3FlWvfoJLr4NudHt9OAfB0vHCX6iAbHpYznyhIWf7k451GRr01KKmvwky~I2lRTWEHoDOXolAouyuXExR9Z5SkqI30RueQPd3axugaZ1KtXwT4dqR~Og__&amp;Key-Pair-Id=APKARQIFJNX5UZ22C7FA"
}
`</span><span class="hljs-string">``</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="broadcasting" class="resource-group">
                    <h2 class="group-heading">Broadcasting <a href="#broadcasting" class="permalink">&para;<></a></h2>
                    <div id="broadcasting-create-broadcast" class="resource">
                        <h3 class="resource-heading">Create Broadcast <a href="#broadcasting-create-broadcast" class="permalink">&nbsp;&para;</a></h3>
                        <div class="note">
                            <p>La chiamata broadcast è composta da:</p>
                            <ul>
                                <li><strong>1 publisher</strong>: l’utente che crea l’evento e diventa presentatore dello stesso,</li>
                                <li><strong>N subscribers</strong>: gli utenti che partecipano all’evento</li>
                            </ul>
                            <p>Il publisher può usare il suo microfono e la webcam per presentare l’evento web. Inoltre può anche use addizionali features come lo screen-sharing, la chat e la condivisione di file. Questo tipo di chiamata è indicata principalmente per ospitare un evento con un alto numeri di subscribers (~2000).</p>
                        </div>
                        <div id="broadcasting-create-broadcast-post" class="action post">
                            <h4 class="action-heading"><div class="name">Create</div><a href="#broadcasting-create-broadcast-post" class="method post">POST</a><code class="uri">/webrtc/v2/companies/{companyName}/broadcast</code></h4>
                            <p>Crea un evento broadcast. E’ possibile scegliere il nome dell’evento e se sarà registrato. La risposta restituisce l’url contenete l’ID broadcast che può essere utilizzato per unirsi all’evento in broadcast appena creato.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/broadcast</span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"A textual description of the broadcast event created.."</span></span>,
  "<span class="hljs-attribute">publisherid</span>": <span class="hljs-value"><span class="hljs-string">"usr28608a20053f"</span></span>,
  "<span class="hljs-attribute">record</span>": <span class="hljs-value"><span class="hljs-string">"1"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">description</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Nome dell'evento."</span>
    </span>}</span>,
    "<span class="hljs-attribute">publisherid</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"L'Identificativo dell'utente che sarà il __publisher__ dell'evento."</span>
    </span>}</span>,
    "<span class="hljs-attribute">record</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"`1` se l'utente vuole registrare la videochiamata, `0` altrimenti."</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"description"</span>,
    <span class="hljs-string">"publisherid"</span>,
    <span class="hljs-string">"record"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">result</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">broadcast_id</span>": <span class="hljs-value"><span class="hljs-string">"bro_11b44fc88010"</span>
  </span>}</span>,
  "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"BroadCast creato"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="broadcasting-broadcast" class="resource">
                        <h3 class="resource-heading">Broadcast <a href="#broadcasting-broadcast" class="permalink">&nbsp;&para;</a></h3>
                        <div id="broadcasting-broadcast-get" class="action get">
                            <h4 class="action-heading"><div class="name">Get Broadcast Informations</div><a href="#broadcasting-broadcast-get" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/broadcast/{broadcastId}</code></h4>
                            <p>Recupera informazioni su un broadcast. Uno dei parametri della response è lo status che può assumere per il broadcast uno dei seguenti valori: NOT_RUNNING il broadcast non è attivo. RUNNING la broadcast è attivo. CLOSED la broadcast è eliminato o terminato (not disponibile).</p>
                            <p>Altro parametro è la totalDurationTime che rappresenta quanto tempo il broadcast è nello stato RUNNING. La sezione dialInfo contiene informazioni su tutte le sessioni del broadcast: il tempo totale e utenti , dettaglio per ciascuna sessione (con tempo parziale) e ogni informazione sui subscribers connessi ad ogni sessione. Oltre al creation time di ogni sessione</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/broadcast/<span class="hljs-attribute" title="broadcastId">broadcastId</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>broadcastId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Broadcast Id dell’evento.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">broadcast</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"bro_cn92r039862rcn"</span></span>,
    "<span class="hljs-attribute">status</span>": <span class="hljs-value"><span class="hljs-string">"CLOSED"</span></span>,
    "<span class="hljs-attribute">record</span>": <span class="hljs-value"><span class="hljs-literal">true</span></span>,
    "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"The description of the Broadcast"</span></span>,
    "<span class="hljs-attribute">creationDate</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
    "<span class="hljs-attribute">publisher</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"usr_767bfa79c146"</span></span>,
      "<span class="hljs-attribute">firstName</span>": <span class="hljs-value"><span class="hljs-string">"Name"</span></span>,
      "<span class="hljs-attribute">lastName</span>": <span class="hljs-value"><span class="hljs-string">"Surname"</span></span>,
      "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"name.surname@dominio.com"</span>
    </span>}</span>,
    "<span class="hljs-attribute">dialInfo</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">numberOfSessions</span>": <span class="hljs-value"><span class="hljs-number">2</span></span>,
      "<span class="hljs-attribute">totalDurationTime</span>": <span class="hljs-value"><span class="hljs-string">"00:12:37"</span></span>,
      "<span class="hljs-attribute">sessions</span>": <span class="hljs-value">[
        {
          "<span class="hljs-attribute">session_id</span>": <span class="hljs-value"><span class="hljs-string">"session_cnruow48987"</span></span>,
          "<span class="hljs-attribute">creationDate</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
          "<span class="hljs-attribute">subscribersCount</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
          "<span class="hljs-attribute">subscribersConnTime</span>": <span class="hljs-value"><span class="hljs-string">"00:00:00"</span></span>,
          "<span class="hljs-attribute">publishTime</span>": <span class="hljs-value"><span class="hljs-string">"00:06:18"</span></span>,
          "<span class="hljs-attribute">totalTime</span>": <span class="hljs-value"><span class="hljs-string">"00:06:18"</span>
        </span>},
        {
          "<span class="hljs-attribute">session_id</span>": <span class="hljs-value"><span class="hljs-string">"session_923846cb2398"</span></span>,
          "<span class="hljs-attribute">creationDate</span>": <span class="hljs-value"><span class="hljs-string">"2017-02-04T22:44:30.652Z"</span></span>,
          "<span class="hljs-attribute">subscribersCount</span>": <span class="hljs-value"><span class="hljs-number">0</span></span>,
          "<span class="hljs-attribute">subscribersConnTime</span>": <span class="hljs-value"><span class="hljs-string">"00:00:00"</span></span>,
          "<span class="hljs-attribute">publishTime</span>": <span class="hljs-value"><span class="hljs-string">"00:06:19"</span></span>,
          "<span class="hljs-attribute">totalTime</span>": <span class="hljs-value"><span class="hljs-string">"00:06:19"</span>
        </span>}
      ]
    </span>}
  </span>}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="broadcasting-broadcast-1" class="resource">
                        <h3 class="resource-heading">Broadcast <a href="#broadcasting-broadcast-1" class="permalink">&nbsp;&para;</a></h3>
                        <div id="broadcasting-broadcast-get-1" class="action get">
                            <h4 class="action-heading"><div class="name">CallBroadcast</div><a href="#broadcasting-broadcast-get-1" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/call/{userId}?callee={callee}</code></h4>
                            <p>Per unirsi ad un evento broadcast l’utente ha bisogno di essere reinderizzato in una specifica pagina. La richiesta deve contentere il broadcastId dell’evento e l’userId dell’utente che vuole unirsi. La risposta ritornerà l’url nella quale sia il publisher sia il subscriber devono essere reindirizzati per partecipare al broadcast.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/call/<span class="hljs-attribute" title="userId">userId</span>?callee=<span class="hljs-attribute" title="callee">callee</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>userId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Id dell’utente che vuole partecipare all’evento.</p>
                                    </dd><dt>callee</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Broadcast Id dell’evento.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://xxx.bandyer.com/connect/rest-call-handler/90643787db1e7d3f"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="broadcasting-broadcast-2" class="resource">
                        <h3 class="resource-heading">Broadcast <a href="#broadcasting-broadcast-2" class="permalink">&nbsp;&para;</a></h3>
                        <div id="broadcasting-broadcast-get-2" class="action get">
                            <h4 class="action-heading"><div class="name">Get Sessions Recording</div><a href="#broadcasting-broadcast-get-2" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/broadcast/recording/{sessionId}?expireTime={expireTime}</code></h4>
                            <p>Consente di recuperare il link alla registrazione di una sessione. Per recuperare il session URL, devi indicare il sessionID utilizzando l’api di recupero informazioni di una room/broadcast nella GetRoomInformation /GerBrodcastInformation.</p>
                            <p>Nota: nella GetRoomInformation / GerBrodcastInformation puoi trovare tutte le informazioni sulle sessioni di una room o broadcast.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/broadcast/recording/<span class="hljs-attribute" title="sessionId">sessionId</span>?expireTime=<span class="hljs-attribute" title="expireTime">expireTime</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>sessionId</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Id di una sessione broadcast.</p>
                                    </dd><dt>expireTime</dt>
                                    <dd><code>number</code>&nbsp;<span>(optional)</span>&nbsp;
                                        <p>La quantità di tempo di validità [ms] dell’URL generato. Default 10000.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code><span class="hljs-string">``</span><span class="hljs-string">`
{
  "url": "https://recordings.bandyer.com/sandbox/135/23715/23715.mp4?Expires=1529053578&amp;Policy=eyJTdGF0ZW1gbnQiOltsIlJlc291cmNlIjoiaHR0cHM6Ly9yZWNvcmRpbmdzLmJhbmR5ZXIuY25tL2RldmVsb3BtZWh0LzEyNS8yMzc5NS8yMzc5NS5tcDQiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiLj71MjkwNTM1Nzh9fX1dfQ__&amp;Signature=LjDbMYIASbdJCSfWFxfu1A0HzKjzrUWKXqgCCy2OX-YzdGSOOHfPfiHaDOwdi0uBjqpvOegjakmy1QE5DGV8~OYYjT5IBlTWZTx9gTZRwYTMGwgvHmAUndi8Tiq8wWqZislv4n413QBSwq74oVMyZxx611Ssl7R62YN0-3OiSJS16bh4yhlvx4JlwG~3rL1aERYBiixlYpadhS4~Syr6p69wHwPLqLew4v3FlWvfoJLr4NudHt9OAfB0vHCX6iAbHpYznyhIWf7k451GRr01KKmvwky~I2lRTWEHoDOXolAouyuXExR9Z5SkqI30RueQPd3axugaZ8KtXwT4dqR~Og__&amp;Key-Pair-Id=APKARQIFJNX5US22C7FA"
}
`</span><span class="hljs-string">``</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="tokens" class="resource-group">
                    <h2 class="group-heading">Tokens <a href="#tokens" class="permalink">&para;<></a></h2>
                    <p>Come puoi vedere nell’esempio seguente, la fine del “link”, generato da call, createroom o broadcast, è chiamato “Token”. In questa sezione puoi verificare lo stato corrente del token o revocare l’accesso alle chiamate. URL: <a href="https://xxx.bandyer.com/connect/rest-call-handler/90643787db1e7d3f">https://xxx.bandyer.com/connect/rest-call-handler/90643787db1e7d3f</a></p>
                    <div id="tokens-token" class="resource">
                        <h3 class="resource-heading">Token <a href="#tokens-token" class="permalink">&nbsp;&para;</a></h3>
                        <div class="note">
                            <ul>
                                <li>Verifica lo stato di validità di un token.
                                    <ul>
                                        <li><code>ACTIVE_TOKEN</code> - token valido</li>
                                        <li><code>NOT_ACTIVE_TOKEN</code> - token non valido</li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                        <div id="tokens-token-get" class="action get">
                            <h4 class="action-heading"><div class="name">Check</div><a href="#tokens-token-get" class="method get">GET</a><code class="uri">/webrtc/v2/companies/{companyName}/token/{token}</code></h4>
                            <p>Verifica lo stato di un Token.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/token/<span class="hljs-attribute" title="token">90643787db1e7d3f</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>token</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>90643787db1e7d3f</span></span>
                                        <p>Token</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">"arrt1243adada0"</span></span>,
  "<span class="hljs-attribute">code</span>": <span class="hljs-value"><span class="hljs-string">"ACTIVE_TOKEN"</span></span>,
  "<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"arrt1243adada0 is valid"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                        <div id="tokens-token-delete" class="action delete">
                            <h4 class="action-heading"><div class="name">Delete</div><a href="#tokens-token-delete" class="method delete">DELETE</a><code class="uri">/webrtc/v2/companies/{companyName}/token/{token}</code></h4>
                            <p>Elimina (invalida) il token specificato nella richiesta.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method delete">DELETE</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/token/<span class="hljs-attribute" title="token">90643787db1e7d3f</span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd><dt>token</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>90643787db1e7d3f</span></span>
                                        <p>Token</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">token</span>": <span class="hljs-value"><span class="hljs-string">" arrt1243adada0"</span></span>,
  "<span class="hljs-attribute">message</span>": <span class="hljs-value"><span class="hljs-string">"token arrt1243adada0 deleted"</span>
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="webhooks" class="resource-group">
                    <h2 class="group-heading">Webhooks <a href="#webhooks" class="permalink">&para;<></a></h2>
                    <p>Tramite questa risorsa è possibile configurare delle callbacks relative ad eventi Room, permettendo lo sviluppatore di monitorare ed intercettare eventi nel proprio servizio backend. Quando una callback è specificata, Bandyer effettuerà una richiesta http al designato webhook URL.</p>
                    <p>Bandyer offre eventi di tipo <strong>POST-Event</strong> elencati nella seguente tabella:</p>
                    <table>
                        <tr>
                            <th>Event Fired</th>
                            <th>Triggered Action</th>
                        </tr>
                        <tr>
                            <td>on_room_created</td>
                            <td>New Room created</td>
                        </tr>
                        <tr>
                            <td>on_room_deleted</td>
                            <td>Room Deleted</td>
                        </tr>
                        <tr>
                            <td>on_session_started</td>
                            <td>When a session of a room starts</td>
                        </tr>
                        <tr>
                            <td>on_session_ended</td>
                            <td>When a session of a room ends</td>
                        </tr>
                        <tr>
                            <td>on_session_paused</td>
                            <td>When a sessionn of a room is paused</td>
                        </tr>
                        <tr>
                            <td>on_sessione_resumed</td>
                            <td>When a session of a room is resumed</td>
                        </tr>
                        <tr>
                            <td>on_user_connected</td>
                            <td>A User is connected</td>
                        </tr>
                        <tr>
                            <td>on_user_disconnected</td>
                            <td>A User is disconnected</td>
                        </tr>
                        <tr>
                            <td>on_call_incoming</td>
                            <td>When a call is created</td>
                        </tr>
                        <tr>
                            <td>on_call_ended</td>
                            <td>When a call is ended</td>
                        </tr>
                        <tr>
                            <td>on_recording_available</td>
                            <td>When a room session recording is available</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_recording_available </td>
                            <td>When a broadcast session recording is available</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_start</td>
                            <td>When a broadcast is started by publisher</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_stop</td>
                            <td>When a broadcast stopped by publisher</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_pub_connected</td>
                            <td>When the publisher is connected to a broadcast</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_pub_disconnected</td>
                            <td>When the publisher is disconnected from a broadcast</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_sub_connected</td>
                            <td>When a subscriber is connected to a broadcast</td>
                        </tr>
                        <tr>
                            <td>on_broadcast_new_feedback</td>
                            <td>When a new feedback is leaved for a broadcast</td>
                        </tr>
                    </table>
                    <div id="webhooks-hook" class="resource">
                        <h3 class="resource-heading">Hook <a href="#webhooks-hook" class="permalink">&nbsp;&para;</a></h3>
                        <div id="webhooks-hook-post" class="action post">
                            <h4 class="action-heading"><div class="name">Create</div><a href="#webhooks-hook-post" class="method post">POST</a><code class="uri">/webrtc/v2/companies/{companyName}/hook</code></h4>
                            <p>Crea callback.</p>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/webrtc/v2/companies/<span class="hljs-attribute" title="companyName">MyCompany</span>/hook</span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>companyName</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;<span class="text-muted example"><strong>Example:&nbsp;</strong><span>MyCompany</span></span>
                                        <p>Il nome della Compnay</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">KeyId</span>: <span class="hljs-string">d93decd9-b053-47ba-be26-d1da62942ff1,</span><br><span class="hljs-attribute">executor</span>: <span class="hljs-string">usr_783afa70e140 (optional,string) - ID Utente che sta eseguendo la chiamata.</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value"><span class="hljs-string">"https://hooks.yoursite.com/post"</span></span>,
  "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value"><span class="hljs-string">"GET"</span></span>,
  "<span class="hljs-attribute">webhook_filters: on_room_created,on_room_deleted,on_session_started,on_session_ended</span>": <span class="hljs-value">[]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"webhooks (required,string) - URL assoluto dove la callback dovrebbe fare un’HTTP Request per il Post event."</span>
    </span>}</span>,
    "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Metodo per l'emissione della richiesta HTTP. Valori possibili: `GET` | `POST`"</span>
    </span>}</span>,
    "<span class="hljs-attribute">webhook_filters: on_room_created,on_room_deleted,on_session_started,on_session_ended</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Lista degli eventi."</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"webhook_method"</span>,
    <span class="hljs-string">"webhook_filters: on_room_created,on_room_deleted,on_session_started,on_session_ended"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">active_webhooks</span>": <span class="hljs-value">[
    {
      "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value"><span class="hljs-string">"https://hooks.yoursite.com/post-webhooks"</span></span>,
      "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value"><span class="hljs-string">"get"</span></span>,
      "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">"on_room_created"</span></span>,
      "<span class="hljs-attribute">creation_date</span>": <span class="hljs-value"><span class="hljs-string">"2017-11-24T16:22:58.256Z"</span>
    </span>},
    {
      "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value"><span class="hljs-string">"https://hooks.yoursite.com/post-webhooks"</span></span>,
      "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value"><span class="hljs-string">"get"</span></span>,
      "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">"on_room_deleted"</span></span>,
      "<span class="hljs-attribute">creation_date</span>": <span class="hljs-value"><span class="hljs-string">"2017-11-24T16:22:58.521Z"</span>
    </span>},
    {
      "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value"><span class="hljs-string">"https://hooks.yoursite.com/post-webhooks"</span></span>,
      "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value"><span class="hljs-string">"get"</span></span>,
      "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">"on_session_started"</span></span>,
      "<span class="hljs-attribute">creation_date</span>": <span class="hljs-value"><span class="hljs-string">"2017-11-20T11:59:14.390Z"</span>
    </span>},
    {
      "<span class="hljs-attribute">post_event_webhook_url</span>": <span class="hljs-value"><span class="hljs-string">"https://hooks.yoursite.com/post-webhooks"</span></span>,
      "<span class="hljs-attribute">webhook_method</span>": <span class="hljs-value"><span class="hljs-string">"get"</span></span>,
      "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">"on_session_ended"</span></span>,
      "<span class="hljs-attribute">creation_date</span>": <span class="hljs-value"><span class="hljs-string">"2017-11-24T16:23:00.182Z"</span>
    </span>}
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>400</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>La richiesta non è stata formulata in maniera corretta.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>404</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Risorsa non trovata</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>403</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore di autenticazione</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">text/plain</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>412</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Le condizioni per effettuare la richiesta non sono soddisfatte, in particolare l’invocazione dell’API non è permessa per uno dei seguenti motivi: Sottoscrizione non attiva, Frequenza traffico richieste superata, Soglia richieste superata.</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>500</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <div class="description">
                                        <p>Errore generico del server</p>
                                    </div>
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <section id="notes" class="resource-group">
                    <h2 class="group-heading">Notes <a href="#notes" class="permalink">&para;<></a></h2>
                    <div id="notes-webhooks" class="resource">
                        <h3 class="resource-heading">Webhooks <a href="#notes-webhooks" class="permalink">&nbsp;&para;</a></h3>
                        <p>Risorsa utilizzata da Bandyer che effettua una richiesta HTTP al server dello sviluppatore.</p>
                        <div id="notes-webhooks-post" class="action post">
                            <h4 class="action-heading"><div class="name">Call</div><a href="#notes-webhooks-post" class="method post">POST</a><code class="uri">/post-webhooks</code></h4>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method post">POST</span>&nbsp;<span class="uri"><span class="hostname"></span>/post-webhooks</span>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">room_id_hmac</span>: <span class="hljs-string">This is the HMAC base auth of Bandyer, this digest is a SHA256 of room_id cyphered by your api_key as shared secret</span></code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Body</h5><pre><code>{
  "<span class="hljs-attribute">event</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,
  "<span class="hljs-attribute">room_id</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>,
  "<span class="hljs-attribute">data</span>": <span class="hljs-value">{}
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                    <h5>Schema</h5><pre><code>{
  "<span class="hljs-attribute">$schema</span>": <span class="hljs-value"><span class="hljs-string">"http://json-schema.org/draft-04/schema#"</span></span>,
  "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
  "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{
    "<span class="hljs-attribute">event</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"The hooks evento"</span>
    </span>}</span>,
    "<span class="hljs-attribute">room_id</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"string"</span></span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"L'ID della room che ha scaturito l'evento."</span>
    </span>}</span>,
    "<span class="hljs-attribute">data</span>": <span class="hljs-value">{
      "<span class="hljs-attribute">type</span>": <span class="hljs-value"><span class="hljs-string">"object"</span></span>,
      "<span class="hljs-attribute">properties</span>": <span class="hljs-value">{}</span>,
      "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Json data delll'evento."</span>
    </span>}
  </span>}</span>,
  "<span class="hljs-attribute">required</span>": <span class="hljs-value">[
    <span class="hljs-string">"event"</span>,
    <span class="hljs-string">"room_id"</span>,
    <span class="hljs-string">"data"</span>
  ]
</span>}</code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="notes-webhooks-1" class="resource">
                        <h3 class="resource-heading">Webhooks <a href="#notes-webhooks-1" class="permalink">&nbsp;&para;</a></h3>
                        <p>Risorsa utilizzata da Bandyer che effettua una richiesta HTTP al server dello sviluppatore.</p>
                        <div id="notes-webhooks-get" class="action get">
                            <h4 class="action-heading"><div class="name">Call</div><a href="#notes-webhooks-get" class="method get">GET</a><code class="uri">/get-webhooks{?event,room_id,data}</code></h4>
                            <h4>Example URI</h4>
                            <div class="definition"><span class="method get">GET</span>&nbsp;<span class="uri"><span class="hostname"></span>/get-webhooks?<span class="hljs-attribute">event=</span><span class="hljs-literal"></span>&<span class="hljs-attribute">room_id=</span><span class="hljs-literal"></span>&<span class="hljs-attribute">data=</span><span class="hljs-literal"></span></span>
                            </div>
                            <div class="title"><strong>URI Parameters</strong>
                                <div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <dl class="inner"><dt>event</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>The hooks evento</p>
                                    </dd><dt>room_id</dt>
                                    <dd><code>string</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>L’ID della room che ha scaturito l’evento.</p>
                                    </dd><dt>data</dt>
                                    <dd><code>object</code>&nbsp;<span class="required">(required)</span>&nbsp;
                                        <p>Json data dell’evento.</p>
                                    </dd>
                                </dl>
                            </div>
                            <div class="title"><strong>Request</strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">room_id_hmac</span>: <span class="hljs-string">This is the HMAC base auth of Bandyer, this digest is a SHA256 of room_id cyphered by your api_key as shared secret</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                            <div class="title"><strong>Response&nbsp;&nbsp;<code>200</code></strong>
                                <div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div>
                            </div>
                            <div class="collapse-content">
                                <div class="inner">
                                    <h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre>
                                    <div style="height: 1px;"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
            </div>




   <header>
      <h1 id="top">BANDYER CHAT WIDGET</h1>
   </header>
   <p>Il widget di Bandyer è un modo veloce ed efficace per offrire live chat e videochat nella tua applicazione.</p>
   <h3 id="header-ottenere-la-libreria">Ottenere la libreria <a class="permalink" href="#header-ottenere-la-libreria" aria-hidden="true"></a></h3>
   <p>Puoi ottenere la libreria da NPM:</p>
   <p><code>npm install @bandyer/bandyer-chat-widget</code></p>
   <p>Per il browser è anche possibile utilizzare la versione da CDN:</p>
   <p><code>&lt;script src=&quot;https://cdn.bandyer.com/sdk/js/chat/X.X.X/bandyer-widget.min.js&quot; type=&quot;text/javascript&quot; &gt;&lt;/script&gt;</code></p>
   <blockquote>
      <p>Example embed in HTML page;</p>
   </blockquote>
   <pre><code class="language-html"><span class="hljs-tag">&lt;<span class="hljs-title">html</span>&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">head</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-title">head</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-title">body</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-title">script</span> <span class="hljs-attribute">src</span>=<span class="hljs-value">"https://cdn.bandyer.com/sdk/js/chat/X.X.X/bandyer-widget.min.js"</span> <span class="hljs-attribute">type</span>=<span class="hljs-value">"text/javascript"</span> &gt;</span><span class="undefined">
    </span><span class="hljs-tag">&lt;/<span class="hljs-title">script</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-title">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">html</span>&gt;</span></code></pre>
   <p>Il widget attribuisce la variabile globale <strong>BandyerChat</strong> nell’oggetto window della pagina HTML.</p>
   <h4 id="header-supporto-browser">Supporto Browser <a class="permalink" href="#header-supporto-browser" aria-hidden="true"></a></h4>
   <p>Il widget è supportato da Google Chrome e Firefox senza nessun plugin.
      Per il supporto a IE11 hai bisogno di installare un plugin e includere il seguente polyfill:
      <code>https://babeljs.io/docs/en/babel-polyfill</code>
   </p>
   <h4 id="header-screenshots">Screenshots <a class="permalink" href="#header-screenshots" aria-hidden="true"></a></h4>
   <img src="https://cdn.bandyer.com/sdk/js/resources/screenshots/bandyer-chat-widget-widget-channels-open-600.jpg" alt="Drawing" style="height: 300px;"/>
   <img src="https://cdn.bandyer.com/sdk/js/resources/screenshots/bandyer-chat-widget-widget-chat-open-600.jpg" alt="Drawing" style="height: 300px;"/>
   <img src="https://cdn.bandyer.com/sdk/js/resources/screenshots/bandyer-chat-widget-ringingin-600.jpg" alt="Drawing" style="height: 300px;"/>
   <h3 id="header-create">Create <a class="permalink" href="#header-create" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.create()</p>
   </blockquote>
   <pre><code class="language-javascript"><span class="hljs-keyword">const</span> Client = BandyerChat.create({
    userAlias: <span class="hljs-string">'usr_123456'</span>,
    appId: <span class="hljs-string">'wAppId_fake123456'</span>,
    environment: <span class="hljs-string">'sandbox'</span>,
    hidden: <span class="hljs-literal">false</span>,
    screenSharingExtensionId: <span class="hljs-string">'id of your screen sharing extension'</span>
});</code></pre>
   <p><code>.create({userAlias: 'usr_123456', appId: 'wAppId_fake123456', environment: 'sandbox', hidden: false})</code></p>
   <p>Configurazione di una nuova istanza widget creata chiamando il metodo .crate(). Le opzioni necessarie sono le seguenti:</p>
   <h3 id="header-create-parameters">Create Parameters <a class="permalink" href="#header-create-parameters" aria-hidden="true"></a></h3>
   <table>
      <thead>
         <tr>
            <th>Parameter</th>
            <th style="text-align:center">Required</th>
            <th style="text-align:center">Default</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>userAlias</td>
            <td style="text-align:center">yes</td>
            <td style="text-align:center">“”</td>
            <td>Il widget che inizializza il widget</td>
         </tr>
         <tr>
            <td>appId</td>
            <td style="text-align:center">yes</td>
            <td style="text-align:center">“”</td>
            <td>Un appId valido. Per favore contatta Bandyer per avere un appId valido</td>
         </tr>
         <tr>
            <td>environment</td>
            <td style="text-align:center">yes</td>
            <td style="text-align:center">“”</td>
            <td>Sandbox o production sono i valori permessi.</td>
         </tr>
         <tr>
            <td>hidden</td>
            <td style="text-align:center">no</td>
            <td style="text-align:center">false</td>
            <td>Crea un widget in modalità nascosta (non visibile nell’HTML).</td>
         </tr>
         <tr>
            <td>screenSharingExtensionId</td>
            <td style="text-align:center">no</td>
            <td style="text-align:center">‘’</td>
            <td>Extension ID dell’estensione per la condivisione dello schermo.</td>
         </tr>
      </tbody>
   </table>
   <h5 id="header-returns-">Returns: <a class="permalink" href="#header-returns-" aria-hidden="true"></a></h5>
   <h6 id="header-type">Type <a class="permalink" href="#header-type" aria-hidden="true"></a></h6>
   <p>Promise.&lt;(Client|Error)&gt;</p>
   <h3 id="header-client">Client <a class="permalink" href="#header-client" aria-hidden="true"></a></h3>
   <p>Un Client è il punto iniziale per accedere alle funzionalità di Bandyer Chat. È possibile ascoltare gli eventi che sono scatenati dal widget. Un Client è ritornato dal metodo create.</p>
   <pre><code class="language-javascript"><span class="hljs-keyword">const</span> Client = BandyerChat.create({
    userAlias: <span class="hljs-string">'usr_123456'</span>,
    appId: <span class="hljs-string">'wAppId_fake123456'</span>,
    environment: <span class="hljs-string">'sandbox'</span>,
    hidden: <span class="hljs-literal">false</span>,
    screenSharingExtensionId: <span class="hljs-string">'id of your screen sharing extension'</span>
});</code></pre>
   <h2 id="header-events">Events <a class="permalink" href="#header-events" aria-hidden="true"></a></h2>
   <table>
      <thead>
         <tr>
            <th>Evento</th>
            <th style="text-align:center">Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>typing_started</td>
            <td style="text-align:center">Scatenato quando un Utente inizia a digitare</td>
         </tr>
         <tr>
            <td>message_sent</td>
            <td style="text-align:center">Scatenato quando un Utente ha mandato un messaggio</td>
         </tr>
         <tr>
            <td>message_received</td>
            <td style="text-align:center">Scatenato quando un Utente ha ricevuto un messaggio</td>
         </tr>
         <tr>
            <td>message_read</td>
            <td style="text-align:center">Scatenato quando un Utente ha letto un messaggio</td>
         </tr>
         <tr>
            <td>user_connected</td>
            <td style="text-align:center">Scatenato quando un Utente si connette alla piattaforma</td>
         </tr>
         <tr>
            <td>user_disconnected</td>
            <td style="text-align:center">Scatenato quando un Utente si disconnette dalla piattaforma</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-typing-started">Typing started <a class="permalink" href="#header-typing-started" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'typing_started'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente ha inziato a digitare.</p>
   <blockquote>
      <p>Note: Per ottimizzare il traffico di rete, gli endpoints Client invieranno un Typing signal solamente una volta ogni 5 secondi.</p>
   </blockquote>
   <h6 id="header-type-1">Type <a class="permalink" href="#header-type-1" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>userAlias</td>
            <td style="text-align:center">String</td>
            <td>Alias dell’utente</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-message-sent">Message sent <a class="permalink" href="#header-message-sent" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'message_sent'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente ha inviato un messaggio.</p>
   <h6 id="header-type-2">Type <a class="permalink" href="#header-type-2" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>id</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco del messaggio</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
         <tr>
            <td>text</td>
            <td style="text-align:center">String</td>
            <td>Testo del messaggio</td>
         </tr>
         <tr>
            <td>timestamp</td>
            <td style="text-align:center">Date</td>
            <td>Quando il messaggio è stato creato</td>
         </tr>
         <tr>
            <td>sender</td>
            <td style="text-align:center">String</td>
            <td>Alias utente del creatore del messaggio</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-message-received">Message received <a class="permalink" href="#header-message-received" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'message_received'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente ha ricevuto un messaggio.</p>
   <h6 id="header-type-3">Type <a class="permalink" href="#header-type-3" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>id</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco del messaggio</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
         <tr>
            <td>text</td>
            <td style="text-align:center">String</td>
            <td>Testo del messaggio</td>
         </tr>
         <tr>
            <td>timestamp</td>
            <td style="text-align:center">Date</td>
            <td>Quando il messaggio è stato creato</td>
         </tr>
         <tr>
            <td>sender</td>
            <td style="text-align:center">String</td>
            <td>Alias utente del creatore del messaggio</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-message-read">Message read <a class="permalink" href="#header-message-read" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'message_read'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente ha letto un messaggio.</p>
   <h6 id="header-type-4">Type <a class="permalink" href="#header-type-4" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>id</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco del messaggio</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
         <tr>
            <td>text</td>
            <td style="text-align:center">String</td>
            <td>Testo del messaggio</td>
         </tr>
         <tr>
            <td>timestamp</td>
            <td style="text-align:center">Date</td>
            <td>Quando il messaggio è stato creato</td>
         </tr>
         <tr>
            <td>sender</td>
            <td style="text-align:center">String</td>
            <td>Alias utente del creatore del messaggio</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-user-connection">User connection <a class="permalink" href="#header-user-connection" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'user_connected'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente si connette alla piattaforma.</p>
   <h6 id="header-type-5">Type <a class="permalink" href="#header-type-5" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>user.userAlias</td>
            <td style="text-align:center">String</td>
            <td>Alias utente dell’utente</td>
         </tr>
         <tr>
            <td>user.firstName</td>
            <td style="text-align:center">String</td>
            <td>Nome dell’utente</td>
         </tr>
         <tr>
            <td>user.lastName</td>
            <td style="text-align:center">String</td>
            <td>Cognome dell’utente</td>
         </tr>
         <tr>
            <td>user.email</td>
            <td style="text-align:center">String</td>
            <td>Email dell’utente</td>
         </tr>
         <tr>
            <td>user.image</td>
            <td style="text-align:center">String</td>
            <td>Immagine dell’utente</td>
         </tr>
         <tr>
            <td>user.role</td>
            <td style="text-align:center">Number</td>
            <td>Ruolo dell’utente</td>
         </tr>
         <tr>
            <td>status</td>
            <td style="text-align:center">String</td>
            <td>Stato corrente (ONLINE, OFFLINE, BUSY)</td>
         </tr>
      </tbody>
   </table>
   <h4 id="header-user-disconnection">User disconnection <a class="permalink" href="#header-user-disconnection" aria-hidden="true"></a></h4>
   <pre><code class="language-javascript">Client.on(<span class="hljs-string">'user_disconnected'</span>,(data) =&gt; {
    <span class="hljs-comment">// your logic</span>
});</code></pre>
   <p>Scatenato quando un Utente si disconnete dalla piattaforma.</p>
   <h6 id="header-type-6">Type <a class="permalink" href="#header-type-6" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>user.userAlias</td>
            <td style="text-align:center">String</td>
            <td>Alias utente dell’utente</td>
         </tr>
         <tr>
            <td>user.firstName</td>
            <td style="text-align:center">String</td>
            <td>Nome dell’utente</td>
         </tr>
         <tr>
            <td>user.lastName</td>
            <td style="text-align:center">String</td>
            <td>Cognome dell’utente</td>
         </tr>
         <tr>
            <td>user.email</td>
            <td style="text-align:center">String</td>
            <td>Email dell’utente</td>
         </tr>
         <tr>
            <td>user.image</td>
            <td style="text-align:center">String</td>
            <td>Immagine dell’utente</td>
         </tr>
         <tr>
            <td>user.role</td>
            <td style="text-align:center">Number</td>
            <td>Ruolo dell’utente</td>
         </tr>
         <tr>
            <td>status</td>
            <td style="text-align:center">String</td>
            <td>Stato corrente (ONLINE, OFFLINE, BUSY)</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-add-chat">Add chat <a class="permalink" href="#header-add-chat" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.addChat()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.addChat(<span class="hljs-string">'usr_fr55ga3'</span>);</code></pre>
   <p><code>.addChat('usr_fr55ga3')</code></p>
   <p>Per abilitare la chat con un altro utente nella tua piattaforma, hai bisogno di chiamare il metodo .addChat().
      Il metodo addChat si aspetta un user alias valido (deve essere un utente già creato). Una volta che il metodo è stato chiamato, il widget mostrerà la chat aggiunta.
   </p>
   <p><strong>Note:</strong> se il widget è in modalità nascosta, il metodo addChat mostrerà il widget.</p>
   <h5 id="header-returns--1">Returns: <a class="permalink" href="#header-returns--1" aria-hidden="true"></a></h5>
   <h6 id="header-type-7">Type <a class="permalink" href="#header-type-7" aria-hidden="true"></a></h6>
   <p>Promise.&lt;(void|Error)&gt;</p>
   <h3 id="header-remove-chat">Remove chat <a class="permalink" href="#header-remove-chat" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.removeChat()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.removeChat(<span class="hljs-string">'usr_fr55ga3'</span>);</code></pre>
   <p><code>.removeChat('usr_fr55ga3')</code></p>
   <p>Per rimuovere una chat hai bisogno di chiamare il metodo .removeChat(). RemoveChat rimuoverà la chat tra l’utente autenticato e l’utente specificato come input del metodo. Tutti i messaggi tra questi verranno cancellati permanentemente.</p>
   <h5 id="header-returns--2">Returns: <a class="permalink" href="#header-returns--2" aria-hidden="true"></a></h5>
   <h6 id="header-type-8">Type <a class="permalink" href="#header-type-8" aria-hidden="true"></a></h6>
   <p>Promise.&lt;(void|Error)&gt;</p>
   <h5 id="header-returns--3">Returns: <a class="permalink" href="#header-returns--3" aria-hidden="true"></a></h5>
   <h6 id="header-type-9">Type <a class="permalink" href="#header-type-9" aria-hidden="true"></a></h6>
   <p>Promise.&lt;(void|Error)&gt;</p>
   <h3 id="header-isauthenticated">isAuthenticated <a class="permalink" href="#header-isauthenticated" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.isAuthenticated()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.isAuthenticated();</code></pre>
   <p><code>.isAuthenticated()</code></p>
   <p>Per verificare se l’istanza corrente del wiget è autenticata, hai bisogno di chiamare il metodo .isAuthenticated(). Il metodo ritornerà <strong>true</strong> se il widget è autenticato, falso altrimenti.</p>
   <h5 id="header-returns--4">Returns: <a class="permalink" href="#header-returns--4" aria-hidden="true"></a></h5>
   <h6 id="header-type-10">Type <a class="permalink" href="#header-type-10" aria-hidden="true"></a></h6>
   <p>Type: boolean</p>
   <h3 id="header-show-widget">Show widget <a class="permalink" href="#header-show-widget" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.showChat()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.showWidget();</code></pre>
   <p><code>.showChat()</code></p>
   <p>Mostra il widget nella pagina html.</p>
   <h5 id="header-returns--5">Returns: <a class="permalink" href="#header-returns--5" aria-hidden="true"></a></h5>
   <h6 id="header-type-11">Type <a class="permalink" href="#header-type-11" aria-hidden="true"></a></h6>
   <p>Type: Boolean.(true|false)&gt;</p>
   <h3 id="header-hide-widget">Hide widget <a class="permalink" href="#header-hide-widget" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.showChat()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.hideWidget();</code></pre>
   <p><code>.hideChat()</code></p>
   <p>Nasconde il widget nella pagina html.</p>
   <h5 id="header-returns--6">Returns: <a class="permalink" href="#header-returns--6" aria-hidden="true"></a></h5>
   <h6 id="header-type-12">Type <a class="permalink" href="#header-type-12" aria-hidden="true"></a></h6>
   <p>Type: Boolean.(true|false)&gt;</p>
   <h3 id="header-logout">logout <a class="permalink" href="#header-logout" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.logout()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.logout();</code></pre>
   <p><code>.logout()</code></p>
   <p>Per fare il logout dell’istaza corrente del widget, hai bisogno di chiamare il metodo .logout(). Il metodo logout() smonterà il componente widget.</p>
   <h5 id="header-returns--7">Returns: <a class="permalink" href="#header-returns--7" aria-hidden="true"></a></h5>
   <h6 id="header-type-13">Type <a class="permalink" href="#header-type-13" aria-hidden="true"></a></h6>
   <p>Promise.&lt;(void|Error)&gt;</p>
   <h3 id="header-togglewidget">toggleWidget <a class="permalink" href="#header-togglewidget" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.toggleWidget()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.toggleWidget();</code></pre>
   <p><code>.toggleWidget()</code></p>
   <p>Attiva / disattiva il widget da aperto a chiuso o viceversa.</p>
   <h5 id="header-returns--8">Returns: <a class="permalink" href="#header-returns--8" aria-hidden="true"></a></h5>
   <h6 id="header-type-14">Type <a class="permalink" href="#header-type-14" aria-hidden="true"></a></h6>
   <p>Type: Boolean.&lt;(true|false)&gt;</p>
   <h3 id="header-openwidget">openWidget <a class="permalink" href="#header-openwidget" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.openWidget()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.openWidget();</code></pre>
   <p><code>.openWidget()</code></p>
   <p>Apre il widget.</p>
   <h5 id="header-returns--9">Returns: <a class="permalink" href="#header-returns--9" aria-hidden="true"></a></h5>
   <h6 id="header-type-15">Type <a class="permalink" href="#header-type-15" aria-hidden="true"></a></h6>
   <p>Type: Boolean.&lt;(true|false)&gt;</p>
   <h3 id="header-closewidget">closeWidget <a class="permalink" href="#header-closewidget" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.closeWidget()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.closeWidget();</code></pre>
   <p><code>.closeWidget()</code></p>
   <p>Chiude il widget.</p>
   <h5 id="header-returns--10">Returns: <a class="permalink" href="#header-returns--10" aria-hidden="true"></a></h5>
   <h6 id="header-type-16">Type <a class="permalink" href="#header-type-16" aria-hidden="true"></a></h6>
   <p>Type: Boolean.&lt;(true|false)&gt;</p>
   <p>## Activities</p>
   <p>Per costruire una logica di business personalizzata basata sulle attività del Widget (messaggi inviati, ricevuti, etc), il widget fornisce metodi utili. Ecco una lista di questi:</p>
   <table>
      <thead>
         <tr>
            <th>Method</th>
            <th style="text-align:center">Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>getUser</td>
            <td style="text-align:center">Ottieni le informazioni dell’utente e il suo stato corrente (online, offline, busy)</td>
         </tr>
         <tr>
            <td>getLastMessageReceived</td>
            <td style="text-align:center">Ottieni l’ultimo messaggio ricevuto dall’utente</td>
         </tr>
         <tr>
            <td>getLastMessageSent</td>
            <td style="text-align:center">Ottieni l’ultimo messaggio inviato dall’utente</td>
         </tr>
         <tr>
            <td>getUnreadMessages</td>
            <td style="text-align:center">Ottieni tutti i messaggi non letti dell’utente</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-getuser">getUser <a class="permalink" href="#header-getuser" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.getUser(userAlias)</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.getUser(userAlias);</code></pre>
   <p><code>.getUser(userAlias)</code></p>
   <p>Ottieni informazioni e stato riguardo un utente selezionato.</p>
   <h5 id="header-returns--11">Returns: <a class="permalink" href="#header-returns--11" aria-hidden="true"></a></h5>
   <h6 id="header-type-17">Type <a class="permalink" href="#header-type-17" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>user.userAlias</td>
            <td style="text-align:center">String</td>
            <td>Alias utente dell’utente</td>
         </tr>
         <tr>
            <td>user.firstName</td>
            <td style="text-align:center">String</td>
            <td>Nome dell’utente</td>
         </tr>
         <tr>
            <td>user.lastName</td>
            <td style="text-align:center">String</td>
            <td>Cognome dell’utente</td>
         </tr>
         <tr>
            <td>user.email</td>
            <td style="text-align:center">String</td>
            <td>Email dell’utente</td>
         </tr>
         <tr>
            <td>user.image</td>
            <td style="text-align:center">String</td>
            <td>Immagine dell’utente</td>
         </tr>
         <tr>
            <td>user.role</td>
            <td style="text-align:center">Number</td>
            <td>Ruolo dell’utente</td>
         </tr>
         <tr>
            <td>status</td>
            <td style="text-align:center">String</td>
            <td>Stato corrente (online, offline, busy)</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-getlastmessagereceived">getLastMessageReceived <a class="permalink" href="#header-getlastmessagereceived" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.getLastMessageReceived()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.getLastMessageReceived();</code></pre>
   <p><code>.getLastMessageReceived()</code></p>
   <p>Ottieni l’ultimo messaggio ricevuto dal widget.</p>
   <h5 id="header-returns--12">Returns: <a class="permalink" href="#header-returns--12" aria-hidden="true"></a></h5>
   <h6 id="header-type-18">Type <a class="permalink" href="#header-type-18" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>id</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco del messaggio</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
         <tr>
            <td>text</td>
            <td style="text-align:center">String</td>
            <td>Testo del messaggio</td>
         </tr>
         <tr>
            <td>timestamp</td>
            <td style="text-align:center">Date</td>
            <td>Quando il messaggio è stato creato</td>
         </tr>
         <tr>
            <td>sender</td>
            <td style="text-align:center">String</td>
            <td>Alias utente del creatore del messaggio</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-getlastmessagesent">getLastMessageSent <a class="permalink" href="#header-getlastmessagesent" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.getLastMessageSent()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.getLastMessageSent();</code></pre>
   <p><code>.getLastMessageSent()</code></p>
   <p>Ottieni l’ultimo messaggio inviato dal widget.</p>
   <h5 id="header-returns--13">Returns: <a class="permalink" href="#header-returns--13" aria-hidden="true"></a></h5>
   <h6 id="header-type-19">Type <a class="permalink" href="#header-type-19" aria-hidden="true"></a></h6>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>id</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco del messaggio</td>
         </tr>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>participants</td>
            <td style="text-align:center">Array</td>
            <td>Array dei partecipanti</td>
         </tr>
         <tr>
            <td>text</td>
            <td style="text-align:center">String</td>
            <td>Testo del messaggio</td>
         </tr>
         <tr>
            <td>timestamp</td>
            <td style="text-align:center">Date</td>
            <td>Quando il messaggio è stato creato</td>
         </tr>
         <tr>
            <td>sender</td>
            <td style="text-align:center">String</td>
            <td>Alias utente del creatore del messaggio</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-getunreadmessages">getUnreadMessages <a class="permalink" href="#header-getunreadmessages" aria-hidden="true"></a></h3>
   <blockquote>
      <p>.getUnreadMessages()</p>
   </blockquote>
   <pre><code class="language-javascript">BandyerChat.getUnreadMessages();</code></pre>
   <p><code>.getUnreadMessages()</code></p>
   <p>Ricevi i messaggi non letti dell’utente.</p>
   <h5 id="header-returns--14">Returns: <a class="permalink" href="#header-returns--14" aria-hidden="true"></a></h5>
   <h6 id="header-type-20">Type <a class="permalink" href="#header-type-20" aria-hidden="true"></a></h6>
   <p>Array of object:</p>
   <table>
      <thead>
         <tr>
            <th>Key</th>
            <th style="text-align:center">Type</th>
            <th>Descrizione</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>chat</td>
            <td style="text-align:center">String</td>
            <td>Identificativo univoco della chat</td>
         </tr>
         <tr>
            <td>unreadMessages</td>
            <td style="text-align:center">Number</td>
            <td>Array dei partecipanti</td>
         </tr>
      </tbody>
   </table>
   <h3 id="header-screen-sharing">Screen sharing <a class="permalink" href="#header-screen-sharing" aria-hidden="true"></a></h3>
   <p>Dalla versione 1.1.0 in avanti il widget può pubblicare uno stream che utilizza la visualizzazione video del tuo schermo (invece della videocamera) come sorgente. Un client connesso al widget può sottoscriversi allo stream (e visualizzarlo), proprio come si iscriverebbe a uno stream che utilizza una videocamera come sorgente.</p>
   <p>In Chrome, per pubblicare un video screen-sharing, il client ha bisogno di aggiungere un’estensione che abilita la pubblicazione degli stream screen-sharing per il tuo dominio.
      A partire da Firefox 52, un’estensione (o lista whitelist) non è più necessaria per lo screen sharing. Firefox richiede all’utente finale di accedere allo screen, finestra o applicazione, come per l’accesso alla videocamera. Per più informazioni, guarda questo post sul blog Mozzilla.
   </p>
   <p><strong>In tutti i browser, pubblicare uno stream screen-sharing richiede che la pagina venga caricata su HTTPS</strong></p>
   <h4 id="header-set-url-for-extension-install">Set url for extension install <a class="permalink" href="#header-set-url-for-extension-install" aria-hidden="true"></a></h4>
   <p>Il metodo <code>BandyerChat.setExtensionUrl('URL_CHROME_WEBSTORE')</code> è usato per reindirizzare l’utente alla pagina di installazione nel chrome web store. È importante impostare l’URL per consentire all’utente di aggiungere l’estensione corretta</p>
   <p><code>Esempio: BandyerChat.setExtensionUrl('https://chrome.google.com/webstore/detail/your-extension/your-extension-id')</code></p>
   <p>Se l’utente ha bisogno dell’estensione, il widget mostrerà questo alert:</p>
   <img src="https://cdn.bandyer.com/sdk/js/resources/screenshots/bandyer-chat-widget-extension-install.png" alt="Drawing" style="height: 300px;"/>
   <h4 id="header-use-screen-sharing-in-development">Use screen sharing in development <a class="permalink" href="#header-use-screen-sharing-in-development" aria-hidden="true"></a></h4>
   <p>Per supportare la condivisione dello schermo in Chrome, devi creare un’estensione di Chrome per la condivisione dello schermo abilitata per localhost o qualsiasi altro dominio di sviluppo. Per favore scrivi un email a <a href="mailto:info@bandyer.com?subject=screen-sharing-widget-development">info@bandyer.com</a> per ottenerla.</p>
   <h4 id="header-distributing-a-screen-sharing-extension">Distributing a screen-sharing extension <a class="permalink" href="#header-distributing-a-screen-sharing-extension" aria-hidden="true"></a></h4>
   <p>Per usare la condivisione dello schermo sul tuo sito, Gli utenti Chrome devono installare la tua estensione per la condivisione dello schermo.
      Dovrai impacchettare la tua estensione Chrome per la condivisione dello schermo e registrarla nel Chrome Web Store.
      Guarda la <a href="https://developer.chrome.com/webstore/publish" target="_blank">documentazione di Chrome</a> per dettagli sulla pubblicazione della tua estensione nel Chrome Web Store.
   </p>














Copyright © 2017 Telecom Italia S.p.A. - P.IVA 00488410010