Is it possible to get pages body content in wiki format instead of storage? Similar to the POST/PUT methods but for GET requests?
Hi @Pramodh M
Based on what I've seen that's only possible on POST request, that screenshot is from the `POST /wiki/rest/api/contentbody/convert/{to}` documentation, right?
That `representation` parameter is what I would have liked to also be available in the `GET /wiki/rest/api/content` request.
But not sure if there's a different API end-point that could allow this?
Ideally, what I want is this:
1. Get page content (in wiki format) via a GET request to the API.
2. Modify content locally (in wiki format).
3. Update Confluence site by sending modified page body (in wiki format) via a POST request to the API (this I'm already able to do).
Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the content in HTML and convert it to Wiki.
Check out this post:
I did something similar in my case and it worked perfectly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.