You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, I would like to retrieve the id of the page created by making this request
curl -u USER -X POST -H 'Content-Type:application/json' -d @/tmp/pagesCF2.json "https://$$$$/confluence/rest/api/content/" -v
Do you have an idea?
Thank you
Hi @Airbus DS ,
please take a look to the following REST API doc https://docs.atlassian.com/ConfluenceServer/rest/8.1.1/#api/content-getContent
In particulare you should provide some parameters to your request in order to retrive the content and api will return all information about the content itsefl.
Hope this helps,
Fabio
Hi Fabio,
Thanks for your help,
My need is to retreive the content id just after the page creation in order to apply modification on it.
I wanted to find a command that parse the curl creation response in order to get the created page id.
Best regards
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.