Sametime: Secrets URLs

From Wiki
Revision as of 19:32, 28 March 2017 by Ebasso (talk | contribs)

Sametime Meetings

Start Meeting with only Video

http://<sametime_meetings_url.company.com>/stmeetings/room/<email_address>/<room_pername>?community=true

This options disable meeting capabilities like screen & content sharing, library...

Sametime System Console

Policies

  • http: //<system_console_server>:9080/stpolicy/policy/all

Get policies from System Console, return in json format

Example:

http: //<system_console_server>:9080/stpolicy/policy/all

Result:

{"PolicyInfo":[{"policyWeight":"1","policyType":"USER","policyProduct":"av","policyId":"av.default.policy"},
{"policyWeight":"1","policyType":"USER","policyProduct":"im","policyId":"im.default.policy"}, 
{"policyWeight":"1","policyType":"USER","policyProduct":"ms","policyId":"ms.default.policy"},
{"policyWeight":"1","policyType":"USER","policyProduct":"sc","policyId":"sc.default.policy"},
{"policyWeight":"0","policyType":"USER","policyProduct":"im","policyId":"im.anonymous.policy"},
{"policyWeight":"0","policyType":"USER","policyProduct":"av","policyId":"av.anonymous.policy"},
{"policyWeight":"0","policyType":"USER","policyProduct":"ms","policyId":"ms.anonymous.policy"},
{"policyWeight":"0","policyType":"USER","policyProduct":"sc","policyId":"sc.anonymous.policy"}]}

to get the information from a policy, put the policyId.

Example:

http: //<system_console_server>:9080/stpolicy/policy/im.default.policy

Result:

{"PolicyInfo":[{"policyXml":"<?xml version=\"1.0\"?><p:policy-template xmlns:p=\"http:\/\/www.ibm.com\/sametime\/console\/policy-template\"
xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema\"><p:policy-attribute-group id=\"imserver.policygroup.chat\" label=\"im.policygroup.chat.label\" 
description=\"im.policygroup.chat.desc\" visible=\"true\" ><p:policy-attribute id=\"im.2019\" type=\"boolean\" current-value=\"0\" default-value=\"1\" master-
attribute-link=\"null\" possible-value-labels=\"null\" possible-values=\"null\" label=\"im.2019.
......

Sametime Communities

UserInfoServlet

Get information from Sametime Community about users

  • http: //<community_server>/servlet/UserInfoServlet?operation=3&setid=1&userId=<LDAP_Query_string>


Example:

In this case i using TDS as LDAP

http: //<community_server>/servlet/UserInfoServlet?operation=3&setid=1&userId=uid=ebasso

Returns:

<userinfo>
<user id="uid=ebasso">
<field name="MailAddress" type="" error="myemailaddress"/>
<field name="Name" type="" error="Enio Basso"/>
<field name="Title" type="" error="Sametime Specialist"/>
<field name="Location" type="" error="UNAVAILABLE"/>
<field name="Telephone" type="" error="UNAVAILABLE"/>
<field name="Photo" type="image/jpeg">/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgK
.../uj+OafUCWK4hnxATkmLLDpx0NNFpAwBlxvHB+c9uKzrseQYpIvlbypBkegNbJ5OaNtg3P/9k=</field>
</user>
</userinfo>


Notes:

No spaces in url, you must change for the characters "%20". Example: userId=cn=Enio%20Basso


Ver também