github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestUploader/uploader/copy_baz.txt_to_Dest_without_Name.yaml (about) 1 --- 2 version: 1 3 interactions: 4 - request: 5 body: '{}' 6 form: {} 7 headers: 8 Connection: 9 - close 10 Content-Type: 11 - application/json 12 User-Agent: 13 - Files.com Go SDK 2.0.0-beta 14 url: https://app.files.com/api/rest/v1/folders/tmp 15 method: POST 16 response: 17 body: '{"error":"The destination exists.","http-code":422,"instance":"00d99113-01c6-44ea-9c7c-b9eb031cdcec","title":"Destination 18 Exists","type":"processing-failure/destination-exists"}' 19 headers: 20 Cache-Control: 21 - no-cache, no-store, max-age=0, must-revalidate 22 Content-Length: 23 - "177" 24 Content-Type: 25 - application/json 26 Date: 27 - Mon, 06 Feb 2023 17:27:53 GMT 28 Expires: 29 - Fri, 01 Jan 1990 00:00:00 GMT 30 Pragma: 31 - no-cache 32 Server: 33 - nginx 34 X-Files-Error-Class: 35 - processing-failure/destination-exists 36 X-Request-Id: 37 - 00d99113-01c6-44ea-9c7c-b9eb031cdcec 38 - 5afd9f2a01b418ac724b8328daa4e001 39 status: 422 Unprocessable Entity 40 code: 422 41 duration: "" 42 - request: 43 body: '{}' 44 form: {} 45 headers: 46 Connection: 47 - close 48 Content-Type: 49 - application/json 50 User-Agent: 51 - Files.com Go SDK 2.0.0-beta 52 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name 53 method: POST 54 response: 55 body: '{"error":"The destination exists.","http-code":422,"instance":"ccf4330f-e3eb-4e33-b9a9-8697983bcabc","title":"Destination 56 Exists","type":"processing-failure/destination-exists"}' 57 headers: 58 Cache-Control: 59 - no-cache, no-store, max-age=0, must-revalidate 60 Content-Length: 61 - "177" 62 Content-Type: 63 - application/json 64 Date: 65 - Mon, 06 Feb 2023 17:27:54 GMT 66 Expires: 67 - Fri, 01 Jan 1990 00:00:00 GMT 68 Pragma: 69 - no-cache 70 Server: 71 - nginx 72 X-Files-Error-Class: 73 - processing-failure/destination-exists 74 X-Request-Id: 75 - ccf4330f-e3eb-4e33-b9a9-8697983bcabc 76 - fd48d1eabde9a2889392e14377c88a27 77 status: 422 Unprocessable Entity 78 code: 422 79 duration: "" 80 - request: 81 body: '{}' 82 form: {} 83 headers: 84 Connection: 85 - close 86 Content-Type: 87 - application/json 88 User-Agent: 89 - Files.com Go SDK 2.0.0-beta 90 url: https://app.files.com/api/rest/v1/folders/tmp 91 method: POST 92 response: 93 body: '{"error":"The destination exists.","http-code":422,"instance":"2050c2e3-2e5f-45ae-99c9-925675437e25","title":"Destination 94 Exists","type":"processing-failure/destination-exists"}' 95 headers: 96 Cache-Control: 97 - no-cache, no-store, max-age=0, must-revalidate 98 Content-Length: 99 - "177" 100 Content-Type: 101 - application/json 102 Date: 103 - Mon, 06 Feb 2023 17:27:54 GMT 104 Expires: 105 - Fri, 01 Jan 1990 00:00:00 GMT 106 Pragma: 107 - no-cache 108 Server: 109 - nginx 110 X-Files-Error-Class: 111 - processing-failure/destination-exists 112 X-Request-Id: 113 - 2050c2e3-2e5f-45ae-99c9-925675437e25 114 - 58dfc0d58ff5192c9e1b2f31fc4c5c67 115 status: 422 Unprocessable Entity 116 code: 422 117 duration: "" 118 - request: 119 body: '{}' 120 form: {} 121 headers: 122 Connection: 123 - close 124 Content-Type: 125 - application/json 126 User-Agent: 127 - Files.com Go SDK 2.0.0-beta 128 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name 129 method: POST 130 response: 131 body: '{"error":"The destination exists.","http-code":422,"instance":"059b01ce-df9a-4b96-bec5-57a4a1ae044b","title":"Destination 132 Exists","type":"processing-failure/destination-exists"}' 133 headers: 134 Cache-Control: 135 - no-cache, no-store, max-age=0, must-revalidate 136 Content-Length: 137 - "177" 138 Content-Type: 139 - application/json 140 Date: 141 - Mon, 06 Feb 2023 17:27:55 GMT 142 Expires: 143 - Fri, 01 Jan 1990 00:00:00 GMT 144 Pragma: 145 - no-cache 146 Server: 147 - nginx 148 X-Files-Error-Class: 149 - processing-failure/destination-exists 150 X-Request-Id: 151 - 059b01ce-df9a-4b96-bec5-57a4a1ae044b 152 - 3beaf55e8d0eec40805fe50bdadbb8e8 153 status: 422 Unprocessable Entity 154 code: 422 155 duration: "" 156 - request: 157 body: '{}' 158 form: {} 159 headers: 160 Connection: 161 - close 162 Content-Type: 163 - application/json 164 User-Agent: 165 - Files.com Go SDK 2.0.0-beta 166 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root 167 method: POST 168 response: 169 body: '{"error":"The destination exists.","http-code":422,"instance":"273c4475-9385-4da6-b06c-1d5f3eb551a2","title":"Destination 170 Exists","type":"processing-failure/destination-exists"}' 171 headers: 172 Cache-Control: 173 - no-cache, no-store, max-age=0, must-revalidate 174 Content-Length: 175 - "177" 176 Content-Type: 177 - application/json 178 Date: 179 - Mon, 06 Feb 2023 17:27:55 GMT 180 Expires: 181 - Fri, 01 Jan 1990 00:00:00 GMT 182 Pragma: 183 - no-cache 184 Server: 185 - nginx 186 X-Files-Error-Class: 187 - processing-failure/destination-exists 188 X-Request-Id: 189 - 273c4475-9385-4da6-b06c-1d5f3eb551a2 190 - f95b1b97c6c8e0f7a4a15a9bdd1ebea7 191 status: 422 Unprocessable Entity 192 code: 422 193 duration: "" 194 - request: 195 body: '{}' 196 form: {} 197 headers: 198 Connection: 199 - close 200 Content-Type: 201 - application/json 202 User-Agent: 203 - Files.com Go SDK 2.0.0-beta 204 url: https://app.files.com/api/rest/v1/folders/tmp 205 method: POST 206 response: 207 body: '{"error":"The destination exists.","http-code":422,"instance":"d7e59805-2881-4891-9421-8bea976df52b","title":"Destination 208 Exists","type":"processing-failure/destination-exists"}' 209 headers: 210 Cache-Control: 211 - no-cache, no-store, max-age=0, must-revalidate 212 Content-Length: 213 - "177" 214 Content-Type: 215 - application/json 216 Date: 217 - Mon, 06 Feb 2023 17:27:55 GMT 218 Expires: 219 - Fri, 01 Jan 1990 00:00:00 GMT 220 Pragma: 221 - no-cache 222 Server: 223 - nginx 224 X-Files-Error-Class: 225 - processing-failure/destination-exists 226 X-Request-Id: 227 - d7e59805-2881-4891-9421-8bea976df52b 228 - 0b27e79f403f2cda9c92b2adeb2fe8dc 229 status: 422 Unprocessable Entity 230 code: 422 231 duration: "" 232 - request: 233 body: '{}' 234 form: {} 235 headers: 236 Connection: 237 - close 238 Content-Type: 239 - application/json 240 User-Agent: 241 - Files.com Go SDK 2.0.0-beta 242 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name 243 method: POST 244 response: 245 body: '{"error":"The destination exists.","http-code":422,"instance":"8b0cbe63-7599-4d2d-b6ab-c8134a49d1c8","title":"Destination 246 Exists","type":"processing-failure/destination-exists"}' 247 headers: 248 Cache-Control: 249 - no-cache, no-store, max-age=0, must-revalidate 250 Content-Length: 251 - "177" 252 Content-Type: 253 - application/json 254 Date: 255 - Mon, 06 Feb 2023 17:27:56 GMT 256 Expires: 257 - Fri, 01 Jan 1990 00:00:00 GMT 258 Pragma: 259 - no-cache 260 Server: 261 - nginx 262 X-Files-Error-Class: 263 - processing-failure/destination-exists 264 X-Request-Id: 265 - 8b0cbe63-7599-4d2d-b6ab-c8134a49d1c8 266 - 2df36c25974c9de186fa21dd78ff8442 267 status: 422 Unprocessable Entity 268 code: 422 269 duration: "" 270 - request: 271 body: '{}' 272 form: {} 273 headers: 274 Connection: 275 - close 276 Content-Type: 277 - application/json 278 User-Agent: 279 - Files.com Go SDK 2.0.0-beta 280 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root 281 method: POST 282 response: 283 body: '{"error":"The destination exists.","http-code":422,"instance":"7b0e63bf-4cc1-43aa-a321-415808425c53","title":"Destination 284 Exists","type":"processing-failure/destination-exists"}' 285 headers: 286 Cache-Control: 287 - no-cache, no-store, max-age=0, must-revalidate 288 Content-Length: 289 - "177" 290 Content-Type: 291 - application/json 292 Date: 293 - Mon, 06 Feb 2023 17:27:56 GMT 294 Expires: 295 - Fri, 01 Jan 1990 00:00:00 GMT 296 Pragma: 297 - no-cache 298 Server: 299 - nginx 300 X-Files-Error-Class: 301 - processing-failure/destination-exists 302 X-Request-Id: 303 - 7b0e63bf-4cc1-43aa-a321-415808425c53 304 - fe6e0aae927258acf496486b2b89f984 305 status: 422 Unprocessable Entity 306 code: 422 307 duration: "" 308 - request: 309 body: '{}' 310 form: {} 311 headers: 312 Connection: 313 - close 314 Content-Type: 315 - application/json 316 User-Agent: 317 - Files.com Go SDK 2.0.0-beta 318 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest 319 method: POST 320 response: 321 body: '{"error":"The destination exists.","http-code":422,"instance":"78d41373-44e2-44c9-8ff6-2178c9395b2e","title":"Destination 322 Exists","type":"processing-failure/destination-exists"}' 323 headers: 324 Cache-Control: 325 - no-cache, no-store, max-age=0, must-revalidate 326 Content-Length: 327 - "177" 328 Content-Type: 329 - application/json 330 Date: 331 - Mon, 06 Feb 2023 17:27:57 GMT 332 Expires: 333 - Fri, 01 Jan 1990 00:00:00 GMT 334 Pragma: 335 - no-cache 336 Server: 337 - nginx 338 X-Files-Error-Class: 339 - processing-failure/destination-exists 340 X-Request-Id: 341 - 78d41373-44e2-44c9-8ff6-2178c9395b2e 342 - d25cff22ba6f2436a4e2cef06bb8eafc 343 status: 422 Unprocessable Entity 344 code: 422 345 duration: "" 346 - request: 347 body: "" 348 form: {} 349 headers: 350 Connection: 351 - close 352 User-Agent: 353 - Files.com Go SDK 2.0.0-beta 354 url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest 355 method: GET 356 response: 357 body: '{"path":"tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest","display_name":"Dest","type":"directory","size":null,"created_at":"2023-02-06T17:20:55Z","mtime":"2023-02-06T17:20:55Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}' 358 headers: 359 Cache-Control: 360 - no-cache, no-store, max-age=0, must-revalidate 361 Content-Type: 362 - application/json 363 Date: 364 - Mon, 06 Feb 2023 17:27:57 GMT 365 Expires: 366 - Fri, 01 Jan 1990 00:00:00 GMT 367 Pragma: 368 - no-cache 369 Server: 370 - nginx 371 X-Request-Id: 372 - fb8cc55c-4989-4ee2-b5e5-b994f2118ffa 373 - a452ac2e118e3a2f83ed9dfe06b79afb 374 status: 200 OK 375 code: 200 376 duration: "" 377 - request: 378 body: '{"mkdir_parents":true}' 379 form: {} 380 headers: 381 Connection: 382 - close 383 Content-Type: 384 - application/json 385 User-Agent: 386 - Files.com Go SDK 2.0.0-beta 387 url: https://app.files.com/api/rest/v1/file_actions/begin_upload/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest/baz.txt 388 method: POST 389 response: 390 body: '[{"send":{"partsize":"required-header Content-Length","partdata":"body"},"action":"put/write","ask_about_overwrites":false,"available_parts":10000,"expires":"2023-02-06T17:42:57Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118597347","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/91ceb293-b93d-4611-9521-9e62067d75ab?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T172757Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=QvFpsDBWRXNPk40MBQoOtydSx0CScODjdv5DPCVSNx39PnshBOlnHghGFMavLsVytFwJQNlhwZ00uLEBFI2Um12GdIUTUOTRej.HJUV3gMqSZM59Zyv_EZZu0Q3ecgjh\u0026X-Amz-Signature=ae179411aaf15d972838ddf90861252c07c7f6f8c8a5c5d092b59a1541258e72"}]' 391 headers: 392 Cache-Control: 393 - no-cache, no-store, max-age=0, must-revalidate 394 Content-Type: 395 - application/json 396 Date: 397 - Mon, 06 Feb 2023 17:27:57 GMT 398 Expires: 399 - Fri, 01 Jan 1990 00:00:00 GMT 400 Pragma: 401 - no-cache 402 Server: 403 - nginx 404 X-Request-Id: 405 - 0b8f4f73-2e46-4bad-970a-38fb0fe2879b 406 - c4a2bc7b1d8eb38d908d067c7992ec63 407 status: 200 OK 408 code: 200 409 duration: "" 410 - request: 411 body: "" 412 form: {} 413 headers: 414 Connection: 415 - close 416 Content-Length: 417 - "0" 418 url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/91ceb293-b93d-4611-9521-9e62067d75ab?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T172757Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=QvFpsDBWRXNPk40MBQoOtydSx0CScODjdv5DPCVSNx39PnshBOlnHghGFMavLsVytFwJQNlhwZ00uLEBFI2Um12GdIUTUOTRej.HJUV3gMqSZM59Zyv_EZZu0Q3ecgjh&X-Amz-Signature=ae179411aaf15d972838ddf90861252c07c7f6f8c8a5c5d092b59a1541258e72 419 method: PUT 420 response: 421 body: "" 422 headers: 423 Content-Length: 424 - "0" 425 Date: 426 - Mon, 06 Feb 2023 17:27:59 GMT 427 Etag: 428 - '"d41d8cd98f00b204e9800998ecf8427e"' 429 Server: 430 - AmazonS3 431 X-Amz-Id-2: 432 - PgXUSbOSJs0IFSgn9qdDjJPFTRxNgpSSakRJX+RaFifY5X9A5zsDAf9VcLd9Xb4oEEZJGo60/yo= 433 X-Amz-Request-Id: 434 - WCXS64AD1A3JK6VB 435 X-Amz-Server-Side-Encryption: 436 - AES256 437 status: 200 OK 438 code: 200 439 duration: "" 440 - request: 441 body: '{"action":"end","etags":[{"etag":"d41d8cd98f00b204e9800998ecf8427e","part":"1"}],"mkdir_parents":true,"provided_mtime":"2023-02-06T09:27:55.419971797-08:00","ref":"put-4118597347"}' 442 form: {} 443 headers: 444 Connection: 445 - close 446 Content-Type: 447 - application/json 448 User-Agent: 449 - Files.com Go SDK 2.0.0-beta 450 url: https://app.files.com/api/rest/v1/files/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest/baz.txt 451 method: POST 452 response: 453 body: '{"path":"tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:58Z","mtime":"2023-02-06T17:27:58Z","provided_mtime":"2023-02-06T17:27:55Z","crc32":null,"md5":null,"mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}' 454 headers: 455 Cache-Control: 456 - no-cache, no-store, max-age=0, must-revalidate 457 Content-Length: 458 - "339" 459 Content-Type: 460 - application/json 461 Date: 462 - Mon, 06 Feb 2023 17:27:58 GMT 463 Expires: 464 - Fri, 01 Jan 1990 00:00:00 GMT 465 Pragma: 466 - no-cache 467 Server: 468 - nginx 469 X-Request-Id: 470 - 64426a0f-47e6-48bd-9f38-b2611265f207 471 - 8b9abadd6589540f1f531d7ba7d91d45 472 status: 201 Created 473 code: 201 474 duration: "" 475 - request: 476 body: "" 477 form: {} 478 headers: 479 Connection: 480 - close 481 User-Agent: 482 - Files.com Go SDK 2.0.0-beta 483 url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest 484 method: GET 485 response: 486 body: '{"path":"tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest","display_name":"Dest","type":"directory","size":null,"created_at":"2023-02-06T17:20:55Z","mtime":"2023-02-06T17:27:58Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}' 487 headers: 488 Cache-Control: 489 - no-cache, no-store, max-age=0, must-revalidate 490 Content-Type: 491 - application/json 492 Date: 493 - Mon, 06 Feb 2023 17:27:59 GMT 494 Expires: 495 - Fri, 01 Jan 1990 00:00:00 GMT 496 Pragma: 497 - no-cache 498 Server: 499 - nginx 500 X-Request-Id: 501 - 39c81a25-43ee-4495-9178-c960422c19b3 502 - f45ba24e818ad05929abd19295f46758 503 status: 200 OK 504 code: 200 505 duration: "" 506 - request: 507 body: "" 508 form: {} 509 headers: 510 Connection: 511 - close 512 User-Agent: 513 - Files.com Go SDK 2.0.0-beta 514 url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest 515 method: GET 516 response: 517 body: '{"path":"tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest","display_name":"Dest","type":"directory","size":null,"created_at":"2023-02-06T17:20:55Z","mtime":"2023-02-06T17:27:58Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}' 518 headers: 519 Cache-Control: 520 - no-cache, no-store, max-age=0, must-revalidate 521 Content-Type: 522 - application/json 523 Date: 524 - Mon, 06 Feb 2023 17:27:59 GMT 525 Expires: 526 - Fri, 01 Jan 1990 00:00:00 GMT 527 Pragma: 528 - no-cache 529 Server: 530 - nginx 531 X-Request-Id: 532 - 5f200569-5f5f-4e61-adf0-b0a87c9da7a0 533 - 6fdcc435e65e27b58557624b9e2ebc44 534 status: 200 OK 535 code: 200 536 duration: "" 537 - request: 538 body: "" 539 form: {} 540 headers: 541 Connection: 542 - close 543 User-Agent: 544 - Files.com Go SDK 2.0.0-beta 545 url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest?page=1 546 method: GET 547 response: 548 body: '[{"path":"tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root/Dest/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:58Z","mtime":"2023-02-06T17:27:58Z","provided_mtime":"2023-02-06T17:27:55Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}]' 549 headers: 550 Cache-Control: 551 - no-cache, no-store, max-age=0, must-revalidate 552 Content-Type: 553 - application/json 554 Date: 555 - Mon, 06 Feb 2023 17:28:00 GMT 556 Expires: 557 - Fri, 01 Jan 1990 00:00:00 GMT 558 Pragma: 559 - no-cache 560 Server: 561 - nginx 562 X-Request-Id: 563 - 0cf44024-882b-44d6-908f-c82326d55439 564 - c139f1f5e00369ab6ed7876bcdfb9e75 565 status: 200 OK 566 code: 200 567 duration: "" 568 - request: 569 body: "" 570 form: {} 571 headers: 572 Connection: 573 - close 574 User-Agent: 575 - Files.com Go SDK 2.0.0-beta 576 url: https://app.files.com/api/rest/v1/files/tmp/TestUploader-uploader-copy_baz.txt_to_Dest_without_Name/dest-root?recursive=true 577 method: DELETE 578 response: 579 body: "" 580 headers: 581 Cache-Control: 582 - no-cache, no-store, max-age=0, must-revalidate 583 Date: 584 - Mon, 06 Feb 2023 17:28:00 GMT 585 Expires: 586 - Fri, 01 Jan 1990 00:00:00 GMT 587 Pragma: 588 - no-cache 589 Server: 590 - nginx 591 X-Request-Id: 592 - 767faf46-4553-46f2-96f0-b0a854b85f52 593 - 7f3fcb740f5635e33f4c41bd1d9f46a2 594 status: 204 No Content 595 code: 204 596 duration: ""