github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/copy_foo_to_Dest_with_PreserveTimes.yaml (about)

     1  ---
     2  version: 1
     3  interactions:
     4  - request:
     5      body: '{}'
     6      form: {}
     7      headers:
     8        Content-Type:
     9        - application/json
    10        User-Agent:
    11        - Files.com Go SDK 1.0
    12      url: https://app.files.com/api/rest/v1/folders/tmp
    13      method: POST
    14    response:
    15      body: '{"error":"The destination exists.","http-code":422,"instance":"288739ecfceb6c4ddef9c52eab6e52f7","title":"Destination
    16        Exists","type":"processing-failure/destination-exists"}'
    17      headers:
    18        Cache-Control:
    19        - no-cache, no-store, max-age=0, must-revalidate
    20        Content-Length:
    21        - "173"
    22        Content-Type:
    23        - application/json
    24        Date:
    25        - Mon, 22 Apr 2024 21:28:34 GMT
    26        Expires:
    27        - Fri, 01 Jan 1990 00:00:00 GMT
    28        Pragma:
    29        - no-cache
    30        Server:
    31        - files.com
    32        X-Files-Error-Class:
    33        - processing-failure/destination-exists
    34        X-Request-Id:
    35        - 288739ecfceb6c4ddef9c52eab6e52f7
    36      status: 422 Unprocessable Entity
    37      code: 422
    38      duration: ""
    39  - request:
    40      body: '{}'
    41      form: {}
    42      headers:
    43        Content-Type:
    44        - application/json
    45        User-Agent:
    46        - Files.com Go SDK 1.0
    47      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes
    48      method: POST
    49    response:
    50      body: '{"display_name":"TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes","type":"directory","size":null,"created_at":"2024-04-22T21:28:34Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
    51      headers:
    52        Cache-Control:
    53        - no-cache, no-store, max-age=0, must-revalidate
    54        Content-Length:
    55        - "214"
    56        Content-Type:
    57        - application/json
    58        Date:
    59        - Mon, 22 Apr 2024 21:28:34 GMT
    60        Expires:
    61        - Fri, 01 Jan 1990 00:00:00 GMT
    62        Pragma:
    63        - no-cache
    64        Server:
    65        - files.com
    66        X-Request-Id:
    67        - c3425b13a54844cc539c8a91ab459468
    68      status: 201 Created
    69      code: 201
    70      duration: ""
    71  - request:
    72      body: '{}'
    73      form: {}
    74      headers:
    75        Content-Type:
    76        - application/json
    77        User-Agent:
    78        - Files.com Go SDK 1.0
    79      url: https://app.files.com/api/rest/v1/folders/tmp
    80      method: POST
    81    response:
    82      body: '{"error":"The destination exists.","http-code":422,"instance":"6ad9d92dcd7fc7c0165ea0a603930509","title":"Destination
    83        Exists","type":"processing-failure/destination-exists"}'
    84      headers:
    85        Cache-Control:
    86        - no-cache, no-store, max-age=0, must-revalidate
    87        Content-Length:
    88        - "173"
    89        Content-Type:
    90        - application/json
    91        Date:
    92        - Mon, 22 Apr 2024 21:28:34 GMT
    93        Expires:
    94        - Fri, 01 Jan 1990 00:00:00 GMT
    95        Pragma:
    96        - no-cache
    97        Server:
    98        - files.com
    99        X-Files-Error-Class:
   100        - processing-failure/destination-exists
   101        X-Request-Id:
   102        - 6ad9d92dcd7fc7c0165ea0a603930509
   103      status: 422 Unprocessable Entity
   104      code: 422
   105      duration: ""
   106  - request:
   107      body: '{}'
   108      form: {}
   109      headers:
   110        Content-Type:
   111        - application/json
   112        User-Agent:
   113        - Files.com Go SDK 1.0
   114      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes
   115      method: POST
   116    response:
   117      body: '{"error":"The destination exists.","http-code":422,"instance":"21d875bbafa3e103fa3df4d9af0edd64","title":"Destination
   118        Exists","type":"processing-failure/destination-exists"}'
   119      headers:
   120        Cache-Control:
   121        - no-cache, no-store, max-age=0, must-revalidate
   122        Content-Length:
   123        - "173"
   124        Content-Type:
   125        - application/json
   126        Date:
   127        - Mon, 22 Apr 2024 21:28:34 GMT
   128        Expires:
   129        - Fri, 01 Jan 1990 00:00:00 GMT
   130        Pragma:
   131        - no-cache
   132        Server:
   133        - files.com
   134        X-Files-Error-Class:
   135        - processing-failure/destination-exists
   136        X-Request-Id:
   137        - 21d875bbafa3e103fa3df4d9af0edd64
   138      status: 422 Unprocessable Entity
   139      code: 422
   140      duration: ""
   141  - request:
   142      body: '{}'
   143      form: {}
   144      headers:
   145        Content-Type:
   146        - application/json
   147        User-Agent:
   148        - Files.com Go SDK 1.0
   149      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root
   150      method: POST
   151    response:
   152      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2024-04-22T21:28:34Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   153      headers:
   154        Cache-Control:
   155        - no-cache, no-store, max-age=0, must-revalidate
   156        Content-Length:
   157        - "163"
   158        Content-Type:
   159        - application/json
   160        Date:
   161        - Mon, 22 Apr 2024 21:28:34 GMT
   162        Expires:
   163        - Fri, 01 Jan 1990 00:00:00 GMT
   164        Pragma:
   165        - no-cache
   166        Server:
   167        - files.com
   168        X-Request-Id:
   169        - 9b9352f90cd92b3022cd6c3656a0d1df
   170      status: 201 Created
   171      code: 201
   172      duration: ""
   173  - request:
   174      body: '{}'
   175      form: {}
   176      headers:
   177        Content-Type:
   178        - application/json
   179        User-Agent:
   180        - Files.com Go SDK 1.0
   181      url: https://app.files.com/api/rest/v1/folders/tmp
   182      method: POST
   183    response:
   184      body: '{"error":"The destination exists.","http-code":422,"instance":"1f020d3163ec5fe14a244d28ebe946b9","title":"Destination
   185        Exists","type":"processing-failure/destination-exists"}'
   186      headers:
   187        Cache-Control:
   188        - no-cache, no-store, max-age=0, must-revalidate
   189        Content-Length:
   190        - "173"
   191        Content-Type:
   192        - application/json
   193        Date:
   194        - Mon, 22 Apr 2024 21:28:34 GMT
   195        Expires:
   196        - Fri, 01 Jan 1990 00:00:00 GMT
   197        Pragma:
   198        - no-cache
   199        Server:
   200        - files.com
   201        X-Files-Error-Class:
   202        - processing-failure/destination-exists
   203        X-Request-Id:
   204        - 1f020d3163ec5fe14a244d28ebe946b9
   205      status: 422 Unprocessable Entity
   206      code: 422
   207      duration: ""
   208  - request:
   209      body: '{}'
   210      form: {}
   211      headers:
   212        Content-Type:
   213        - application/json
   214        User-Agent:
   215        - Files.com Go SDK 1.0
   216      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes
   217      method: POST
   218    response:
   219      body: '{"error":"The destination exists.","http-code":422,"instance":"d58ca7f21564ed3799bb35810b124440","title":"Destination
   220        Exists","type":"processing-failure/destination-exists"}'
   221      headers:
   222        Cache-Control:
   223        - no-cache, no-store, max-age=0, must-revalidate
   224        Content-Length:
   225        - "173"
   226        Content-Type:
   227        - application/json
   228        Date:
   229        - Mon, 22 Apr 2024 21:28:34 GMT
   230        Expires:
   231        - Fri, 01 Jan 1990 00:00:00 GMT
   232        Pragma:
   233        - no-cache
   234        Server:
   235        - files.com
   236        X-Files-Error-Class:
   237        - processing-failure/destination-exists
   238        X-Request-Id:
   239        - d58ca7f21564ed3799bb35810b124440
   240      status: 422 Unprocessable Entity
   241      code: 422
   242      duration: ""
   243  - request:
   244      body: '{}'
   245      form: {}
   246      headers:
   247        Content-Type:
   248        - application/json
   249        User-Agent:
   250        - Files.com Go SDK 1.0
   251      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root
   252      method: POST
   253    response:
   254      body: '{"error":"The destination exists.","http-code":422,"instance":"e7be875c89091509f7dd21fd4f243031","title":"Destination
   255        Exists","type":"processing-failure/destination-exists"}'
   256      headers:
   257        Cache-Control:
   258        - no-cache, no-store, max-age=0, must-revalidate
   259        Content-Length:
   260        - "173"
   261        Content-Type:
   262        - application/json
   263        Date:
   264        - Mon, 22 Apr 2024 21:28:35 GMT
   265        Expires:
   266        - Fri, 01 Jan 1990 00:00:00 GMT
   267        Pragma:
   268        - no-cache
   269        Server:
   270        - files.com
   271        X-Files-Error-Class:
   272        - processing-failure/destination-exists
   273        X-Request-Id:
   274        - e7be875c89091509f7dd21fd4f243031
   275      status: 422 Unprocessable Entity
   276      code: 422
   277      duration: ""
   278  - request:
   279      body: '{}'
   280      form: {}
   281      headers:
   282        Content-Type:
   283        - application/json
   284        User-Agent:
   285        - Files.com Go SDK 1.0
   286      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src
   287      method: POST
   288    response:
   289      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   290      headers:
   291        Cache-Control:
   292        - no-cache, no-store, max-age=0, must-revalidate
   293        Content-Length:
   294        - "158"
   295        Content-Type:
   296        - application/json
   297        Date:
   298        - Mon, 22 Apr 2024 21:28:35 GMT
   299        Expires:
   300        - Fri, 01 Jan 1990 00:00:00 GMT
   301        Pragma:
   302        - no-cache
   303        Server:
   304        - files.com
   305        X-Request-Id:
   306        - 54ff7a5132f72a5f8f93e55a68890890
   307      status: 201 Created
   308      code: 201
   309      duration: ""
   310  - request:
   311      body: '{}'
   312      form: {}
   313      headers:
   314        Content-Type:
   315        - application/json
   316        User-Agent:
   317        - Files.com Go SDK 1.0
   318      url: https://app.files.com/api/rest/v1/folders/tmp
   319      method: POST
   320    response:
   321      body: '{"error":"The destination exists.","http-code":422,"instance":"3375372e49d07b006a3f637016833767","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        - "173"
   328        Content-Type:
   329        - application/json
   330        Date:
   331        - Mon, 22 Apr 2024 21:28:35 GMT
   332        Expires:
   333        - Fri, 01 Jan 1990 00:00:00 GMT
   334        Pragma:
   335        - no-cache
   336        Server:
   337        - files.com
   338        X-Files-Error-Class:
   339        - processing-failure/destination-exists
   340        X-Request-Id:
   341        - 3375372e49d07b006a3f637016833767
   342      status: 422 Unprocessable Entity
   343      code: 422
   344      duration: ""
   345  - request:
   346      body: '{}'
   347      form: {}
   348      headers:
   349        Content-Type:
   350        - application/json
   351        User-Agent:
   352        - Files.com Go SDK 1.0
   353      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes
   354      method: POST
   355    response:
   356      body: '{"error":"The destination exists.","http-code":422,"instance":"40770f589364036ea8c2cdff641da8c2","title":"Destination
   357        Exists","type":"processing-failure/destination-exists"}'
   358      headers:
   359        Cache-Control:
   360        - no-cache, no-store, max-age=0, must-revalidate
   361        Content-Length:
   362        - "173"
   363        Content-Type:
   364        - application/json
   365        Date:
   366        - Mon, 22 Apr 2024 21:28:35 GMT
   367        Expires:
   368        - Fri, 01 Jan 1990 00:00:00 GMT
   369        Pragma:
   370        - no-cache
   371        Server:
   372        - files.com
   373        X-Files-Error-Class:
   374        - processing-failure/destination-exists
   375        X-Request-Id:
   376        - 40770f589364036ea8c2cdff641da8c2
   377      status: 422 Unprocessable Entity
   378      code: 422
   379      duration: ""
   380  - request:
   381      body: '{}'
   382      form: {}
   383      headers:
   384        Content-Type:
   385        - application/json
   386        User-Agent:
   387        - Files.com Go SDK 1.0
   388      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root
   389      method: POST
   390    response:
   391      body: '{"error":"The destination exists.","http-code":422,"instance":"9049736da28c7a41c32f171a5d47f073","title":"Destination
   392        Exists","type":"processing-failure/destination-exists"}'
   393      headers:
   394        Cache-Control:
   395        - no-cache, no-store, max-age=0, must-revalidate
   396        Content-Length:
   397        - "173"
   398        Content-Type:
   399        - application/json
   400        Date:
   401        - Mon, 22 Apr 2024 21:28:35 GMT
   402        Expires:
   403        - Fri, 01 Jan 1990 00:00:00 GMT
   404        Pragma:
   405        - no-cache
   406        Server:
   407        - files.com
   408        X-Files-Error-Class:
   409        - processing-failure/destination-exists
   410        X-Request-Id:
   411        - 9049736da28c7a41c32f171a5d47f073
   412      status: 422 Unprocessable Entity
   413      code: 422
   414      duration: ""
   415  - request:
   416      body: '{}'
   417      form: {}
   418      headers:
   419        Content-Type:
   420        - application/json
   421        User-Agent:
   422        - Files.com Go SDK 1.0
   423      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"9ff36d02c17a740c8165eb3390a9d7fa","title":"Destination
   427        Exists","type":"processing-failure/destination-exists"}'
   428      headers:
   429        Cache-Control:
   430        - no-cache, no-store, max-age=0, must-revalidate
   431        Content-Length:
   432        - "173"
   433        Content-Type:
   434        - application/json
   435        Date:
   436        - Mon, 22 Apr 2024 21:28:35 GMT
   437        Expires:
   438        - Fri, 01 Jan 1990 00:00:00 GMT
   439        Pragma:
   440        - no-cache
   441        Server:
   442        - files.com
   443        X-Files-Error-Class:
   444        - processing-failure/destination-exists
   445        X-Request-Id:
   446        - 9ff36d02c17a740c8165eb3390a9d7fa
   447      status: 422 Unprocessable Entity
   448      code: 422
   449      duration: ""
   450  - request:
   451      body: '{}'
   452      form: {}
   453      headers:
   454        Content-Type:
   455        - application/json
   456        User-Agent:
   457        - Files.com Go SDK 1.0
   458      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo
   459      method: POST
   460    response:
   461      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   462      headers:
   463        Cache-Control:
   464        - no-cache, no-store, max-age=0, must-revalidate
   465        Content-Length:
   466        - "158"
   467        Content-Type:
   468        - application/json
   469        Date:
   470        - Mon, 22 Apr 2024 21:28:35 GMT
   471        Expires:
   472        - Fri, 01 Jan 1990 00:00:00 GMT
   473        Pragma:
   474        - no-cache
   475        Server:
   476        - files.com
   477        X-Request-Id:
   478        - 1f07ab7db7f77ec4d79a7cb31df34688
   479      status: 201 Created
   480      code: 201
   481      duration: ""
   482  - request:
   483      body: '{"mkdir_parents":true}'
   484      form: {}
   485      headers:
   486        Content-Type:
   487        - application/json
   488        User-Agent:
   489        - Files.com Go SDK 1.0
   490      url: https://app.files.com/api/rest/v1/file_actions/begin_upload/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt
   491      method: POST
   492    response:
   493      body: '[{"send":{"partsize":"required-header Content-Length","partdata":"body"},"action":"put/write","ask_about_overwrites":false,"available_parts":10000,"expires":"2024-04-22T21:43:35Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"retry_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-8590332990","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/ba6b1bcd-880a-4159-8f2c-771bf6df8429?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20240422%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20240422T212835Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=gx5UffXnMhhL4ZLbNWK3lvxwM4ttEZekzoVOg.jnCkBhJXX2VHr2oH8wbDn26g9WfyXoPwVQZCujqCGxET1kVn4FmwVeM2y4XPXTlfLUX.5Xo7tHQc6UN0qQOe38SY17\u0026X-Amz-Signature=95f0227394f00cf3b56954ed90658a87ef489a299351e622a12991ca0456a871"}]'
   494      headers:
   495        Cache-Control:
   496        - no-cache, no-store, max-age=0, must-revalidate
   497        Content-Type:
   498        - application/json
   499        Date:
   500        - Mon, 22 Apr 2024 21:28:35 GMT
   501        Expires:
   502        - Fri, 01 Jan 1990 00:00:00 GMT
   503        Pragma:
   504        - no-cache
   505        Server:
   506        - files.com
   507        X-Request-Id:
   508        - 85909db12d91dfa0feecfabf54ccdb2c
   509      status: 200 OK
   510      code: 200
   511      duration: ""
   512  - request:
   513      body: ""
   514      form: {}
   515      headers:
   516        Content-Length:
   517        - "0"
   518      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/ba6b1bcd-880a-4159-8f2c-771bf6df8429?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20240422%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240422T212835Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=gx5UffXnMhhL4ZLbNWK3lvxwM4ttEZekzoVOg.jnCkBhJXX2VHr2oH8wbDn26g9WfyXoPwVQZCujqCGxET1kVn4FmwVeM2y4XPXTlfLUX.5Xo7tHQc6UN0qQOe38SY17&X-Amz-Signature=95f0227394f00cf3b56954ed90658a87ef489a299351e622a12991ca0456a871
   519      method: PUT
   520    response:
   521      body: ""
   522      headers:
   523        Content-Length:
   524        - "0"
   525        Date:
   526        - Mon, 22 Apr 2024 21:28:37 GMT
   527        Etag:
   528        - '"d41d8cd98f00b204e9800998ecf8427e"'
   529        Server:
   530        - AmazonS3
   531        X-Amz-Id-2:
   532        - M5zGRcOMDFczF8SiW6F9bWjHtfUlNI0G8O3D0a6+qochClklDuojl8U580jqWvsexNBcehFATE4=
   533        X-Amz-Request-Id:
   534        - PWH5XJ7ZMC1F6W6P
   535        X-Amz-Server-Side-Encryption:
   536        - AES256
   537      status: 200 OK
   538      code: 200
   539      duration: ""
   540  - request:
   541      body: '{"action":"end","etags":[{"etag":"d41d8cd98f00b204e9800998ecf8427e","part":"1"}],"mkdir_parents":true,"ref":"put-8590332990"}'
   542      form: {}
   543      headers:
   544        Content-Type:
   545        - application/json
   546        User-Agent:
   547        - Files.com Go SDK 1.0
   548      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt
   549      method: POST
   550    response:
   551      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":null,"crc32":null,"md5":null,"mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   552      headers:
   553        Cache-Control:
   554        - no-cache, no-store, max-age=0, must-revalidate
   555        Content-Length:
   556        - "327"
   557        Content-Type:
   558        - application/json
   559        Date:
   560        - Mon, 22 Apr 2024 21:28:36 GMT
   561        Expires:
   562        - Fri, 01 Jan 1990 00:00:00 GMT
   563        Pragma:
   564        - no-cache
   565        Server:
   566        - files.com
   567        X-Files-Cache-For-Seconds:
   568        - "900"
   569        X-Files-Safe-To-Cache:
   570        - "true"
   571        X-Request-Id:
   572        - 43b4122df7a4224281fb7619b1bbee22
   573      status: 201 Created
   574      code: 201
   575      duration: ""
   576  - request:
   577      body: '{"provided_mtime":"2010-11-17T20:34:58Z"}'
   578      form: {}
   579      headers:
   580        Content-Type:
   581        - application/json
   582        User-Agent:
   583        - Files.com Go SDK 1.0
   584      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt
   585      method: PATCH
   586    response:
   587      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":"2010-11-17T20:34:58Z","crc32":null,"md5":null,"mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   588      headers:
   589        Cache-Control:
   590        - no-cache, no-store, max-age=0, must-revalidate
   591        Content-Type:
   592        - application/json
   593        Date:
   594        - Mon, 22 Apr 2024 21:28:36 GMT
   595        Expires:
   596        - Fri, 01 Jan 1990 00:00:00 GMT
   597        Pragma:
   598        - no-cache
   599        Server:
   600        - files.com
   601        X-Request-Id:
   602        - e556dc3308c308d57a9db40e7a8fc174
   603      status: 200 OK
   604      code: 200
   605      duration: ""
   606  - request:
   607      body: ""
   608      form: {}
   609      headers:
   610        User-Agent:
   611        - Files.com Go SDK 1.0
   612      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo
   613      method: GET
   614    response:
   615      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   616      headers:
   617        Cache-Control:
   618        - no-cache, no-store, max-age=0, must-revalidate
   619        Content-Type:
   620        - application/json
   621        Date:
   622        - Mon, 22 Apr 2024 21:28:36 GMT
   623        Expires:
   624        - Fri, 01 Jan 1990 00:00:00 GMT
   625        Pragma:
   626        - no-cache
   627        Server:
   628        - files.com
   629        X-Files-Cache-For-Seconds:
   630        - "900"
   631        X-Files-Safe-To-Cache:
   632        - "true"
   633        X-Request-Id:
   634        - 7699640d8d638e3255242af701655d56
   635      status: 200 OK
   636      code: 200
   637      duration: ""
   638  - request:
   639      body: ""
   640      form: {}
   641      headers:
   642        User-Agent:
   643        - Files.com Go SDK 1.0
   644      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo
   645      method: GET
   646    response:
   647      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   648      headers:
   649        Cache-Control:
   650        - no-cache, no-store, max-age=0, must-revalidate
   651        Content-Type:
   652        - application/json
   653        Date:
   654        - Mon, 22 Apr 2024 21:28:36 GMT
   655        Expires:
   656        - Fri, 01 Jan 1990 00:00:00 GMT
   657        Pragma:
   658        - no-cache
   659        Server:
   660        - files.com
   661        X-Files-Cache-For-Seconds:
   662        - "900"
   663        X-Files-Safe-To-Cache:
   664        - "true"
   665        X-Request-Id:
   666        - 209586fde1297a3d478e698cd6dea1c5
   667      status: 200 OK
   668      code: 200
   669      duration: ""
   670  - request:
   671      body: ""
   672      form: {}
   673      headers:
   674        User-Agent:
   675        - Files.com Go SDK 1.0
   676      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo?page=1
   677      method: GET
   678    response:
   679      body: '[{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":"2010-11-17T20:34:58Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}]'
   680      headers:
   681        Cache-Control:
   682        - no-cache, no-store, max-age=0, must-revalidate
   683        Content-Type:
   684        - application/json
   685        Date:
   686        - Mon, 22 Apr 2024 21:28:37 GMT
   687        Expires:
   688        - Fri, 01 Jan 1990 00:00:00 GMT
   689        Pragma:
   690        - no-cache
   691        Server:
   692        - files.com
   693        X-Files-Cache-For-Seconds:
   694        - "900"
   695        X-Files-Safe-To-Cache:
   696        - "true"
   697        X-Request-Id:
   698        - d39fd6bd49e9169f985ac2d0273fc93b
   699      status: 200 OK
   700      code: 200
   701      duration: ""
   702  - request:
   703      body: ""
   704      form: {}
   705      headers:
   706        User-Agent:
   707        - Files.com Go SDK 1.0
   708      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt
   709      method: GET
   710    response:
   711      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":"2010-11-17T20:34:58Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   712      headers:
   713        Cache-Control:
   714        - no-cache, no-store, max-age=0, must-revalidate
   715        Content-Type:
   716        - application/json
   717        Date:
   718        - Mon, 22 Apr 2024 21:28:37 GMT
   719        Expires:
   720        - Fri, 01 Jan 1990 00:00:00 GMT
   721        Pragma:
   722        - no-cache
   723        Server:
   724        - files.com
   725        X-Files-Cache-For-Seconds:
   726        - "900"
   727        X-Files-Safe-To-Cache:
   728        - "true"
   729        X-Request-Id:
   730        - 96abb5436727ae94f8da96dd3992a1ec
   731      status: 200 OK
   732      code: 200
   733      duration: ""
   734  - request:
   735      body: ""
   736      form: {}
   737      headers:
   738        User-Agent:
   739        - Files.com Go SDK 1.0
   740      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt
   741      method: GET
   742    response:
   743      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":"2010-11-17T20:34:58Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd","download_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/ba6b1bcd-880a-4159-8f2c-771bf6df8429?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20240422%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20240422T212837Z\u0026X-Amz-Expires=60\u0026X-Amz-SignedHeaders=host\u0026response-cache-control=no-cache%2C%20no-store\u0026response-content-disposition=attachment%3B%20filename%3D%22baz.txt%22\u0026response-content-type=text%2Fplain\u0026X-Amz-Signature=8a51532466de2fc0496eacdedaaedc55e7059a622e06fbc5cb593337f6b739f4"}'
   744      headers:
   745        Cache-Control:
   746        - no-cache, no-store, max-age=0, must-revalidate
   747        Content-Type:
   748        - application/json
   749        Date:
   750        - Mon, 22 Apr 2024 21:28:37 GMT
   751        Expires:
   752        - Fri, 01 Jan 1990 00:00:00 GMT
   753        Pragma:
   754        - no-cache
   755        Server:
   756        - files.com
   757        X-Files-Cache-For-Seconds:
   758        - "900"
   759        X-Files-Safe-To-Cache:
   760        - "true"
   761        X-Request-Id:
   762        - c3ae2ddf94a07bc5d89417e6814da6cb
   763      status: 200 OK
   764      code: 200
   765      duration: ""
   766  - request:
   767      body: ""
   768      form: {}
   769      headers:
   770        User-Agent:
   771        - Files.com Go SDK 1.0
   772      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/ba6b1bcd-880a-4159-8f2c-771bf6df8429?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20240422%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240422T212837Z&X-Amz-Expires=60&X-Amz-SignedHeaders=host&response-cache-control=no-cache%2C%20no-store&response-content-disposition=attachment%3B%20filename%3D%22baz.txt%22&response-content-type=text%2Fplain&X-Amz-Signature=8a51532466de2fc0496eacdedaaedc55e7059a622e06fbc5cb593337f6b739f4
   773      method: GET
   774    response:
   775      body: ""
   776      headers:
   777        Accept-Ranges:
   778        - bytes
   779        Cache-Control:
   780        - no-cache, no-store
   781        Content-Disposition:
   782        - attachment; filename="baz.txt"
   783        Content-Length:
   784        - "0"
   785        Content-Type:
   786        - text/plain
   787        Date:
   788        - Mon, 22 Apr 2024 21:28:38 GMT
   789        Etag:
   790        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   791        Last-Modified:
   792        - Mon, 22 Apr 2024 21:28:36 GMT
   793        Server:
   794        - AmazonS3
   795        X-Amz-Id-2:
   796        - nGSb3VtIa5gGUBqoMn9kpk8gVNICkXqcdj1T20SZFRl3/EKyp/RC2SLseBEOPACoYh9KCgw+/34=
   797        X-Amz-Meta-X-Amz-Meta-Gid:
   798        - "65534"
   799        X-Amz-Meta-X-Amz-Meta-Mode:
   800        - "33188"
   801        X-Amz-Meta-X-Amz-Meta-Uid:
   802        - "65534"
   803        X-Amz-Request-Id:
   804        - 8SZFYZMHBWHTCDDH
   805        X-Amz-Server-Side-Encryption:
   806        - AES256
   807        X-Amz-Version-Id:
   808        - "null"
   809      status: 200 OK
   810      code: 200
   811      duration: ""
   812  - request:
   813      body: ""
   814      form: {}
   815      headers:
   816        User-Agent:
   817        - Files.com Go SDK 1.0
   818      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo
   819      method: GET
   820    response:
   821      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   822      headers:
   823        Cache-Control:
   824        - no-cache, no-store, max-age=0, must-revalidate
   825        Content-Type:
   826        - application/json
   827        Date:
   828        - Mon, 22 Apr 2024 21:28:37 GMT
   829        Expires:
   830        - Fri, 01 Jan 1990 00:00:00 GMT
   831        Pragma:
   832        - no-cache
   833        Server:
   834        - files.com
   835        X-Files-Cache-For-Seconds:
   836        - "900"
   837        X-Files-Safe-To-Cache:
   838        - "true"
   839        X-Request-Id:
   840        - 52836c7a6600bd47efedc7fdf7f9f1be
   841      status: 200 OK
   842      code: 200
   843      duration: ""
   844  - request:
   845      body: ""
   846      form: {}
   847      headers:
   848        User-Agent:
   849        - Files.com Go SDK 1.0
   850      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo
   851      method: GET
   852    response:
   853      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2024-04-22T21:28:35Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   854      headers:
   855        Cache-Control:
   856        - no-cache, no-store, max-age=0, must-revalidate
   857        Content-Type:
   858        - application/json
   859        Date:
   860        - Mon, 22 Apr 2024 21:28:37 GMT
   861        Expires:
   862        - Fri, 01 Jan 1990 00:00:00 GMT
   863        Pragma:
   864        - no-cache
   865        Server:
   866        - files.com
   867        X-Files-Cache-For-Seconds:
   868        - "900"
   869        X-Files-Safe-To-Cache:
   870        - "true"
   871        X-Request-Id:
   872        - 0cfcb0923b15c338f4953a2e44c53056
   873      status: 200 OK
   874      code: 200
   875      duration: ""
   876  - request:
   877      body: ""
   878      form: {}
   879      headers:
   880        User-Agent:
   881        - Files.com Go SDK 1.0
   882      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo?page=1
   883      method: GET
   884    response:
   885      body: '[{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2024-04-22T21:28:36Z","mtime":"2024-04-22T21:28:36Z","provided_mtime":"2010-11-17T20:34:58Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}]'
   886      headers:
   887        Cache-Control:
   888        - no-cache, no-store, max-age=0, must-revalidate
   889        Content-Type:
   890        - application/json
   891        Date:
   892        - Mon, 22 Apr 2024 21:28:37 GMT
   893        Expires:
   894        - Fri, 01 Jan 1990 00:00:00 GMT
   895        Pragma:
   896        - no-cache
   897        Server:
   898        - files.com
   899        X-Files-Cache-For-Seconds:
   900        - "900"
   901        X-Files-Cached-Response:
   902        - "1713821317"
   903        X-Files-Safe-To-Cache:
   904        - "true"
   905        X-Request-Id:
   906        - 176558671cb0165b5a4b72d390d7e970
   907      status: 200 OK
   908      code: 200
   909      duration: ""
   910  - request:
   911      body: ""
   912      form: {}
   913      headers:
   914        User-Agent:
   915        - Files.com Go SDK 1.0
   916      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest_with_PreserveTimes/src-root?recursive=true
   917      method: DELETE
   918    response:
   919      body: ""
   920      headers:
   921        Cache-Control:
   922        - no-cache, no-store, max-age=0, must-revalidate
   923        Date:
   924        - Mon, 22 Apr 2024 21:28:37 GMT
   925        Expires:
   926        - Fri, 01 Jan 1990 00:00:00 GMT
   927        Pragma:
   928        - no-cache
   929        Server:
   930        - files.com
   931        X-Request-Id:
   932        - f00e46034c03149515367d3eac3a0229
   933      status: 204 No Content
   934      code: 204
   935      duration: ""