<?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: REST API. Update of User/UserGr. not possible (5.11) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123391#M86897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it should. What does it do when you try 'searchText=%k%' ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(probably you need to url encode the %&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 15:13:02 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2013-05-22T15:13:02Z</dc:date>
    <item>
      <title>REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123385#M86891</link>
      <description>Hi activiti core team:-)Introduction——————-User Guide (currently 5.12) describes, that POST http method must be used to create an user or an user group. But i found such githubentry:The user guide (5.9-5.12) lists the creation of user and groups going through the POST http method, however the code i</description>
      <pubDate>Thu, 07 Mar 2013 13:21:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123385#M86891</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2013-03-07T13:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123386#M86892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're planning a major review of the REST-API in 5.13, to have a very big coverage of the Java API, reviewing all existing REST-methods as well…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:08:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123386#M86892</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-07T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123387#M86893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When it is planned to release the 5.13 REST-API version? Until you do that can you tell us whether is possible or&amp;nbsp; not to create users and groups via REST and how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 21:48:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123387#M86893</guid>
      <dc:creator>augustus</dc:creator>
      <dc:date>2013-05-20T21:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123388#M86894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I try to use post to create a new group I get the "method not allowed" error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to use put to create a new group I get the message "forbidden".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do I need to do in order to successfully create a group via REST? Login is working but it only respond with status OK 200 so I'm not sure how to authenticate on each other REST call. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 07:47:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123388#M86894</guid>
      <dc:creator>augustus</dc:creator>
      <dc:date>2013-05-21T07:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123389#M86895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should also use BASIC authentication when performing the PUT.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 05:59:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123389#M86895</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-05-22T05:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123390#M86896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, my bad, who reads the fucking manual anyway &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing: I'm testing all rest api calls you currently have and I'm having some doubts whether I'm doing it right or wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example if I run the following call:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://localhost:8081/activiti-rest/service/users?searchText=kermit" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/activiti-rest/service/users?searchText=kermit&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;response I get is:&amp;nbsp; {"data":[],"total":0,"start":0,"sort":"lastName","order":"asc","size":0} &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With kermit I was able to authenticate the call. It might be I'm doing something wrong with parsing json response, but I can't be sure. Can anyway confirm that this query should return the kermit user data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code example of invoking this call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public void searchUser(){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Client client = Client.create();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; client.addFilter(new HTTPBasicAuthFilter("kermit", "kermit"));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; WebResource webResource = client&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .resource("&lt;/SPAN&gt;&lt;A href="http://localhost:8081/activiti-rest/service/users?searchText=kermit" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/activiti-rest/service/users?searchText=kermit&lt;/A&gt;&lt;SPAN&gt;");&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ClientResponse response;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; try {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; response = webResource.type("application/json").get(ClientResponse.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String user = response.getEntity(String.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; System.out.print("user: "+user);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; } catch (UniformInterfaceException ue) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; System.out.print(ue.getMessage());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 10:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123390#M86896</guid>
      <dc:creator>augustus</dc:creator>
      <dc:date>2013-05-22T10:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123391#M86897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it should. What does it do when you try 'searchText=%k%' ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(probably you need to url encode the %&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 15:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123391#M86897</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-05-22T15:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123392#M86898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same result &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you able to confirm that it works for you in the demo rest war app? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 08:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123392#M86898</guid>
      <dc:creator>augustus</dc:creator>
      <dc:date>2013-05-23T08:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123393#M86899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is that the query is case sensitive. So if you use searchText=ermit you will get a result back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 12:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123393#M86899</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-05-23T12:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST API. Update of User/UserGr. not possible (5.11)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123394#M86900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh I see now. It preform search on first and last name not id (username). Can't wait to see new REST API version &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 13:59:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-update-of-user-usergr-not-possible-5-11/m-p/123394#M86900</guid>
      <dc:creator>augustus</dc:creator>
      <dc:date>2013-05-23T13:59:47Z</dc:date>
    </item>
  </channel>
</rss>

