CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-services

There is no DELETE page

Open
#504 0 comments 0 reactions 1 assignee Claimed by @cubap View on GitHub
core-functionality question
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Given a call like `DELETE https://api.t-pen.org/project/69f251c5f7fe4ebd0cfeef15/page/69f251c5f7fe4ebd0cfeef18` there is no functionality or agreement about what to do.

Right now, if you have a Project with Layer A with Pages 1, 2, 3 inside them. Instead of `DELETE Page 1` you must `PUT Layer A with .pages[ 2, 3]`. This is clumsy and leaves some questions.

* Should the annotation, if any, on a deleted Page be purged by default?
* Should the Page be removed from the Layer, but remain in RERUM?
* If the Canvas the Page is on is in several Layers, should all related Pages be removed (removing the folio/Canvas from the Project)?
* Is there a separate interface where a Project is manipulated and whole folios can be discarded?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.