1 of 1 people found this helpful
I dont believe that what you are asking can be done using Document API (ie changing filters in a Workbook)
Publishing can be done using REST API though
If you want to make changes to workbooks (without hacking at the XML that makes up the workbook), you could investigate the Powertools SDK
This tool will give you the ability to do all that you asking.
All the best