Hi
I am trying to create a new page from a user template using curl.
I am interested in creating the new page with its own title (name) and leave the rest of the template data as is.
How can this be done ?
Thank you
curl -X POST \
-H "Authorization: Basic <Base64EncodedCredentials>" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{ "spaceId": "your-space-id", "status": "current", "title": "Your Page Title", "parentId": "your-parent-id", "body": { "representation": "storage", "value": "<p>This is the <strong>content</strong> of the page.</p>" } }' \
https://your-domain.atlassian.net/wiki/api/v2/pages
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.