I am currently trying to write a script to do a pdf export of a space and then download the pdf. This space is quite large and it constantly gives me a gateway timed out exception.
When I try to export a smaller space it returns a link just fine. Is there something I can do to extend the timeout time?
Also, we do not want all of the space, is there a way of only selecting what we want to export like the plugin allows us to but using the api?