Created
June 13, 2019 14:28
-
-
Save HugoKuo/5d89b580d9ccb250ed4f7881c888df79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -i https://cloud.swiftstack.com/v1/AUTH_hugo/c1/test.txt?multipart-manifest=get -X GET -H "X-Auth-Token: AUTH_tk123" | |
[{"hash": "e580d86519c941eaf0736e279859fa78", "last_modified": "2019-06-13T14:21:55.000000", "bytes": 1400, "name": "/c1_segments/test.txt/slo/1560435534.950524/1453/1400/00000000", "content_type": "application/swiftclient-segment"}, {"hash": "61b976105aadf19ba6117c3b5b13850b", "last_modified": "2019-06-13T14:21:55.000000", "bytes": 53, "name": "/c1_segments/test.txt/slo/1560435534.950524/1453/1400/00000001", "content_type": "application/swiftclient-segment"}] | |
$ curl -i https://cloud.swiftstack.com/v1/AUTH_hugo/c1/test.txt?multipart-manifest=get -I -H "X-Auth-Token: AUTH_tk123" | |
HTTP/1.1 200 OK | |
Content-Length: 464 | |
Content-Type: application/json; charset=utf-8 | |
Accept-Ranges: bytes | |
Last-Modified: Thu, 13 Jun 2019 14:21:56 GMT | |
Etag: ce0c3e1425c395588f21a70900014da6 | |
X-Timestamp: 1560435715.33848 | |
X-Static-Large-Object: True | |
X-Object-Meta-Mtime: 1560435534.950524 | |
X-Trans-Id: tx6a3840f8158f4255bad3d-005d025c85 | |
X-Openstack-Request-Id: tx6a3840f8158f4255bad3d-005d025c85 | |
Date: Thu, 13 Jun 2019 14:24:05 GMT | |
$ swift stat c1_segments test.txt/slo/1560435534.950524/1453/1400/00000000 | |
Account: AUTH_hugo | |
Container: c1_segments | |
Object: test.txt/slo/1560435534.950524/1453/1400/00000000 | |
Content Type: application/swiftclient-segment | |
Content Length: 1400 | |
Last Modified: Thu, 13 Jun 2019 14:21:55 GMT | |
ETag: e580d86519c941eaf0736e279859fa78 | |
Accept-Ranges: bytes | |
X-Timestamp: 1560435714.94946 | |
X-Trans-Id: tx0e81a03e894a425ca9c32-005d025cc8 | |
X-Openstack-Request-Id: tx0e81a03e894a425ca9c32-005d025cc8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment