swift_browser_ui.ui.api

Project functions for handling API requests from front-end.

Functions

add_project_container_acl(request)

Add access for a project in container acl.

get_access_control_metadata(request)

Fetch a compilation of ACL information for sharing discovery.

get_os_user(request)

Fetch the session owning OS user.

get_shared_container_address(request)

Get the project specific object storage address.

get_upload_session(request)

Return a pre-signed upload runner session for upload target.

os_list_projects(request)

Fetch the projects available for the open session.

remove_container_acl(request)

Remove all allowed projects from container acl.

remove_project_container_acl(request)

Remove access from a project in container acl.

swift_batch_update_object_metadata(request)

Update metadata for an object.

swift_create_container(request)

Create a new container from name.

swift_delete_container(request)

Delete an empty container or batch delete objects.

swift_delete_objects(request)

Delete objects.

swift_download_container(request)

Point a user to the container download runner.

swift_download_object(request)

Point a user to a temporary pre-signed download URL.

swift_download_shared_object(request)

Point a user to the shared download runner.

swift_get_batch_object_metadata(request)

Batch get metadata for objects.

swift_get_metadata_container(request)

Get metadata for a container.

swift_get_project_metadata(request)

Get the bare minimum required project metadata from Openstack.

swift_list_containers(request)

Proxy Swift list buckets available to a project.

swift_list_objects(request)

List objects in a given bucket or container.

swift_replicate_container(request)

Point the user to container replication endpoint.

swift_update_container_metadata(request)

Update metadata for a container.