<?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: How to create wiki page via API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122231#M33509</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/91055"&gt;@uakhhh&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you mean Rest API? If yes, there is a &lt;STRONG&gt;PUT&amp;nbsp;&lt;/STRONG&gt;request&lt;STRONG&gt;&amp;nbsp;/alfresco/s/slingshot/wiki/page/{siteId}/{pageTitle}&lt;/STRONG&gt;&amp;nbsp;- you can find it's definition in the&amp;nbsp;&lt;SPAN&gt;org/alfresco/slingshot/wiki/page.put.*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are interested in the Java API, have a look at the&amp;nbsp;&lt;SPAN&gt;WikiPageMovePost.java (basically there is a&amp;nbsp;WikiService)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 09:23:24 GMT</pubDate>
    <dc:creator>upforsin</dc:creator>
    <dc:date>2022-05-18T09:23:24Z</dc:date>
    <item>
      <title>How to create wiki page via API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122230#M33508</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I want&amp;nbsp;create wiki page via API, but i can't find guide anywhere.&lt;/P&gt;&lt;P&gt;Thanks for support.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 07:59:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122230#M33508</guid>
      <dc:creator>uakhhh</dc:creator>
      <dc:date>2022-05-18T07:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create wiki page via API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122231#M33509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/91055"&gt;@uakhhh&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you mean Rest API? If yes, there is a &lt;STRONG&gt;PUT&amp;nbsp;&lt;/STRONG&gt;request&lt;STRONG&gt;&amp;nbsp;/alfresco/s/slingshot/wiki/page/{siteId}/{pageTitle}&lt;/STRONG&gt;&amp;nbsp;- you can find it's definition in the&amp;nbsp;&lt;SPAN&gt;org/alfresco/slingshot/wiki/page.put.*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are interested in the Java API, have a look at the&amp;nbsp;&lt;SPAN&gt;WikiPageMovePost.java (basically there is a&amp;nbsp;WikiService)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 09:23:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122231#M33509</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2022-05-18T09:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create wiki page via API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122232#M33510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/8063"&gt;@upforsin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes rest API.&lt;BR /&gt;Could you help me about "curl" example or any thing like that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried but got error 500: Wrapped Exception (with status template): null. Thanks alot!&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 11:08:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122232#M33510</guid>
      <dc:creator>uakhhh</dc:creator>
      <dc:date>2022-05-18T11:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create wiki page via API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122233#M33511</link>
      <description>&lt;P&gt;Sample request: PUT &lt;A href="http://localhost:8180/share/proxy/alfresco/slingshot/wiki/page/swsdp/Sample_title" target="_blank" rel="noopener nofollow noreferrer"&gt;http://localhost:8080/alfresco/slingshot/wiki/page/swsdp/Sample_title&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sample json body:&amp;nbsp;&lt;SPAN&gt;{"page":"wiki-page","pageTitle":"Sample title","pagecontent":"&amp;lt;p&amp;gt;Lorem &amp;lt;strong&amp;gt;ipsum&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;","tags":["tag1"]}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With cURL that would be something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;curl -XPUT -H 'Accept: application/json'&amp;nbsp;&amp;nbsp;-H 'Authorization: Basic XXX='&amp;nbsp;-d '{"page":"wiki-page","pageTitle":"Sample title","pagecontent":"&amp;lt;p&amp;gt;Lorem &amp;lt;strong&amp;gt;ipsum&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;","tags":["tag1"]}' 'http://localhost:8080/alfresco/slingshot/wiki/page/swsdp/Sample_title'&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;To get more info about getting the auth Token have a look here&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/7.0/develop/rest-api-guide/install/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/7.0/develop/rest-api-guide/install/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2022 16:24:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-wiki-page-via-api/m-p/122233#M33511</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2022-05-22T16:24:06Z</dc:date>
    </item>
  </channel>
</rss>

