To get a single page in PDF using curl I have been doing.
curl -s -G -L http://yourclienthosted.onconfluence.com/spaces/flyingpdf/pdfpageexport.action?pageIdfirstname.lastname@example.org&os_password=elpassword > thepdffile.pdf
Is it possible to get a multi page document or even a space using something similar?
There is not a way to pull down a whole space with curl - I dont think multiple attachments would work either. However, you should be able to pull down multiple attachments using REST and the JIRA api:
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot