--- - Request: method: GET url: "https://api.backblazeb2.com/b2api/v2/b2_authorize_account" headers: authorization: - Basic hidden-account-id user-agent: - rust-b2-client/version; surf body: "" - Response: status: 200 version: ~ headers: date: - "Sun, 07 Nov 2021 14:36:53 GMT" content-type: - application/json;charset=UTF-8 cache-control: - "max-age=0, no-cache, no-store" content-length: - "1014" body: "{\"absoluteMinimumPartSize\":5000000,\"accountId\":\"hidden-account-id\",\"allowed\":{\"bucketId\":null,\"bucketName\":null,\"capabilities\":[\"listKeys\",\"writeKeys\",\"deleteKeys\",\"listAllBucketNames\",\"listBuckets\",\"writeBuckets\",\"deleteBuckets\",\"readBuckets\",\"listFiles\",\"readFiles\",\"shareFiles\",\"writeFiles\",\"deleteFiles\",\"readBucketEncryption\",\"writeBucketEncryption\",\"bypassGovernance\",\"readBucketRetentions\",\"writeBucketRetentions\",\"readFileRetentions\",\"writeFileRetentions\",\"readFileLegalHolds\",\"writeFileLegalHolds\"],\"namePrefix\":null},\"apiUrl\":\"https://api002.backblazeb2.com\",\"authorizationToken\":\"hidden-authorization-token\",\"downloadUrl\":\"https://f002.backblazeb2.com\",\"recommendedPartSize\":100000000,\"s3ApiUrl\":\"https://s3.us-west-002.backblazeb2.com\"}" --- - Request: method: POST url: "https://api002.backblazeb2.com/b2api/v2/b2_create_key" headers: content-type: - application/json authorization: - hidden-authorization-token user-agent: - rust-b2-client/version; surf body: "{\"accountId\":\"hidden-account-id\",\"capabilities\":[\"listFiles\"],\"keyName\":\"my-special-key\"}" - Response: status: 200 version: ~ headers: content-type: - application/json;charset=UTF-8 date: - "Sun, 07 Nov 2021 14:36:54 GMT" content-length: - "314" cache-control: - "max-age=0, no-cache, no-store" body: "{\"accountId\":\"hidden-account-id\",\"applicationKey\":\"K0029r3hpMfUhncpS7uLYuIkg3FCMlo\",\"applicationKeyId\":\"002d2e6b27577ea000000000c\",\"authorizationToken\":\"hidden-authorization-token\",\"bucketId\":null,\"capabilities\":[\"listFiles\"],\"expirationTimestamp\":null,\"keyName\":\"my-special-key\",\"namePrefix\":null,\"options\":[\"s3\"]}" --- - Request: method: POST url: "https://api002.backblazeb2.com/b2api/v2/b2_delete_key" headers: content-type: - application/json authorization: - hidden-authorization-token user-agent: - rust-b2-client/version; surf body: "{\"applicationKeyId\":\"002d2e6b27577ea0000000008\"}" - Response: status: 200 version: ~ headers: content-type: - application/json;charset=UTF-8 content-length: - "259" cache-control: - "max-age=0, no-cache, no-store" date: - "Sun, 07 Nov 2021 16:11:48 GMT" body: "{\"accountId\":\"hidden-account-id\",\"applicationKeyId\":\"002d2e6b27577ea0000000008\",\"bucketId\":null,\"capabilities\":[\"listFiles\"],\"expirationTimestamp\":null,\"keyName\":\"my-special-key\",\"namePrefix\":null,\"options\":[\"s3\"]}" --- - Request: method: POST url: "https://api002.backblazeb2.com/b2api/v2/b2_get_download_authorization" headers: authorization: - hidden-authorization-token content-type: - application/json user-agent: - rust-b2-client/version; surf body: "{\"b2CacheControl\":\"must-revalidate\",\"b2ContentDisposition\":\"Attachment; filename=example.html\",\"b2Expires\":\"Fri, 21 Jan 2022 14:10:49 GMT\",\"bucketId\":\"8d625eb63be2775577c70e1a\",\"fileNamePrefix\":\"files/\",\"validDurationInSeconds\":30000}" - Response: status: 200 version: ~ headers: content-length: - "214" date: - "Sun, 07 Nov 2021 16:47:28 GMT" cache-control: - "max-age=0, no-cache, no-store" content-type: - application/json;charset=UTF-8 body: "{\"authorizationToken\":\"hidden-authorization-token\",\"bucketId\":\"8d625eb63be2775577c70e1a\",\"fileNamePrefix\":\"files/\"}" --- - Request: method: POST url: "https://api002.backblazeb2.com/b2api/v2/b2_get_download_authorization" headers: content-type: - application/json authorization: - hidden-authorization-token user-agent: - rust-b2-client/version; surf body: "{\"bucketId\":\"8d625eb63be2775577c70e1a\",\"fileNamePrefix\":\"files/\",\"validDurationInSeconds\":30000}" - Response: status: 200 version: ~ headers: date: - "Sun, 07 Nov 2021 16:51:21 GMT" content-length: - "214" cache-control: - "max-age=0, no-cache, no-store" content-type: - application/json;charset=UTF-8 body: "{\"authorizationToken\":\"hidden-authorization-token\",\"bucketId\":\"8d625eb63be2775577c70e1a\",\"fileNamePrefix\":\"files/\"}" --- - Request: method: POST url: "https://api002.backblazeb2.com/b2api/v2/b2_list_keys" headers: authorization: - hidden-authorization-token content-type: - application/json user-agent: - rust-b2-client/version; surf body: "{\"accountId\":\"hidden-account-id\",\"maxKeyCount\":100}" - Response: status: 200 version: ~ headers: content-length: - "1049" cache-control: - "max-age=0, no-cache, no-store" date: - "Sun, 07 Nov 2021 17:06:19 GMT" content-type: - application/json;charset=UTF-8 body: "{\"keys\":[{\"accountId\":\"hidden-account-id\",\"applicationKeyId\":\"hidden-app-key-id\",\"bucketId\":\"abcdefghijklmnop\",\"capabilities\":[\"listFiles\",\"readFiles\"],\"expirationTimestamp\":null,\"keyName\":\"dev-b2-client-tester\",\"namePrefix\":null,\"nextApplicationId\":null,\"options\":[\"s3\"]}],\"nextApplicationKeyId\":null}"