What the application does
The sample application shown in this appendix uses the HSwift API to:
- Create a container named
finance
in the context of the tenant namedeurope
(the service point) - List the container for the
europe
tenant that are owned by the userlgreen
- Add an ACL to the
finance
container - Store an object named quarterly_rpts/Q4_2012.ppt in the
finance
container, associating custom metadata with the object in the process - Store an object named quarterly_rpts/Q3_2012.ppt in the
finance
container - Retrieve the object named quarterly_rpts/Q4_2012.ppt and write its content to a new file on the local file system
- Add an ACL to the container named
finance
for the account namedrsilver
- Retrieve object quarterly_rpts/Q3_2012.ppt and write its content to a new file on the local file system
- Delete the quarterly_rpts/Q4_2012.ppt and quarterly_rpts/Q3_2012.ppt object from the
finance
container - Delete the quarterly_rpts folder from the
finance
container (HCP created this folder automatically when the first object was stored) - Delete the
finance
container