tagbase / tagbase-server

tagbase-server is a data management web service for working with eTUFF and nc-eTAG files.
https://oiip.jpl.nasa.gov/doc/OIIP_Deliverable7.4_TagbasePostgreSQLeTUFF_UserGuide.pdf
Apache License 2.0
7 stars 2 forks source link

Implement DELETE admin tasks for tags and submissions #180

Closed lewismc closed 1 year ago

lewismc commented 1 year ago

The OpenAPI spec should be extended to permit

Eventually once we implement events we can expand to the following...

lewismc commented 1 year ago

This should most likely be implemented after tagbase has been secured e.g. #27

vtsontos commented 1 year ago

I would recommend creating a stored procedure in tagbase that would cycle through and delete records for a specified Tag_ID. This procedure then could either be invoked by the Tagbase DBA in postgres itself or via an API call that would be implemented leveraging that stored procedure. I think this approach generally provides greater flexibility and allows quicker implementation and testing.

lewismc commented 1 year ago

Sample REST API design at https://github.com/tagbase/tagbase-server/pull/228