gristlabs / grist-help

Grist documentation and help center articles
https://support.getgrist.com
Other
13 stars 17 forks source link

API: /docs/{docId}/move may move to a WS of a different org #369

Closed fflorent closed 1 month ago

fflorent commented 1 month ago

Context

While looking at the API documentation, I read that the PATCH /docs/{docId}/move endpoint specifies that the doc may move to a workspace at the condition that it remains in the same org.

We would like to use this endpoint to move the document of an old account's personal org to a new account's one.

After having taken a look at the code and experimented, it looks like it is not the case.

Proposed solution

I simply remove the mention indicating that the target workspace should be in the same org as the source.

netlify[bot] commented 1 month ago

Deploy Preview for grist-help-preview ready!

Name Link
Latest commit 4bda65e38c2a54c96730349ea60f14ea7b0528f6
Latest deploy log https://app.netlify.com/sites/grist-help-preview/deploys/66aa6b339fbd920008416fc2
Deploy Preview https://deploy-preview-369--grist-help-preview.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.