<?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 Re: Query regarding room API endpoint in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584869#M523</link>
    <description>&lt;P&gt;This requires to fetch all rooms of the authenticated user and I need to loop over the list of the rooms.&lt;/P&gt;&lt;P&gt;and for each room I need to fecth memeberships api to see if the target user is a member of this group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't there anyway to search a room which includes me (authenticated user) and another user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I want to search direct room between me and one of my collagues&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2022 08:55:36 GMT</pubDate>
    <dc:creator>Mustafa.sahin</dc:creator>
    <dc:date>2022-04-04T08:55:36Z</dc:date>
    <item>
      <title>Query regarding room API endpoint</title>
      <link>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584860#M521</link>
      <description>&lt;P&gt;&lt;EM&gt;Query from Sahin, Mustafa •&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Hi, is there any api endpoint to search direct room which includes the authenticated user and a specific mail acount ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 08:48:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584860#M521</guid>
      <dc:creator>sandiban</dc:creator>
      <dc:date>2022-04-04T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding room API endpoint</title>
      <link>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584862#M522</link>
      <description>&lt;P&gt;Hi Sahin,&lt;BR /&gt;&lt;BR /&gt;Could kindly check this out - &lt;A href="https://developer.webex.com/docs/api/v1/rooms" target="_blank" rel="noopener"&gt;https://developer.webex.com/docs/api/v1/rooms&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;First of all, you've to be the part of that room to view the details and you should have the roomId as well.&lt;BR /&gt;If you don't have the roomId handy, you can use this - &lt;A href="https://developer.webex.com/docs/api/v1/rooms/list-rooms" target="_self"&gt;/list-rooms&lt;/A&gt; endpoint first.&lt;BR /&gt;Once you find the required roomName from that list, collect the roomId of that room and query the &lt;A href="https://developer.webex.com/docs/api/v1/rooms/get-room-details" target="_self"&gt;/get-room-details&lt;/A&gt; API endpoint with the help of that roomId.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This should help you !&lt;BR /&gt;Any further assistance, please let us know.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Sandip&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 08:52:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584862#M522</guid>
      <dc:creator>sandiban</dc:creator>
      <dc:date>2022-04-04T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding room API endpoint</title>
      <link>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584869#M523</link>
      <description>&lt;P&gt;This requires to fetch all rooms of the authenticated user and I need to loop over the list of the rooms.&lt;/P&gt;&lt;P&gt;and for each room I need to fecth memeberships api to see if the target user is a member of this group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't there anyway to search a room which includes me (authenticated user) and another user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I want to search direct room between me and one of my collagues&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 08:55:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4584869#M523</guid>
      <dc:creator>Mustafa.sahin</dc:creator>
      <dc:date>2022-04-04T08:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query regarding room API endpoint</title>
      <link>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4585214#M527</link>
      <description>&lt;P&gt;Hi Sahin,&lt;/P&gt;
&lt;P&gt;I believe like you're asking, if the /list-rooms endpoint can specifically give you the result where you and another person are part of or, not.&lt;/P&gt;
&lt;P&gt;Unfortunately, that's not possible. Because in the /list-rooms api, you can't use a filter like personId. It only&amp;nbsp;&lt;SPAN&gt;lists rooms to which the authenticated user belongs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When you'll query /list-rooms, it will give you the long list of rooms where you're already part of.&lt;/P&gt;
&lt;P&gt;And, to meet your requirement, from there you need to take the roomId and check the memberships for that specific personId.&lt;/P&gt;
&lt;P&gt;Though you can automate them such a way, where mostly these manual works are scripted and finally provides you the comparison with a Yes or No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 13:03:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/query-regarding-room-api-endpoint/m-p/4585214#M527</guid>
      <dc:creator>sandiban</dc:creator>
      <dc:date>2022-04-04T13:03:33Z</dc:date>
    </item>
  </channel>
</rss>

