<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic mediasense api subscribeToEvents in Management</title>
    <link>https://community.cisco.com/t5/management/mediasense-api-subscribetoevents/m-p/3900707#M3141</link>
    <description>&lt;P&gt;Hello I use mediasense api 11.5.&lt;/P&gt;&lt;P&gt;In the subscribeToEvents API, I don't understand how to set the parameter "subscriptionUri ". My web server is 172.22.1.115:8080. With this server I send request to mediasense. So I should use &lt;A href="http://172.22.1.115:8080/&amp;lt;sessionEvent" target="_blank"&gt;http://172.22.1.115:8080/&amp;lt;sessionEvent&lt;/A&gt;&amp;gt; as the "subscriptionUri"? And I should create a file named "sessionEvent" in my server? This file should be empty or with some code of request?&lt;/P&gt;&lt;P&gt;Can you give a example of this file?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2019 13:23:16 GMT</pubDate>
    <dc:creator>windleaf5188</dc:creator>
    <dc:date>2019-07-31T13:23:16Z</dc:date>
    <item>
      <title>mediasense api subscribeToEvents</title>
      <link>https://community.cisco.com/t5/management/mediasense-api-subscribetoevents/m-p/3900707#M3141</link>
      <description>&lt;P&gt;Hello I use mediasense api 11.5.&lt;/P&gt;&lt;P&gt;In the subscribeToEvents API, I don't understand how to set the parameter "subscriptionUri ". My web server is 172.22.1.115:8080. With this server I send request to mediasense. So I should use &lt;A href="http://172.22.1.115:8080/&amp;lt;sessionEvent" target="_blank"&gt;http://172.22.1.115:8080/&amp;lt;sessionEvent&lt;/A&gt;&amp;gt; as the "subscriptionUri"? And I should create a file named "sessionEvent" in my server? This file should be empty or with some code of request?&lt;/P&gt;&lt;P&gt;Can you give a example of this file?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:23:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/mediasense-api-subscribetoevents/m-p/3900707#M3141</guid>
      <dc:creator>windleaf5188</dc:creator>
      <dc:date>2019-07-31T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: mediasense api subscribeToEvents</title>
      <link>https://community.cisco.com/t5/management/mediasense-api-subscribetoevents/m-p/3901096#M3142</link>
      <description>&lt;P&gt;I'm not too familiar with the MediaSense API, but I believe this is how notifications would work, otherwise known as a 'webhook' (&lt;A href="https://en.wikipedia.org/wiki/Webhook" target="_blank"&gt;https://en.wikipedia.org/wiki/Webhook&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-When MediaSense is ready to send a notification, it will make an HTTP POST request to the specified subscriptionUri, with body containing the event detail JSON object&lt;/P&gt;
&lt;P&gt;- You will need to have a web server listening on that URL, ready to accept the POST request, extract the JSON body, and perform the required business logic.&amp;nbsp; This would typically be your application listening on port 443/8443 (for HTTPS) for incoming messages and processing accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 22:53:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/mediasense-api-subscribetoevents/m-p/3901096#M3142</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2019-07-31T22:53:33Z</dc:date>
    </item>
  </channel>
</rss>

