How to get a confluence page in unix?

Is there a way to access a confluence page in unix environment?


1 answer

This widget could not be displayed.

Lots, but you need to explain what you actually want.  "Access a page" does not tell us what you are trying to do.

Ok, I'm assuming you mean you have a remote process that needs to read the page.

That should use the REST API to get the data it wants.  I usually start with as the examples show you stuff working, rather than the full REST API docs

I have tried the example earlier and could not get it working. It gave me "No JSON object could be decoded". I wasnt sure how to provide the address. should we provide it as it is or should be modify it?

Can you tell me the command line for Reading the below page ?

It's the url given in the docs, except you need to replace the base url with your own, and the page identifier.

I'd also try dropping the pipe through a decoder that the doc says to use - I think that's hiding the response which you need to see to understand.

Thanks Nic. I tried removing the command after pipe. I am able to get the page data in html format and processing that for my actual purpose.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

548 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you