Story #2843
Updated by dkliban@redhat.com about 7 years ago
In order to afford an API user to create a file upload session, Pulp 3 needs to have the following: - django model to represent a file upload session (possibly called FileUpload) - id - file_path - viewset that can handle CRD operations for FileUpload model - API endpoint at /api/v3/uploads/ - POST request to the /api/v3/uploads/ endpoint creates a FileUpload instance and returns it's details the user - GET request to the /api/v3/uploads/<upload id> returns JSON representation of the FileUpload File - DELETE requesto the /api/v3/uploads/<upload id>/ deletes FileUpload from the database and the file at file_path database.