how to read table content from a specific page in confluence through shell script

Madhuri March 16, 2018

HI ,

 

Can someone please suggest how to read a table content( which consists of details of environment name, urls and url up/down status) from a confluence page using shell script.

 

Thanks,

Madhuri

1 answer

0 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 16, 2018

Here is an example of how to read Confluence page content using curl:

https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#read-content-and-expand-the-body

The rest of the work (parsing the JSON, picking out the correct table element, etc.) can be done by you :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events