Creating a wiki page
Added by IBM contributorIBM | Edited by IBM contributorPaul Bastide on December 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Create a wiki page.

Create a wiki page with a specific payload

In the request payload sample below, parentUuid is optional. If it is provided then the new wiki page will be created under the page with id provided in this tag.

Method URI Description
POST /wikis/{auth}/api/wiki/{wiki-label}/feed Creates a wiki page. Note: {wiki-label} is the wiki to which you want to add the page.
Content Type: application/atom+xml
Sample Request:
<entry xmlns="">
<parentUuid xmlns="">e1819c82-adb7-4a97-8c71-515ce215e62c</parentUuid>
<title type="text">Matt's Page</title>
<content type="text"><p>This is James's wiki page.</p>
<category term="wikipagetag1" />
<category term="wikipagetag2" />
<category term="wikipagetag3" />
<category scheme=",2006:td/type" term="page" label="page" />
Name Type Optional Description
string No wiki-label is the wiki to which you want to add the page.
The label is also the Community Uuid
enumerated No The authorization protocol being used by your application to access Connections Cloud.
Authorized values:
  • basic
  • oauth
Name Type Optional Description
boolean Yes Specify "true" to mark the page as a draft, or "false" otherwise.
boolean Yes Specify "true" to request the metadata on notification (edit or comment added) to be included for a document entry.
boolean Yes Specify "true" if you want to send edit or comment notifications.
Name Type Optional Description
enumerated No The authentication mechanism selected by your application to access the API.
Basic is the Base64 encoding of the IBM Connections Cloud username and password: Base64(username:password). For example, Base64(
Bearer is the oauth 2.0 access token that is generated when the user grants your application access to IBM Connections Cloud services.
See the reference topic "OAuth 2.0 APIs for web server flow" for more information.
Authorized values:
  • bearer
  • basic
Code Description
OK. Indicates that the request was received successfully.
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
The URL could not be found.
curl -u "USERID:PASSWORD" -X POST -H "X-Update-Nonce: NONCE" -H "Content-Type: application/atom+xml" --data "<entry xmlns:thr=\"\" xmlns:opensearch=\"\" xmlns:snx=\"\" xmlns:td=\"\" xmlns=\"\"><title type=\"text\">Test2</title><summary type=\"text\">3</summary><content type=\"text/html\">blah</content></entry>" "https://SERVER/wikis/basic/api/wiki/Wc0d10195a46c_4187_8efd_90fa39de2ff3/feed"
<entry xmlns:thr="" xmlns:opensearch="" xmlns:snx="" xmlns:td="" xmlns=""><title type="text">Test2</title><summary type="text">3</summary><content type="text/html">blah</content></entry>