Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy & upload document via API #1419

Open
iexos opened this issue Feb 4, 2025 · 0 comments
Open

Copy & upload document via API #1419

iexos opened this issue Feb 4, 2025 · 0 comments

Comments

@iexos
Copy link

iexos commented Feb 4, 2025

Describe the problem to be solved

I am developing some automation scripts for our documents. We are using them in production, so to make further changes without breaking them I need to test the changes on a copy.

To do this manually is quite cumbersome and error prone. I would like to automate testing on a production copy, as well as creating test cases with prepared documents.

Describe the solution you would like

To test on the production document, I would like

  • an API endpoint to copy a document (prio for me)
    • submit source doc id, name + workspace (+ org) of the copy
    • return the document id

To create test documents to check into the dev repo (lower priority for me)

  • an API endpoint to upload a document
    • grist file as POST data
    • submit name + workspace + org
    • return the document id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant