Closed craig-willis closed 2 years ago
Streamline the following (given taleId
and versionId
):
taleId
-> name
taleId
-> new_taleId
new_taleId
-> iterate over list to match name
-> new_versionId
new_taleId
, versionId=new_versionId
?
The tricky part is getting new_versionId
, but I guess we can match by name
. It's unique. Sounds like a lot of calls. Probably easier to do it on the backend.
At first glance it seems a little clearer to just do something like:
POST /tale/{id}/copy?versionId={version_id}
Where the resulting tale contains only the selected version.
At first glance it seems a little clearer to just do something like:
POST /tale/{id}/copy?versionId={version_id}
Where the resulting tale contains only the selected version.
That's what I've decided to do.
Feature request: Add the ability to open a version of a tale as a new tale.
Source:
From https://wholetale.slack.com/archives/C02FQLTR67P/p1648577005526759: