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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.