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
Indicates that the wiki page entry was successfully created. If an error occurs, this header contains one of the error codes.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with wiki pagesRelated reference
Wiki page content
});