Script: Duplicate a Table

I see that we can add a table and rename a table in scripts, but is there a way to duplicate a table (with records) like we can in the UI?

As far as I know, there is no such function in the Python or JavaScript functions. You will not find anything at SeaTable Programming Manual.

But what you can do, as @rdb proposes, is to use Python to make an API request.
I already made some tutorials in this forum how to execute an API call with Python.

And this is the API endpoint I would use.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.