Advertisement
Guest User

Untitled

a guest
Aug 10th, 2016
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.04 KB | None | 0 0
  1. 1 * Client out-bound request
  2. 1 > POST http://api.storj.io/buckets
  3. 1 > Accept: application/json
  4. 1 > Authorization: basic XXX
  5. 1 > Content-Type: application/json
  6. {"storage":0,"transfer":0,"status":null,"pubkeys":null,"user":null,"name":"testy","created":null,"id":null}
  7. 1 * Client in-bound response
  8. 1 < 201
  9. 1 < Server: nginx/1.10.0
  10. 1 < ETag: W/"aa-8wNyGAmGPQJAlDrF3+EpCA"
  11. 1 < Access-Control-Allow-Credentials: true
  12. 1 < Connection: keep-alive
  13. 1 < Vary: Origin
  14. 1 < Content-Length: 170
  15. 1 < Date: Wed, 10 Aug 2016 18:27:11 GMT
  16. 1 < X-Powered-By: Express
  17. 1 < Content-Type: application/json; charset=utf-8
  18. 1 <
  19. {"user":"nutterzuk@gmail.com","created":"2016-08-10T18:27:11.303Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"57ab71ffdd072de41857801f"}
  20. 2 * Client out-bound request
  21. 2 > GET http://api.storj.io/buckets
  22. 2 > Accept: application/json
  23. 2 > Authorization: basic XXX
  24. 2 * Client in-bound response
  25. 2 < 200
  26. 2 < Server: nginx/1.10.0
  27. 2 < ETag: W/"48d5-gkdPSIcbyP9xBD2QXZ5idg"
  28. 2 < Access-Control-Allow-Credentials: true
  29. 2 < Connection: keep-alive
  30. 2 < Vary: Origin
  31. 2 < Content-Length: 18645
  32. 2 < Date: Wed, 10 Aug 2016 18:27:11 GMT
  33. 2 < X-Powered-By: Express
  34. 2 < Content-Type: application/json; charset=utf-8
  35. 2 <
  36. [{"user":"nutterzuk@gmail.com","created":"2016-07-23T08:43:00.253Z","name":"TestBucket","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"57932e1488fc0f4839e44a49"},{"user":"nutterzuk@gmail.com","created":"2016-07-30T21:40:05.012Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"579d1eb5ee1e331f0358bbdc"},{"user":"nutterzuk@gmail.com","created":"2016-07-31T17:25:37.039Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"579e3491a0494c4b27da6cc9"},{"user":"nutterzuk@gmail.com","created":"2016-07-31T17:26:24.511Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"579e34c0ee1e331f03591dd4"},{"user":"nutterzuk@gmail.com","created":"2016-07-31T17:30:09.601Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"579e35a1a0494c4b27da6d2f"},{"user":"nutterzuk@gmail.com","created":"2016-07-31T17:30:45.661Z","name":"testy","pubkeys":[],"status":"Active","transfer":0,"storage":0,"id":"579e35c59cb11b95248353bd"},{"user":"nutterzuk@gmail.com","created":"2016-07-31T17:31:15.863Z","name":"testy","pubkeys":[],"stat
  37. 3 * Client out-bound request
  38. 3 > POST http://api.storj.io/frames
  39. 3 > Accept: application/json
  40. 3 > Authorization: basic XXX
  41. 3 * Client in-bound response
  42. 3 < 200
  43. 3 < Server: nginx/1.10.0
  44. 3 < ETag: W/"87-4ZIkueAGpwG5qgvyIFai1A"
  45. 3 < Access-Control-Allow-Credentials: true
  46. 3 < Connection: keep-alive
  47. 3 < Vary: Origin
  48. 3 < Content-Length: 135
  49. 3 < Date: Wed, 10 Aug 2016 18:27:12 GMT
  50. 3 < X-Powered-By: Express
  51. 3 < Content-Type: application/json; charset=utf-8
  52. 3 <
  53. {"user":"nutterzuk@gmail.com","shards":[],"size":0,"locked":false,"created":"2016-08-10T18:27:12.327Z","id":"57ab72003a91dae863d16b95"}
  54. Aug 10, 2016 7:27:12 PM storj.io.restclient.rest.StorjRestClient addShardToFrame
  55. INFO: Attempting to negotiate shard contract, attempt 1 of 8
  56. 4 * Client out-bound request
  57. 4 > PUT http://api.storj.io/frames/57ab72003a91dae863d16b95
  58. 4 > Accept: application/json
  59. 4 > Authorization: basic XXX
  60. 4 > Content-Type: application/json
  61. {"index":0,"hash":"6ca40e848508518d811f29b0d69d766953733d7f","size":136356,"tree":["2e8226eb82f207c04d8104dea070e9af5755fe96","e5b027561d7419140cc8e52c02bec2301a97937b","e51126481d662938f1e9b7b15c6f6373343038c8","3be532f38d0c12f2db5bad17c1cf055c21947461","2aec86c6cfcdd270c5ba6741c3e09e4b8c9f0162","525df7877cd72a97ae20046f027cf650b2a94608","0bfba6cb27e5f43fdfe69b8a58ace51842651cde","6d5151df07bbedbb72467ebcca155d7635989076"],"challenges":["5b5fb92d2b2ffd5a5e17835fcba2eeed","e7f32021e3ee5d05afda13f43a2b946e","caa378639a459658ae702fafb2c48b84","f11fc2e3ad0a6a386b9b7bef482931ff","6f58bc8aea029c7d895562f817e6f699","a456330b9c6aab237f722ff96447b647","8d48fd65b7e82d8c1ed19ec4187a55a7","224258df75ca2e284cc822e77f30746d"]}
  62. 4 * Client in-bound response
  63. 4 < 200
  64. 4 < Server: nginx/1.10.0
  65. 4 < ETag: W/"112-NwaWhm2GwBFbWsAbLKuiag"
  66. 4 < Access-Control-Allow-Credentials: true
  67. 4 < Connection: keep-alive
  68. 4 < Vary: Origin
  69. 4 < Content-Length: 274
  70. 4 < Date: Wed, 10 Aug 2016 18:27:14 GMT
  71. 4 < X-Powered-By: Express
  72. 4 < Content-Type: application/json; charset=utf-8
  73. 4 <
  74. {"hash":"6ca40e848508518d811f29b0d69d766953733d7f","token":"30dd3665e76295a2fcb13f8e2cb9f136c91423a6","operation":"PUSH","farmer":{"protocol":"0.7.1","address":"veeit30163.dyndns.org","port":6000,"nodeID":"6ad8a5a30528b3572f3e80cbd5a3eb4c52b8b8ac","lastSeen":1470853633367}}
  75. 5 * Client out-bound request
  76. 5 > GET http://api.storj.io/frames/57ab72003a91dae863d16b95
  77. 5 > Accept: application/json
  78. 5 > Authorization: basic XXX
  79. 5 * Client in-bound response
  80. 5 < 200
  81. 5 < Server: nginx/1.10.0
  82. 5 < ETag: W/"a6-Cng560lfvsj5HsOfgTXQJw"
  83. 5 < Access-Control-Allow-Credentials: true
  84. 5 < Connection: keep-alive
  85. 5 < Vary: Origin
  86. 5 < Content-Length: 166
  87. 5 < Date: Wed, 10 Aug 2016 18:27:14 GMT
  88. 5 < X-Powered-By: Express
  89. 5 < Content-Type: application/json; charset=utf-8
  90. 5 <
  91. {"user":"nutterzuk@gmail.com","shards":["57ab7200905cfece30b30283"],"size":136356,"locked":false,"created":"2016-08-10T18:27:12.327Z","id":"57ab72003a91dae863d16b95"}
  92. Aug 10, 2016 7:27:15 PM storj.io.client.websockets.WebsocketShardSender onMessage
  93. INFO: Received ....{"code":200,"message":"Consignment completed"}
  94. 6 * Client out-bound request
  95. 6 > POST http://api.storj.io/buckets/57932e1488fc0f4839e44a49/files
  96. 6 > Accept: application/json
  97. 6 > Authorization: basic XXX
  98. 6 > Content-Type: application/json
  99. {"mimetype":"image/jpeg","filename":"cat.jpg","size":136368,"frame":"57ab72003a91dae863d16b95"}
  100. 6 * Client in-bound response
  101. 6 < 200
  102. 6 < Server: nginx/1.10.0
  103. 6 < ETag: W/"d9-gBq5YFsv4JVxi6cZzNLjCQ"
  104. 6 < Access-Control-Allow-Credentials: true
  105. 6 < Connection: keep-alive
  106. 6 < Vary: Origin
  107. 6 < Content-Length: 217
  108. 6 < Date: Wed, 10 Aug 2016 18:27:15 GMT
  109. 6 < X-Powered-By: Express
  110. 6 < Content-Type: application/json; charset=utf-8
  111. 6 <
  112. {"bucket":"57932e1488fc0f4839e44a49","frame":"57ab72003a91dae863d16b95","name":"cat.jpg","renewal":"2016-11-08T18:27:15.663Z","mimetype":"image/jpeg","filename":"cat.jpg","id":"57ab720333c81c7467468ee9","size":136356}
  113. Aug 10, 2016 7:27:16 PM storj.io.client.DefaultStorjClient downloadFile
  114. INFO: C:\Users\steve\AppData\Local\Temp\temp1607561939082185252encrypted
  115. 7 * Client out-bound request
  116. 7 > POST http://api.storj.io/buckets/57932e1488fc0f4839e44a49/tokens
  117. 7 > Accept: application/json
  118. 7 > Authorization: basic XXX
  119. 7 > Content-Type: application/json
  120. {"operation":"PULL"}
  121. 7 * Client in-bound response
  122. 7 < 201
  123. 7 < Server: nginx/1.10.0
  124. 7 < ETag: W/"f0-BaPrzSJ9UoLuuzx7cvZF/A"
  125. 7 < Access-Control-Allow-Credentials: true
  126. 7 < Connection: keep-alive
  127. 7 < Vary: Origin
  128. 7 < Content-Length: 240
  129. 7 < Date: Wed, 10 Aug 2016 18:27:15 GMT
  130. 7 < X-Powered-By: Express
  131. 7 < Content-Type: application/json; charset=utf-8
  132. 7 <
  133. {"bucket":"57932e1488fc0f4839e44a49","operation":"PULL","expires":"2016-08-10T18:32:15.877Z","token":"5cc4d61fd8102f2342c65b920fb9a00f2923d0966c0d7552fc60bee6fde8e1a4","id":"5cc4d61fd8102f2342c65b920fb9a00f2923d0966c0d7552fc60bee6fde8e1a4"}
  134. 8 * Client out-bound request
  135. 8 > GET http://api.storj.io/buckets/57932e1488fc0f4839e44a49/files/57ab720333c81c7467468ee9?limit=10&skip=0
  136. 8 > Accept: application/json
  137. 8 > Authorization: basic XXX
  138. 8 > x-token: 5cc4d61fd8102f2342c65b920fb9a00f2923d0966c0d7552fc60bee6fde8e1a4
  139. 8 * Client in-bound response
  140. 8 < 200
  141. 8 < Server: nginx/1.10.0
  142. 8 < ETag: W/"122-CWreIsL05+ISc7FY9eLPOQ"
  143. 8 < Access-Control-Allow-Credentials: true
  144. 8 < Connection: keep-alive
  145. 8 < Vary: Origin
  146. 8 < Content-Length: 290
  147. 8 < Date: Wed, 10 Aug 2016 18:27:17 GMT
  148. 8 < X-Powered-By: Express
  149. 8 < Content-Type: application/json; charset=utf-8
  150. 8 <
  151. [{"token":"a416992db443f261aef778089d53c50d8c9f47d4","hash":"6ca40e848508518d811f29b0d69d766953733d7f","farmer":{"protocol":"0.7.1","address":"sj1.cybaer.dyndns.org","port":4005,"nodeID":"6a05111d5ec131d12805f72969d15021e2f0ea10","lastSeen":1470853636428},"operation":"PULL","size":136356}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement