{"id":20131,"date":"2023-01-26T05:34:37","date_gmt":"2023-01-26T05:34:37","guid":{"rendered":"https:\/\/www.booksofall.com\/id\/?post_type=product&#038;p=20131"},"modified":"2023-01-26T06:39:36","modified_gmt":"2023-01-26T06:39:36","slug":"swift-documentation","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/id\/swift-documentation\/","title":{"rendered":"Swift Documentation"},"content":{"rendered":"<p>Swift is a highly available, distributed, eventually consistent object\/blob store. Organizations can use Swift to store lots of data efficiently, safely, and cheaply. This documentation is generated by the Sphinx toolkit and lives in the source tree. Additional documentation on Swift and other components of OpenStack can be found on the <a href=\"https:\/\/wiki.openstack.org\/wiki\/Main_Page\">OpenStack wiki<\/a> and at <a href=\"http:\/\/docs.openstack.org\">http:\/\/docs.openstack.org<\/a>.<\/p>\n<p><em><b>Note:\u00a0<\/b>If youre looking for associated projects that enhance or use Swift, please see the\u00a0Associated Projects\u00a0page.<\/em><\/p>\n<h2><b>Chapter One &#8211; Getting Started<\/b><\/h2>\n<h3><b>1.1 System Requirements\u00a0<\/b><\/h3>\n<p>Swift development currently targets <a href=\"https:\/\/ubuntu.com\/\">Ubuntu<\/a> Server 16.04, but should work on most <a href=\"https:\/\/www.linux.org\/\">Linux<\/a> platforms. Swift is written in <a href=\"https:\/\/www.python.org\/\">Python<\/a> and has these dependencies:<\/p>\n<ul>\n<li>Python (2.7 or 3.6-3.9)<\/li>\n<li>rsync 3.x<\/li>\n<li>iberasurecode<\/li>\n<li>The Python packages listed in the requirements file<\/li>\n<li>Testing additionally requires the test dependencies<\/li>\n<li>Testing requires these distribution packages<\/li>\n<\/ul>\n<p><b>1.2 Development\u00a0<\/b><\/p>\n<p>To get started with development with Swift, or to just play around, the following docs will be useful:<\/p>\n<ul>\n<li><i>Swift All in One <\/i>&#8211; Set up a VM with Swift installed<\/li>\n<li><i>Development Guidelines<\/i><\/li>\n<li><i>First Contribution to Swift<\/i><\/li>\n<li><i>Associated Projects<\/i><\/li>\n<\/ul>\n<p><b>1.3 CLI client and SDK library\u00a0<\/b><\/p>\n<p>There are many clients in the\u00a0<i>ecosystem<\/i>. The official <a href=\"https:\/\/www.w3schools.com\/whatis\/whatis_cli.asp\">CLI<\/a> and <a href=\"https:\/\/www.instabug.com\/blog\/what-is-an-sdk-sdk-vs-library-vs-framework\">SDK<\/a> is python-swiftclient.<\/p>\n<ul>\n<li>Source code<\/li>\n<li>Python Package Index<\/li>\n<\/ul>\n<p><b>1.4 Production\u00a0<\/b><\/p>\n<p>If you want to set up and configure Swift for a production cluster, the following doc should be useful:<\/p>\n<p>\u2022\u00a0<i>Multiple Server Swift Installation<\/i><\/p>\n<h2><b>Chapter Two &#8211; Overview And Concepts<\/b><\/h2>\n<h3><b>2.1 Object Storage API overview\u00a0<\/b><\/h3>\n<p>OpenStack Object Storage is a highly available, distributed, eventually consistent object\/blob store. You create, modify, and get objects and metadata by using the Object Storage API, which is implemented as a set of Representational State Transfer (REST) web services.<\/p>\n<p>For an introduction to OpenStack Object Storage, see the\u00a0<i>OpenStack Swift Administrator Guide<\/i>.<\/p>\n<p>You use the HTTPS (SSL) protocol to interact with Object Storage, and you use standard HTTP calls to perform API operations. You can also use language-specific APIs, which use the RESTful API, that make it easier for you to integrate into your applications.<\/p>\n<p>To assert your right to access and change data in an account, you identify yourself to Object Storage by us- ing an authentication token. To get a token, you present your credentials to an authentication service. The authentication service returns a token and the URL for the account. Depending on which authentication service that you use, the URL for the account appears in:<\/p>\n<ul>\n<li><b>OpenStack Identity Service<\/b>. The URL is defined in the service catalog.<\/li>\n<li><b>Tempauth<\/b>. The URL is provided in the X-Storage-Url response header.<\/li>\n<\/ul>\n<p>In both cases, the URL is the full URL and includes the account resource.The Object Storage API supports the standard, non-serialized response format, which is the default, and both JSON and XML serialized response formats.<\/p>\n<p>The Object Storage system organizes data in a hierarchy, as follows:<\/p>\n<ul>\n<li><b>Account<\/b>. Represents the top-level of the hierarchy.<br \/>\nYour service provider creates your account and you own all resources in that account. The ac- count defines a namespace for containers. A container might have the same name in two different accounts.<br \/>\nIn the OpenStack environment, <i>account\u00a0<\/i>is synonymous with a project or tenant.<\/li>\n<li><b>Container<\/b>. Defines a namespace for objects. An object with the same name in two different containers represents two different objects. You can create any number of containers within an account.<br \/>\nIn addition to containing objects, you can also use the container to control access to objects by using an access control list (ACL). You cannot store an ACL with individual objects.<br \/>\nIn addition, you configure and control many other features, such as object versioning, at the container level.<br \/>\nYou can bulk-delete up to 10,000 containers in a single request.<br \/>\nYou can set a storage policy on a container with predefined names and definitions from your cloud provider.<\/li>\n<li><b style=\"font-size: 1rem;\">Object<\/b><span style=\"font-size: 1rem;\">. Stores data content, such as documents, images, and so on. You can also store custom metadata with an object.<br \/>\nWith the Object Storage API, you can:<\/span><\/p>\n<ul>\n<li><b style=\"font-size: 1rem;\">\u00a0<\/b><span style=\"font-size: 1rem;\">Store an unlimited number of objects. Each object can be as large as 5 GB, which is the default. You can configure the maximum object size.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Upload and store objects of any size with large object creation. <\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Use cross-origin resource sharing to manage object security.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Compress files using content-encoding metadata. <\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Override browser behavior for an object using content-disposition metadata.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Schedule objects for deletion. <\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Bulk-delete up to 10,000 objects in a single request.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Auto-extract archive files.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Generate a URL that provides time-limited\u00a0<\/span><b style=\"font-size: 1rem;\">GET\u00a0<\/b><span style=\"font-size: 1rem;\">access to an object.<\/span><\/li>\n<li><span style=\"font-size: 1rem;\">Upload objects directly to the Object Storage system from a browser by using form\u00a0<\/span><b style=\"font-size: 1rem;\">POST <\/b>middleware.<\/li>\n<li><span style=\"font-size: 1rem;\">Create symbolic links to other objects.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 750px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/swift-documentation-189wvdcnle?p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":20136,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!"},"product_brand":[],"product_cat":[286],"product_tag":[],"class_list":{"0":"post-20131","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-openstack","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Swift Documentation - BooksOfAll Indonesian<\/title>\n<meta name=\"description\" content=\"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/id\/swift-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Swift Documentation - BooksOfAll Indonesian\" \/>\n<meta property=\"og:description\" content=\"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/id\/swift-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Indonesian\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-26T06:39:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/\",\"url\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/\",\"name\":\"Swift Documentation - BooksOfAll Indonesian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg\",\"datePublished\":\"2023-01-26T05:34:37+00:00\",\"dateModified\":\"2023-01-26T06:39:36+00:00\",\"description\":\"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/id\/swift-documentation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg\",\"width\":\"827\",\"height\":\"1169\",\"caption\":\"Swift Documentation\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/id\/swift-documentation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/id\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/id\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Swift Documentation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#website\",\"url\":\"https:\/\/www.booksofall.com\/id\/\",\"name\":\"BooksOfAll Indonesian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/id\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#organization\",\"name\":\"BooksOfAll Indonesian\",\"url\":\"https:\/\/www.booksofall.com\/id\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Indonesian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Swift Documentation - BooksOfAll Indonesian","description":"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/id\/swift-documentation\/","og_locale":"id_ID","og_type":"article","og_title":"Swift Documentation - BooksOfAll Indonesian","og_description":"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!","og_url":"https:\/\/www.booksofall.com\/id\/swift-documentation\/","og_site_name":"BooksOfAll Indonesian","article_modified_time":"2023-01-26T06:39:36+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg","twitter_misc":{"Estimasi waktu membaca":"4 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/","url":"https:\/\/www.booksofall.com\/id\/swift-documentation\/","name":"Swift Documentation - BooksOfAll Indonesian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/id\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg","datePublished":"2023-01-26T05:34:37+00:00","dateModified":"2023-01-26T06:39:36+00:00","description":"To store our data efficiently and securely, we can use Swift to do so. Try to learn more about Swift in this guide and improve our work!","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/id\/swift-documentation\/"]}]},{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/#primaryimage","url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg","contentUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2023\/01\/Swift-Documentation.jpg","width":"827","height":"1169","caption":"Swift Documentation"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/id\/swift-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/id\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/id\/categories\/"},{"@type":"ListItem","position":3,"name":"Swift Documentation"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/id\/#website","url":"https:\/\/www.booksofall.com\/id\/","name":"BooksOfAll Indonesian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/id\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/id\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/id\/#organization","name":"BooksOfAll Indonesian","url":"https:\/\/www.booksofall.com\/id\/","logo":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/id\/wp-content\/uploads\/sites\/12\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Indonesian"},"image":{"@id":"https:\/\/www.booksofall.com\/id\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product\/20131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/media\/20136"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/media?parent=20131"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_brand?post=20131"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_cat?post=20131"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/id\/wp-json\/wp\/v2\/product_tag?post=20131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}