github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/copy_baz.txt_to_Dest_with_rename.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":"15c99a71-5f60-4276-ad23-ac98b0ed9298","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:10:32 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        - 15c99a71-5f60-4276-ad23-ac98b0ed9298
    38        - 1c331b3df257bd0b891dfa4d3250398a
    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/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename
    53      method: POST
    54    response:
    55      body: '{"display_name":"TestDownload-downloader-copy_baz.txt_to_Dest_with_rename","type":"directory","size":null,"created_at":"2023-02-06T17:10:32Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
    56      headers:
    57        Cache-Control:
    58        - no-cache, no-store, max-age=0, must-revalidate
    59        Content-Length:
    60        - "211"
    61        Content-Type:
    62        - application/json
    63        Date:
    64        - Mon, 06 Feb 2023 17:10:32 GMT
    65        Expires:
    66        - Fri, 01 Jan 1990 00:00:00 GMT
    67        Pragma:
    68        - no-cache
    69        Server:
    70        - nginx
    71        X-Request-Id:
    72        - 641f5f41-c883-4a17-a7b1-da18ec69907b
    73        - 6fdf463ce81fb1d63f0a548d6cc6ce03
    74      status: 201 Created
    75      code: 201
    76      duration: ""
    77  - request:
    78      body: '{}'
    79      form: {}
    80      headers:
    81        Connection:
    82        - close
    83        Content-Type:
    84        - application/json
    85        User-Agent:
    86        - Files.com Go SDK 2.0.0-beta
    87      url: https://app.files.com/api/rest/v1/folders/tmp
    88      method: POST
    89    response:
    90      body: '{"error":"The destination exists.","http-code":422,"instance":"6892f2ce-05a1-4301-894c-62f78ad9b733","title":"Destination
    91        Exists","type":"processing-failure/destination-exists"}'
    92      headers:
    93        Cache-Control:
    94        - no-cache, no-store, max-age=0, must-revalidate
    95        Content-Length:
    96        - "177"
    97        Content-Type:
    98        - application/json
    99        Date:
   100        - Mon, 06 Feb 2023 17:10:32 GMT
   101        Expires:
   102        - Fri, 01 Jan 1990 00:00:00 GMT
   103        Pragma:
   104        - no-cache
   105        Server:
   106        - nginx
   107        X-Files-Error-Class:
   108        - processing-failure/destination-exists
   109        X-Request-Id:
   110        - 6892f2ce-05a1-4301-894c-62f78ad9b733
   111        - 6693f50bd8d8e73eabb3dbba8b8d7322
   112      status: 422 Unprocessable Entity
   113      code: 422
   114      duration: ""
   115  - request:
   116      body: '{}'
   117      form: {}
   118      headers:
   119        Connection:
   120        - close
   121        Content-Type:
   122        - application/json
   123        User-Agent:
   124        - Files.com Go SDK 2.0.0-beta
   125      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename
   126      method: POST
   127    response:
   128      body: '{"error":"The destination exists.","http-code":422,"instance":"4c8d14fd-13ed-4da2-9e43-6897a70c2c06","title":"Destination
   129        Exists","type":"processing-failure/destination-exists"}'
   130      headers:
   131        Cache-Control:
   132        - no-cache, no-store, max-age=0, must-revalidate
   133        Content-Length:
   134        - "177"
   135        Content-Type:
   136        - application/json
   137        Date:
   138        - Mon, 06 Feb 2023 17:10:33 GMT
   139        Expires:
   140        - Fri, 01 Jan 1990 00:00:00 GMT
   141        Pragma:
   142        - no-cache
   143        Server:
   144        - nginx
   145        X-Files-Error-Class:
   146        - processing-failure/destination-exists
   147        X-Request-Id:
   148        - 4c8d14fd-13ed-4da2-9e43-6897a70c2c06
   149        - 23ccb50ccb92b4af1a72d5446cc28ac7
   150      status: 422 Unprocessable Entity
   151      code: 422
   152      duration: ""
   153  - request:
   154      body: '{}'
   155      form: {}
   156      headers:
   157        Connection:
   158        - close
   159        Content-Type:
   160        - application/json
   161        User-Agent:
   162        - Files.com Go SDK 2.0.0-beta
   163      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root
   164      method: POST
   165    response:
   166      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2023-02-06T17:10:33Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   167      headers:
   168        Cache-Control:
   169        - no-cache, no-store, max-age=0, must-revalidate
   170        Content-Length:
   171        - "163"
   172        Content-Type:
   173        - application/json
   174        Date:
   175        - Mon, 06 Feb 2023 17:10:33 GMT
   176        Expires:
   177        - Fri, 01 Jan 1990 00:00:00 GMT
   178        Pragma:
   179        - no-cache
   180        Server:
   181        - nginx
   182        X-Request-Id:
   183        - ec3702b6-f2f7-4b5b-91bf-8147cb5dbef9
   184        - 20c9cb6a1c0525bcc1220cb1122e7c4c
   185      status: 201 Created
   186      code: 201
   187      duration: ""
   188  - request:
   189      body: '{}'
   190      form: {}
   191      headers:
   192        Connection:
   193        - close
   194        Content-Type:
   195        - application/json
   196        User-Agent:
   197        - Files.com Go SDK 2.0.0-beta
   198      url: https://app.files.com/api/rest/v1/folders/tmp
   199      method: POST
   200    response:
   201      body: '{"error":"The destination exists.","http-code":422,"instance":"3224b66f-6955-48d8-be9e-3acf5d498683","title":"Destination
   202        Exists","type":"processing-failure/destination-exists"}'
   203      headers:
   204        Cache-Control:
   205        - no-cache, no-store, max-age=0, must-revalidate
   206        Content-Length:
   207        - "177"
   208        Content-Type:
   209        - application/json
   210        Date:
   211        - Mon, 06 Feb 2023 17:10:34 GMT
   212        Expires:
   213        - Fri, 01 Jan 1990 00:00:00 GMT
   214        Pragma:
   215        - no-cache
   216        Server:
   217        - nginx
   218        X-Files-Error-Class:
   219        - processing-failure/destination-exists
   220        X-Request-Id:
   221        - 3224b66f-6955-48d8-be9e-3acf5d498683
   222        - 184b8200ec01a37407d6eee0076616f3
   223      status: 422 Unprocessable Entity
   224      code: 422
   225      duration: ""
   226  - request:
   227      body: '{}'
   228      form: {}
   229      headers:
   230        Connection:
   231        - close
   232        Content-Type:
   233        - application/json
   234        User-Agent:
   235        - Files.com Go SDK 2.0.0-beta
   236      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename
   237      method: POST
   238    response:
   239      body: '{"error":"The destination exists.","http-code":422,"instance":"865efd41-1325-4be8-b462-4f99d5f92e44","title":"Destination
   240        Exists","type":"processing-failure/destination-exists"}'
   241      headers:
   242        Cache-Control:
   243        - no-cache, no-store, max-age=0, must-revalidate
   244        Content-Length:
   245        - "177"
   246        Content-Type:
   247        - application/json
   248        Date:
   249        - Mon, 06 Feb 2023 17:10:34 GMT
   250        Expires:
   251        - Fri, 01 Jan 1990 00:00:00 GMT
   252        Pragma:
   253        - no-cache
   254        Server:
   255        - nginx
   256        X-Files-Error-Class:
   257        - processing-failure/destination-exists
   258        X-Request-Id:
   259        - 865efd41-1325-4be8-b462-4f99d5f92e44
   260        - 2f3343d72b06a8badae9661b73f6b1dd
   261      status: 422 Unprocessable Entity
   262      code: 422
   263      duration: ""
   264  - request:
   265      body: '{}'
   266      form: {}
   267      headers:
   268        Connection:
   269        - close
   270        Content-Type:
   271        - application/json
   272        User-Agent:
   273        - Files.com Go SDK 2.0.0-beta
   274      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root
   275      method: POST
   276    response:
   277      body: '{"error":"The destination exists.","http-code":422,"instance":"c35eb40a-af7c-4885-ad65-2cdef3a7ef21","title":"Destination
   278        Exists","type":"processing-failure/destination-exists"}'
   279      headers:
   280        Cache-Control:
   281        - no-cache, no-store, max-age=0, must-revalidate
   282        Content-Length:
   283        - "177"
   284        Content-Type:
   285        - application/json
   286        Date:
   287        - Mon, 06 Feb 2023 17:10:34 GMT
   288        Expires:
   289        - Fri, 01 Jan 1990 00:00:00 GMT
   290        Pragma:
   291        - no-cache
   292        Server:
   293        - nginx
   294        X-Files-Error-Class:
   295        - processing-failure/destination-exists
   296        X-Request-Id:
   297        - c35eb40a-af7c-4885-ad65-2cdef3a7ef21
   298        - 382ddca56c1487225e999a4def34f08e
   299      status: 422 Unprocessable Entity
   300      code: 422
   301      duration: ""
   302  - request:
   303      body: '{}'
   304      form: {}
   305      headers:
   306        Connection:
   307        - close
   308        Content-Type:
   309        - application/json
   310        User-Agent:
   311        - Files.com Go SDK 2.0.0-beta
   312      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src
   313      method: POST
   314    response:
   315      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:10:35Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   316      headers:
   317        Cache-Control:
   318        - no-cache, no-store, max-age=0, must-revalidate
   319        Content-Length:
   320        - "158"
   321        Content-Type:
   322        - application/json
   323        Date:
   324        - Mon, 06 Feb 2023 17:10:35 GMT
   325        Expires:
   326        - Fri, 01 Jan 1990 00:00:00 GMT
   327        Pragma:
   328        - no-cache
   329        Server:
   330        - nginx
   331        X-Request-Id:
   332        - d32a8b73-2b48-4fe7-9069-e37289dcd586
   333        - 68e37c51ae89103062e80e0a15bd46cd
   334      status: 201 Created
   335      code: 201
   336      duration: ""
   337  - request:
   338      body: '{}'
   339      form: {}
   340      headers:
   341        Connection:
   342        - close
   343        Content-Type:
   344        - application/json
   345        User-Agent:
   346        - Files.com Go SDK 2.0.0-beta
   347      url: https://app.files.com/api/rest/v1/folders/tmp
   348      method: POST
   349    response:
   350      body: '{"error":"The destination exists.","http-code":422,"instance":"717489f1-d42d-4c50-a3de-8726a667666b","title":"Destination
   351        Exists","type":"processing-failure/destination-exists"}'
   352      headers:
   353        Cache-Control:
   354        - no-cache, no-store, max-age=0, must-revalidate
   355        Content-Length:
   356        - "177"
   357        Content-Type:
   358        - application/json
   359        Date:
   360        - Mon, 06 Feb 2023 17:10:35 GMT
   361        Expires:
   362        - Fri, 01 Jan 1990 00:00:00 GMT
   363        Pragma:
   364        - no-cache
   365        Server:
   366        - nginx
   367        X-Files-Error-Class:
   368        - processing-failure/destination-exists
   369        X-Request-Id:
   370        - 717489f1-d42d-4c50-a3de-8726a667666b
   371        - 80b059ea3033ed73da2446aa8579de46
   372      status: 422 Unprocessable Entity
   373      code: 422
   374      duration: ""
   375  - request:
   376      body: '{}'
   377      form: {}
   378      headers:
   379        Connection:
   380        - close
   381        Content-Type:
   382        - application/json
   383        User-Agent:
   384        - Files.com Go SDK 2.0.0-beta
   385      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename
   386      method: POST
   387    response:
   388      body: '{"error":"The destination exists.","http-code":422,"instance":"de73b61a-4cc9-478b-ab9e-6b5f51cfd740","title":"Destination
   389        Exists","type":"processing-failure/destination-exists"}'
   390      headers:
   391        Cache-Control:
   392        - no-cache, no-store, max-age=0, must-revalidate
   393        Content-Length:
   394        - "177"
   395        Content-Type:
   396        - application/json
   397        Date:
   398        - Mon, 06 Feb 2023 17:10:36 GMT
   399        Expires:
   400        - Fri, 01 Jan 1990 00:00:00 GMT
   401        Pragma:
   402        - no-cache
   403        Server:
   404        - nginx
   405        X-Files-Error-Class:
   406        - processing-failure/destination-exists
   407        X-Request-Id:
   408        - de73b61a-4cc9-478b-ab9e-6b5f51cfd740
   409        - bcd34a7c2ccbd91ab17986e611de71c2
   410      status: 422 Unprocessable Entity
   411      code: 422
   412      duration: ""
   413  - request:
   414      body: '{}'
   415      form: {}
   416      headers:
   417        Connection:
   418        - close
   419        Content-Type:
   420        - application/json
   421        User-Agent:
   422        - Files.com Go SDK 2.0.0-beta
   423      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"39c759ac-9c43-4dd6-93d8-80b7fd60c4b9","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        - "177"
   433        Content-Type:
   434        - application/json
   435        Date:
   436        - Mon, 06 Feb 2023 17:10:36 GMT
   437        Expires:
   438        - Fri, 01 Jan 1990 00:00:00 GMT
   439        Pragma:
   440        - no-cache
   441        Server:
   442        - nginx
   443        X-Files-Error-Class:
   444        - processing-failure/destination-exists
   445        X-Request-Id:
   446        - 39c759ac-9c43-4dd6-93d8-80b7fd60c4b9
   447        - 68f161f7d45728f0d9cf22ac1fb34227
   448      status: 422 Unprocessable Entity
   449      code: 422
   450      duration: ""
   451  - request:
   452      body: '{}'
   453      form: {}
   454      headers:
   455        Connection:
   456        - close
   457        Content-Type:
   458        - application/json
   459        User-Agent:
   460        - Files.com Go SDK 2.0.0-beta
   461      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src
   462      method: POST
   463    response:
   464      body: '{"error":"The destination exists.","http-code":422,"instance":"e1a77179-0b73-4d7e-9d30-67a1ddf563c0","title":"Destination
   465        Exists","type":"processing-failure/destination-exists"}'
   466      headers:
   467        Cache-Control:
   468        - no-cache, no-store, max-age=0, must-revalidate
   469        Content-Length:
   470        - "177"
   471        Content-Type:
   472        - application/json
   473        Date:
   474        - Mon, 06 Feb 2023 17:10:36 GMT
   475        Expires:
   476        - Fri, 01 Jan 1990 00:00:00 GMT
   477        Pragma:
   478        - no-cache
   479        Server:
   480        - nginx
   481        X-Files-Error-Class:
   482        - processing-failure/destination-exists
   483        X-Request-Id:
   484        - e1a77179-0b73-4d7e-9d30-67a1ddf563c0
   485        - 854ae17a22316689d2b31dcb2627c68c
   486      status: 422 Unprocessable Entity
   487      code: 422
   488      duration: ""
   489  - request:
   490      body: '{}'
   491      form: {}
   492      headers:
   493        Connection:
   494        - close
   495        Content-Type:
   496        - application/json
   497        User-Agent:
   498        - Files.com Go SDK 2.0.0-beta
   499      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo
   500      method: POST
   501    response:
   502      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:10:37Z","crc32":null,"md5":null,"subfolders_locked?":false,"is_locked":false}'
   503      headers:
   504        Cache-Control:
   505        - no-cache, no-store, max-age=0, must-revalidate
   506        Content-Length:
   507        - "158"
   508        Content-Type:
   509        - application/json
   510        Date:
   511        - Mon, 06 Feb 2023 17:10:37 GMT
   512        Expires:
   513        - Fri, 01 Jan 1990 00:00:00 GMT
   514        Pragma:
   515        - no-cache
   516        Server:
   517        - nginx
   518        X-Request-Id:
   519        - c4df5161-cc23-42ec-a3ef-f24ea734333f
   520        - 48fc09d426b3de87da99a294655a909d
   521      status: 201 Created
   522      code: 201
   523      duration: ""
   524  - request:
   525      body: '{"mkdir_parents":true}'
   526      form: {}
   527      headers:
   528        Connection:
   529        - close
   530        Content-Type:
   531        - application/json
   532        User-Agent:
   533        - Files.com Go SDK 2.0.0-beta
   534      url: https://app.files.com/api/rest/v1/file_actions/begin_upload/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   535      method: POST
   536    response:
   537      body: '[{"send":{"partsize":"required-header Content-Length","partdata":"body"},"action":"put/write","ask_about_overwrites":false,"available_parts":10000,"expires":"2023-02-06T17:25:37Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118475490","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/4f09a70f-dcd7-49b2-bc9a-89087b195a80?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T171037Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=BVAZHvZ53vIDUNXBuVA0cLIP5.bbqImUnyM.pXQvxhVx8E9wxjzT7sbCFGeTHG.53w3gk_w4nQI0rAREHcQNybUmg8fqu8La6PNl6SllBQVEaVioT.UzhqvPmiqI7hL_\u0026X-Amz-Signature=38c350bb48b43d82a049541652a6d4f9a467d815ca6719086452429e5198fe35"}]'
   538      headers:
   539        Cache-Control:
   540        - no-cache, no-store, max-age=0, must-revalidate
   541        Content-Type:
   542        - application/json
   543        Date:
   544        - Mon, 06 Feb 2023 17:10:37 GMT
   545        Expires:
   546        - Fri, 01 Jan 1990 00:00:00 GMT
   547        Pragma:
   548        - no-cache
   549        Server:
   550        - nginx
   551        X-Request-Id:
   552        - 5270bdf0-efdc-4cb9-a0e6-a33f930ea4a3
   553        - 400d91b541e08ad7e64c80da2fb507e5
   554      status: 200 OK
   555      code: 200
   556      duration: ""
   557  - request:
   558      body: ""
   559      form: {}
   560      headers:
   561        Connection:
   562        - close
   563        Content-Length:
   564        - "0"
   565      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/4f09a70f-dcd7-49b2-bc9a-89087b195a80?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T171037Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=BVAZHvZ53vIDUNXBuVA0cLIP5.bbqImUnyM.pXQvxhVx8E9wxjzT7sbCFGeTHG.53w3gk_w4nQI0rAREHcQNybUmg8fqu8La6PNl6SllBQVEaVioT.UzhqvPmiqI7hL_&X-Amz-Signature=38c350bb48b43d82a049541652a6d4f9a467d815ca6719086452429e5198fe35
   566      method: PUT
   567    response:
   568      body: ""
   569      headers:
   570        Content-Length:
   571        - "0"
   572        Date:
   573        - Mon, 06 Feb 2023 17:10:39 GMT
   574        Etag:
   575        - '"d41d8cd98f00b204e9800998ecf8427e"'
   576        Server:
   577        - AmazonS3
   578        X-Amz-Id-2:
   579        - UNcPzi+SXoDRJz94fSPry4xV3vYDtXgDsjaXZ+tVwIzZ7rBayjj4GYEKxCkk3DQ86ZxYbxFs7Qk=
   580        X-Amz-Request-Id:
   581        - 0CHSM4AJK2K840T1
   582        X-Amz-Server-Side-Encryption:
   583        - AES256
   584      status: 200 OK
   585      code: 200
   586      duration: ""
   587  - request:
   588      body: '{"action":"end","etags":[{"etag":"d41d8cd98f00b204e9800998ecf8427e","part":"1"}],"mkdir_parents":true,"ref":"put-4118475490"}'
   589      form: {}
   590      headers:
   591        Connection:
   592        - close
   593        Content-Type:
   594        - application/json
   595        User-Agent:
   596        - Files.com Go SDK 2.0.0-beta
   597      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   598      method: POST
   599    response:
   600      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":null,"md5":null,"mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   601      headers:
   602        Cache-Control:
   603        - no-cache, no-store, max-age=0, must-revalidate
   604        Content-Length:
   605        - "324"
   606        Content-Type:
   607        - application/json
   608        Date:
   609        - Mon, 06 Feb 2023 17:10:38 GMT
   610        Expires:
   611        - Fri, 01 Jan 1990 00:00:00 GMT
   612        Pragma:
   613        - no-cache
   614        Server:
   615        - nginx
   616        X-Request-Id:
   617        - 7cb58468-903c-48e6-9164-e8c78d81cae7
   618        - 993d1e7088246760a7d56f2c263f2713
   619      status: 201 Created
   620      code: 201
   621      duration: ""
   622  - request:
   623      body: ""
   624      form: {}
   625      headers:
   626        Connection:
   627        - close
   628        User-Agent:
   629        - Files.com Go SDK 2.0.0-beta
   630      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   631      method: GET
   632    response:
   633      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   634      headers:
   635        Cache-Control:
   636        - no-cache, no-store, max-age=0, must-revalidate
   637        Content-Type:
   638        - application/json
   639        Date:
   640        - Mon, 06 Feb 2023 17:10:39 GMT
   641        Expires:
   642        - Fri, 01 Jan 1990 00:00:00 GMT
   643        Pragma:
   644        - no-cache
   645        Server:
   646        - nginx
   647        X-Request-Id:
   648        - a157b757-699c-4c05-8fd7-9397bccaf899
   649        - 51cdf646242e67ac63d213815b7d32f5
   650      status: 200 OK
   651      code: 200
   652      duration: ""
   653  - request:
   654      body: ""
   655      form: {}
   656      headers:
   657        Connection:
   658        - close
   659        User-Agent:
   660        - Files.com Go SDK 2.0.0-beta
   661      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   662      method: GET
   663    response:
   664      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   665      headers:
   666        Cache-Control:
   667        - no-cache, no-store, max-age=0, must-revalidate
   668        Content-Type:
   669        - application/json
   670        Date:
   671        - Mon, 06 Feb 2023 17:10:39 GMT
   672        Expires:
   673        - Fri, 01 Jan 1990 00:00:00 GMT
   674        Pragma:
   675        - no-cache
   676        Server:
   677        - nginx
   678        X-Request-Id:
   679        - 00ee7bce-f0e2-4963-9f6e-8280ea85f4e2
   680        - 85af63f7ce2b140de355be09222c549f
   681      status: 200 OK
   682      code: 200
   683      duration: ""
   684  - request:
   685      body: ""
   686      form: {}
   687      headers:
   688        Connection:
   689        - close
   690        User-Agent:
   691        - Files.com Go SDK 2.0.0-beta
   692      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   693      method: GET
   694    response:
   695      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   696      headers:
   697        Cache-Control:
   698        - no-cache, no-store, max-age=0, must-revalidate
   699        Content-Type:
   700        - application/json
   701        Date:
   702        - Mon, 06 Feb 2023 17:10:39 GMT
   703        Expires:
   704        - Fri, 01 Jan 1990 00:00:00 GMT
   705        Pragma:
   706        - no-cache
   707        Server:
   708        - nginx
   709        X-Request-Id:
   710        - dcf5fa24-72eb-467b-afed-05ab975c246a
   711        - 37b7ad27743e4a0cdc1bf659a910be8d
   712      status: 200 OK
   713      code: 200
   714      duration: ""
   715  - request:
   716      body: ""
   717      form: {}
   718      headers:
   719        Connection:
   720        - close
   721        User-Agent:
   722        - Files.com Go SDK 2.0.0-beta
   723      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   724      method: GET
   725    response:
   726      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"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/4f09a70f-dcd7-49b2-bc9a-89087b195a80?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T171040Z\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=583c074e4f7d8bf14672bcabb265a5cff3f3b2e6c1cc0d3a915e7481ff0d0a60"}'
   727      headers:
   728        Cache-Control:
   729        - no-cache, no-store, max-age=0, must-revalidate
   730        Content-Type:
   731        - application/json
   732        Date:
   733        - Mon, 06 Feb 2023 17:10:40 GMT
   734        Expires:
   735        - Fri, 01 Jan 1990 00:00:00 GMT
   736        Pragma:
   737        - no-cache
   738        Server:
   739        - nginx
   740        X-Request-Id:
   741        - 7fced7ef-8dcd-405d-8829-fac84e2110d0
   742        - 4c03913ecec5949d0de8df6cd51b7f77
   743      status: 200 OK
   744      code: 200
   745      duration: ""
   746  - request:
   747      body: ""
   748      form: {}
   749      headers: {}
   750      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/4f09a70f-dcd7-49b2-bc9a-89087b195a80?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T171040Z&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=583c074e4f7d8bf14672bcabb265a5cff3f3b2e6c1cc0d3a915e7481ff0d0a60
   751      method: GET
   752    response:
   753      body: ""
   754      headers:
   755        Accept-Ranges:
   756        - bytes
   757        Cache-Control:
   758        - no-cache, no-store
   759        Content-Disposition:
   760        - attachment; filename="baz.txt"
   761        Content-Length:
   762        - "0"
   763        Content-Type:
   764        - text/plain
   765        Date:
   766        - Mon, 06 Feb 2023 17:10:42 GMT
   767        Etag:
   768        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   769        Last-Modified:
   770        - Mon, 06 Feb 2023 17:10:38 GMT
   771        Server:
   772        - AmazonS3
   773        X-Amz-Id-2:
   774        - 3+l5O9cFdrPZgMBoBdg1i71uWgF/mnsfEgTsYAFMRRSi4xM61dITZidLjt+G7IcZBcbILJU9Oh8=
   775        X-Amz-Meta-X-Amz-Meta-Gid:
   776        - "65534"
   777        X-Amz-Meta-X-Amz-Meta-Mode:
   778        - "33188"
   779        X-Amz-Meta-X-Amz-Meta-Uid:
   780        - "65534"
   781        X-Amz-Request-Id:
   782        - 37AFV0TN0DX8JPNV
   783        X-Amz-Server-Side-Encryption:
   784        - AES256
   785        X-Amz-Version-Id:
   786        - "null"
   787      status: 200 OK
   788      code: 200
   789      duration: ""
   790  - request:
   791      body: ""
   792      form: {}
   793      headers:
   794        Connection:
   795        - close
   796        User-Agent:
   797        - Files.com Go SDK 2.0.0-beta
   798      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt
   799      method: GET
   800    response:
   801      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   802      headers:
   803        Cache-Control:
   804        - no-cache, no-store, max-age=0, must-revalidate
   805        Content-Type:
   806        - application/json
   807        Date:
   808        - Mon, 06 Feb 2023 17:10:41 GMT
   809        Expires:
   810        - Fri, 01 Jan 1990 00:00:00 GMT
   811        Pragma:
   812        - no-cache
   813        Server:
   814        - nginx
   815        X-Request-Id:
   816        - 8128f976-96b8-42a0-bbb9-2a77f596b14e
   817        - 974a41d2022ee35604b561bc0d5de20b
   818      status: 200 OK
   819      code: 200
   820      duration: ""
   821  - request:
   822      body: ""
   823      form: {}
   824      headers:
   825        Connection:
   826        - close
   827        User-Agent:
   828        - Files.com Go SDK 2.0.0-beta
   829      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src
   830      method: GET
   831    response:
   832      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src","display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:10:35Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   833      headers:
   834        Cache-Control:
   835        - no-cache, no-store, max-age=0, must-revalidate
   836        Content-Type:
   837        - application/json
   838        Date:
   839        - Mon, 06 Feb 2023 17:10:41 GMT
   840        Expires:
   841        - Fri, 01 Jan 1990 00:00:00 GMT
   842        Pragma:
   843        - no-cache
   844        Server:
   845        - nginx
   846        X-Request-Id:
   847        - 349395e3-65d6-416d-a4c5-413ec5fcc23b
   848        - 7353ffb8edbc5aa161223635b66bdcec
   849      status: 200 OK
   850      code: 200
   851      duration: ""
   852  - request:
   853      body: ""
   854      form: {}
   855      headers:
   856        Connection:
   857        - close
   858        User-Agent:
   859        - Files.com Go SDK 2.0.0-beta
   860      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src?page=1
   861      method: GET
   862    response:
   863      body: '[{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:10:37Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}]'
   864      headers:
   865        Cache-Control:
   866        - no-cache, no-store, max-age=0, must-revalidate
   867        Content-Type:
   868        - application/json
   869        Date:
   870        - Mon, 06 Feb 2023 17:10:42 GMT
   871        Expires:
   872        - Fri, 01 Jan 1990 00:00:00 GMT
   873        Pragma:
   874        - no-cache
   875        Server:
   876        - nginx
   877        X-Request-Id:
   878        - 10afd004-2d8b-4765-9ef4-0b0a7f0ae97b
   879        - 2b1eb4cda940164a800769c11cf85d1d
   880      status: 200 OK
   881      code: 200
   882      duration: ""
   883  - request:
   884      body: ""
   885      form: {}
   886      headers:
   887        Connection:
   888        - close
   889        User-Agent:
   890        - Files.com Go SDK 2.0.0-beta
   891      url: https://app.files.com/api/rest/v1/folders/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo?page=1
   892      method: GET
   893    response:
   894      body: '[{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:38Z","mtime":"2023-02-06T17:10:38Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}]'
   895      headers:
   896        Cache-Control:
   897        - no-cache, no-store, max-age=0, must-revalidate
   898        Content-Type:
   899        - application/json
   900        Date:
   901        - Mon, 06 Feb 2023 17:10:42 GMT
   902        Expires:
   903        - Fri, 01 Jan 1990 00:00:00 GMT
   904        Pragma:
   905        - no-cache
   906        Server:
   907        - nginx
   908        X-Request-Id:
   909        - a7f02b83-fe0f-4da6-924c-b961c357c737
   910        - d8318123676caa6691c2cfd8175c77ce
   911      status: 200 OK
   912      code: 200
   913      duration: ""
   914  - request:
   915      body: ""
   916      form: {}
   917      headers:
   918        Connection:
   919        - close
   920        User-Agent:
   921        - Files.com Go SDK 2.0.0-beta
   922      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_baz.txt_to_Dest_with_rename/src-root?recursive=true
   923      method: DELETE
   924    response:
   925      body: ""
   926      headers:
   927        Cache-Control:
   928        - no-cache, no-store, max-age=0, must-revalidate
   929        Date:
   930        - Mon, 06 Feb 2023 17:10:42 GMT
   931        Expires:
   932        - Fri, 01 Jan 1990 00:00:00 GMT
   933        Pragma:
   934        - no-cache
   935        Server:
   936        - nginx
   937        X-Request-Id:
   938        - f21fc7ca-50b5-43e3-bf45-370df3d8b06d
   939        - e3caf3e23c5d53945d8b21ff09353b96
   940      status: 204 No Content
   941      code: 204
   942      duration: ""