Skip to content

Ingest UI Additions for File Entities

UI additions for operations involving Files

A basic outline which doesn't going too in depth about the particulars for what is needed for each path

Outline

New

  • GET /bags/<bag_id>/files
    • display all files
  • GET /bags/<bag_id>/files/<file_id>
    • display a single file
  • POST /bags/<bag_id>/files
    • create a file
  • POST /bags/<bag_id>/files/<file_id>/fixity
    • create a fixity for a file
  • POST /bags/<bag_id>/files/<file_id>/fixity/<fixity_id>
    • delete a fixity for a file

Updates

  • GET /bags/<bag_id>
    • Add link to view all files
    • Add create file

Not sure if these are needed, so they are tbd

  • POST /bags/<bag_id>/files/ :- edit a file
  • POST /bags/<bag_id>/files//delete :- delete a file
  • /bags/<bag_id>/storage/
    • Allow changing of file used for validation
Edited by Ghost User