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.