Sametime: Secrets URLs

Policies

 * http: //:9080/stpolicy/policy/all

Get policies from System Console, return in json format

Example:

http: //: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: //:9080/stpolicy/policy/im.default.policy Result: {"PolicyInfo":[{"policyXml":"/servlet/UserInfoServlet?operation=3&setid=1&userId=

Example:

In this case i using TDS as LDAP

http: ///servlet/UserInfoServlet?operation=3&setid=1&userId=uid=ebasso Returns:      /9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgK .../uj+OafUCWK4hnxATkmLLDpx0NNFpAwBlxvHB+c9uKzrseQYpIvlbypBkegNbJ5OaNtg3P/9k=

Notes:

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

Ver também

 * Instalando o IBM Sametime no Linux
 * Configurando conversão de documentos do Sametime 8.5
 * Sametime: Comandos Uteis


 * Mais Artigos sobre IBM Sametime