Skip to content

[Delete] serve delete API  #40

@zelima

Description

@zelima

We are implementing purge commend so we need an API for it. As specstore has access for all involved instances this makes it the best place to serve.

Acceptance Criteria

  • User is authorized and Authenticated before deleting anything
  • After request there is no data either in pkgstrore, metastore, or specstore

Tasks

  • Authorization
    • Prepare tests
    • Add function that returns True if authorised
  • Delete from metastore (Elasticsearch)
  • Delete from pkgstore (S3)
    • Prepare tests
    • appropriate function in models
  • Delete from specstre (database)
    • Prepare tests
    • delete fromdatasets
    • delete from revisions
  • serve endpoint

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions