Created
November 24, 2015 22:45
-
-
Save notmyname/a1eb47a8d56c7d4cee43 to your computer and use it in GitHub Desktop.
example of new reverse listings in swift
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
Last login: Tue Nov 24 14:41:49 on ttys001 | |
john>europa>~>$ testtoken | pbcopy | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/ | |
HTTP/1.1 204 No Content | |
Content-Type: text/plain; charset=utf-8 | |
X-Account-Object-Count: 0 | |
X-Timestamp: 1448404927.22093 | |
X-Account-Bytes-Used: 0 | |
X-Account-Container-Count: 0 | |
X-Put-Timestamp: 1448404927.22093 | |
Content-Length: 0 | |
X-Trans-Id: txe08f0b570a764b7490a0b-005654e7bf | |
Date: Tue, 24 Nov 2015 22:42:07 GMT | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c -H "x-storage-policy: legacy" -XPUT | |
HTTP/1.1 201 Created | |
Content-Length: 0 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txa240697f8d174f78bb8f3-005654e7ca | |
Date: Tue, 24 Nov 2015 22:42:18 GMT | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c/o1 --data-binary 1234 -XPUT | |
HTTP/1.1 201 Created | |
Last-Modified: Tue, 24 Nov 2015 22:42:31 GMT | |
Content-Length: 0 | |
Etag: 81dc9bdb52d04dc20036dbd8313ed055 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: tx7180c5541c5644788005a-005654e7d6 | |
Date: Tue, 24 Nov 2015 22:42:30 GMT | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c/o2 --data-binary 5678 -XPUT | |
HTTP/1.1 201 Created | |
Last-Modified: Tue, 24 Nov 2015 22:42:40 GMT | |
Content-Length: 0 | |
Etag: 674f3c2c1a8a6f90461e8a66fb5550ba | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: tx48a3a94254a84650a550c-005654e7df | |
Date: Tue, 24 Nov 2015 22:42:39 GMT | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c/o3 --data-binary 9012 -XPUT | |
HTTP/1.1 201 Created | |
Last-Modified: Tue, 24 Nov 2015 22:42:54 GMT | |
Content-Length: 0 | |
Etag: c5c53759e4dd1bfe8b3dcfec37d0ea72 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txbebb094d73a243ea8060d-005654e7ed | |
Date: Tue, 24 Nov 2015 22:42:53 GMT | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c/o4 --data-binary 3456 -XPUT | |
HTTP/1.1 201 Created | |
Last-Modified: Tue, 24 Nov 2015 22:43:02 GMT | |
Content-Length: 0 | |
Etag: def7924e3199be5e18060bb3e1d547a7 | |
Content-Type: text/html; charset=UTF-8 | |
X-Trans-Id: txfe5671b7506041ce83768-005654e7f5 | |
Date: Tue, 24 Nov 2015 22:43:01 GMT | |
john>europa>~>$ | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c | |
HTTP/1.1 200 OK | |
Content-Length: 12 | |
X-Container-Object-Count: 4 | |
Accept-Ranges: bytes | |
X-Storage-Policy: legacy | |
X-Container-Bytes-Used: 16 | |
X-Timestamp: 1448404938.49331 | |
Content-Type: text/plain; charset=utf-8 | |
X-Trans-Id: tx720b40e21fb043fe8295e-005654e7fa | |
Date: Tue, 24 Nov 2015 22:43:06 GMT | |
o1 | |
o2 | |
o3 | |
o4 | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c?reverse=1 | |
HTTP/1.1 200 OK | |
Content-Length: 12 | |
X-Container-Object-Count: 4 | |
Accept-Ranges: bytes | |
X-Storage-Policy: legacy | |
X-Container-Bytes-Used: 16 | |
X-Timestamp: 1448404938.49644 | |
Content-Type: text/plain; charset=utf-8 | |
X-Trans-Id: tx0a44940b1253450781a7c-005654e801 | |
Date: Tue, 24 Nov 2015 22:43:13 GMT | |
o4 | |
o3 | |
o2 | |
o1 | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c?reverse=1\&marker=o3 | |
HTTP/1.1 200 OK | |
Content-Length: 6 | |
X-Container-Object-Count: 4 | |
Accept-Ranges: bytes | |
X-Storage-Policy: legacy | |
X-Container-Bytes-Used: 16 | |
X-Timestamp: 1448404938.49500 | |
Content-Type: text/plain; charset=utf-8 | |
X-Trans-Id: txf430be53b44d4f689c9ae-005654e812 | |
Date: Tue, 24 Nov 2015 22:43:30 GMT | |
o2 | |
o1 | |
john>europa>~>$ curl -i -H "X-Auth-Token: xxx" http://saio:8080/v1/AUTH_test/c?marker=o3 | |
HTTP/1.1 200 OK | |
Content-Length: 3 | |
X-Container-Object-Count: 4 | |
Accept-Ranges: bytes | |
X-Storage-Policy: legacy | |
X-Container-Bytes-Used: 16 | |
X-Timestamp: 1448404938.49500 | |
Content-Type: text/plain; charset=utf-8 | |
X-Trans-Id: tx2f388082822d4dd698f95-005654e818 | |
Date: Tue, 24 Nov 2015 22:43:36 GMT | |
o4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment