Is it possible to export a table to CSV using the REST API?

Is there a way to use the Confluence REST API to identify a table on a page, then export that table to CSV file programmatically?

I was able to query the page and expand body with “the expand=body.export_view” and I was able to see the HTML of the table. Is there an easier way to convert this to a CSV file using the Confluence REST API?

Welcome to the Atlassian developer community, @evensteven

There are significant differences between Confluence Cloud and Server/Data Center that would make for different answers. Which one are you using?

Hi @ibuchanan , we are using Confluence Data Center