Create a wiki page programmatically 

Create a wiki page programmatically.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API GET request details

Method Resource address Input representation Description
POST /basic/api/wiki/{wiki-label}/feed

Note: {wiki-label} is the wiki to which you want to add the page.

wiki page Creates a wiki page.

You can use one or more of these input parameters with the PUT request. Separate multiple parameters with an ampersand (&).

Table 2. Input parameters

Parameter Description
draft Specify "true" to mark the page as a draft, or "false" otherwise.
includeNotification Specify "true" to request the metadata on notification (edit or comment added) to be included for the document entry.
sendNotification Specify "true" if you want to send edit or comment notifications.


Input

Provide a wiki page Atom entry document. The content type of the Atom entry document must be application/atom+xml.


Output

None.

Returned HTTP headers

HTTP/1.1 200 OK

Error codes


Parent topic

Work with wiki pages

Related reference
Wiki page content


   

 

});

+

Search Tips   |   Advanced Search