5 The Swift-compatible API tutorials follow a simple container-based object
6 lifecycle. The first step requires you to setup a connection between your
7 client and the RADOS Gateway server. Then, you may follow a natural
8 container and object lifecycle, including adding and retrieving object
9 metadata. See example code for the following languages:
16 .. ditaa:: +----------------------------+ +-----------------------------+
18 | Create a Connection |------->| Create a Container |
20 +----------------------------+ +-----------------------------+
22 +--------------------------------------+
25 +----------------------------+ +-----------------------------+
27 | Create an Object |------->| Add/Update Object Metadata |
29 +----------------------------+ +-----------------------------+
31 +--------------------------------------+
34 +----------------------------+ +-----------------------------+
36 | List Owned Containers |------->| List a Container's Contents |
38 +----------------------------+ +-----------------------------+
40 +--------------------------------------+
43 +----------------------------+ +-----------------------------+
45 | Get an Object's Metadata |------->| Retrieve an Object |
47 +----------------------------+ +-----------------------------+
49 +--------------------------------------+
52 +----------------------------+ +-----------------------------+
54 | Delete an Object |------->| Delete a Container |
56 +----------------------------+ +-----------------------------+