github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/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":"be1832f9-d268-45c7-90a3-988d40f9be3c","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:21 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        - be1832f9-d268-45c7-90a3-988d40f9be3c
    38        - 8a7147ece81f31d56f80303d2b0a76a1
    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_without_Name
    53      method: POST
    54    response:
    55      body: '{"display_name":"TestDownload-downloader-copy_baz.txt_to_Dest_without_Name","type":"directory","size":null,"created_at":"2023-02-06T17:10:21Z","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        - "212"
    61        Content-Type:
    62        - application/json
    63        Date:
    64        - Mon, 06 Feb 2023 17:10:21 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        - 1ca82648-fa82-44f1-b8ca-ba757aeebdb4
    73        - ba7779aa4550f099de6f3007d9ac339c
    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":"3b8007f2-5d77-45d5-a1c1-60a467ddf710","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:22 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        - 3b8007f2-5d77-45d5-a1c1-60a467ddf710
   111        - 40c97310c7187e3d0f1cb292042c6d84
   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_without_Name
   126      method: POST
   127    response:
   128      body: '{"error":"The destination exists.","http-code":422,"instance":"5d72d7ba-58b0-48e5-8ba9-89d496e5462e","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:22 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        - 5d72d7ba-58b0-48e5-8ba9-89d496e5462e
   149        - 6103d6caff7c4e78ce682187768836c2
   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_without_Name/src-root
   164      method: POST
   165    response:
   166      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2023-02-06T17:10:22Z","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:22 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        - de9c238e-8b95-44d9-b830-732b61882bb5
   184        - 9e9a9ef90857d24556900068e13ea3d9
   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":"9f815ebb-577a-44c1-adf3-67b954622ea7","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:23 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        - 9f815ebb-577a-44c1-adf3-67b954622ea7
   222        - 9d4570e772ee97f947a766455b331cc6
   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_without_Name
   237      method: POST
   238    response:
   239      body: '{"error":"The destination exists.","http-code":422,"instance":"58e06978-7e0c-4da5-9d94-d1f7df016a66","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:23 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        - 58e06978-7e0c-4da5-9d94-d1f7df016a66
   260        - a57d6ac4c355f42983eb469dba0e12e1
   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_without_Name/src-root
   275      method: POST
   276    response:
   277      body: '{"error":"The destination exists.","http-code":422,"instance":"1583e4f3-1463-4f4f-b65f-1cfd86e7de60","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:24 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        - 1583e4f3-1463-4f4f-b65f-1cfd86e7de60
   298        - fd00493418cd93f62d12ec08fed96de4
   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_without_Name/src-root/Src
   313      method: POST
   314    response:
   315      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:10:24Z","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:24 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        - b1d9daf4-b72d-4454-b2a6-aeb64b6f06b1
   333        - 54af9409371cb2b8d9f03390ac88397e
   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":"d882942a-ad57-4fb6-9ecc-2393f0a65d3c","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:24 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        - d882942a-ad57-4fb6-9ecc-2393f0a65d3c
   371        - 934b19b7dad0a7b113fadeac6b5f9c79
   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_without_Name
   386      method: POST
   387    response:
   388      body: '{"error":"The destination exists.","http-code":422,"instance":"81e090a5-a21d-45cb-baf6-e09f0d48228e","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:25 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        - 81e090a5-a21d-45cb-baf6-e09f0d48228e
   409        - d658abde221a4f99940324a65f9d4ba4
   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_without_Name/src-root
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"e1862227-6ace-4c92-86e2-c452cf0c5b63","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:25 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        - e1862227-6ace-4c92-86e2-c452cf0c5b63
   447        - 0d314b7568f8549b9d0e3ee97b76616e
   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_without_Name/src-root/Src
   462      method: POST
   463    response:
   464      body: '{"error":"The destination exists.","http-code":422,"instance":"e145725c-0cb9-47e5-ab6e-08fcd167d83a","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:26 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        - e145725c-0cb9-47e5-ab6e-08fcd167d83a
   485        - 3db6717052eacc61d6066433a226ebeb
   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_without_Name/src-root/Src/foo
   500      method: POST
   501    response:
   502      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:10:26Z","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:26 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        - 7d4a7c43-fbb3-42dd-941d-9c7f1d7c557b
   520        - 20ec5f1db40d205bec1900027449dff2
   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_without_Name/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:26Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118474097","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/40e7c35b-6b01-4055-896e-cd8da9892dc2?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T171026Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=c.yosBhb0htgFSg.t0e1h6jpxgQqNpPcnrrj.6qFtSlVm.E_z0ODpLHuOuvObEejj42Aeo2zXX6Y1tNWwV7FbMaS5DmhzMq6jjeVwTlVMRZ0fI4NXmMSWi5UsH9xaoVR\u0026X-Amz-Signature=ed0313ab642a2d4465fe42ba17b6a306b873430eb6b4f1ae08b7db677197bed6"}]'
   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:26 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        - 1ce5ef42-2e4c-46d0-8346-43548aa8d729
   553        - 0fff10d82508c88bdc098890e9bb6362
   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/40e7c35b-6b01-4055-896e-cd8da9892dc2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T171026Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=c.yosBhb0htgFSg.t0e1h6jpxgQqNpPcnrrj.6qFtSlVm.E_z0ODpLHuOuvObEejj42Aeo2zXX6Y1tNWwV7FbMaS5DmhzMq6jjeVwTlVMRZ0fI4NXmMSWi5UsH9xaoVR&X-Amz-Signature=ed0313ab642a2d4465fe42ba17b6a306b873430eb6b4f1ae08b7db677197bed6
   566      method: PUT
   567    response:
   568      body: ""
   569      headers:
   570        Content-Length:
   571        - "0"
   572        Date:
   573        - Mon, 06 Feb 2023 17:10:28 GMT
   574        Etag:
   575        - '"d41d8cd98f00b204e9800998ecf8427e"'
   576        Server:
   577        - AmazonS3
   578        X-Amz-Id-2:
   579        - 4Awb+iatp43HgCvEjmHLY6P+42GUNScfyaK0VArHTCHTk+8CQY1APv/YSjNpwMMygXC54X5kVPQ=
   580        X-Amz-Request-Id:
   581        - 7VFZXS7TE09NW58X
   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-4118474097"}'
   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_without_Name/src-root/Src/foo/baz.txt
   598      method: POST
   599    response:
   600      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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        - "325"
   606        Content-Type:
   607        - application/json
   608        Date:
   609        - Mon, 06 Feb 2023 17:10:27 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        - eea51737-a3de-43ce-9377-6b56a6084418
   618        - 27d8d658410b9a6bf16e8708d29e42d5
   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_without_Name/src-root/Src/foo/baz.txt
   631      method: GET
   632    response:
   633      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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:28 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        - 45ff1e33-4e10-470c-aa60-37ab23680ccd
   649        - 8a054247fcc7036ae9605f486eb106c1
   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_without_Name/src-root/Src/foo/baz.txt
   662      method: GET
   663    response:
   664      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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:28 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        - a8417a71-2d96-46e4-b39a-af22f25f07b1
   680        - 457d05a2920c977a97d547e439b45de5
   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_without_Name/src-root/Src/foo/baz.txt
   693      method: GET
   694    response:
   695      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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:29 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        - c55e4893-b6d9-4dd1-8cd5-b120a8da9844
   711        - 945ea1d1f1d2bbe9eea614a22ac53f88
   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_without_Name/src-root/Src/foo/baz.txt
   724      method: GET
   725    response:
   726      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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/40e7c35b-6b01-4055-896e-cd8da9892dc2?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T171029Z\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=1250a4186e42dcea3cba6b2a37156712103c0b69ff29c000e3133d2c6eba139b"}'
   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:29 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        - 3ba154eb-ef29-4103-854f-22a806b5328d
   742        - a2a1e3aae7c817cde288fdbedb7d73cc
   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/40e7c35b-6b01-4055-896e-cd8da9892dc2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T171029Z&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=1250a4186e42dcea3cba6b2a37156712103c0b69ff29c000e3133d2c6eba139b
   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:30 GMT
   767        Etag:
   768        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   769        Last-Modified:
   770        - Mon, 06 Feb 2023 17:10:27 GMT
   771        Server:
   772        - AmazonS3
   773        X-Amz-Id-2:
   774        - JWqKUMpmQIDTFpBHFpygfiQdyUWVsYgus33EdxD5Zn6bOt5ucNFSll2lVq41LmzgofX/91MLbwM=
   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        - FZJZDP19Z1KQF3CA
   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_without_Name/src-root/Src/foo/baz.txt
   799      method: GET
   800    response:
   801      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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:30 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        - e5a5a902-c13e-4a82-bab3-1d2e9d4e8675
   817        - ca2c4728bad6f75a75970ea842ba2ef2
   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_without_Name/src-root/Src
   830      method: GET
   831    response:
   832      body: '{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src","display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:10:24Z","mtime":"2023-02-06T17:10:27Z","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:30 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        - 9e28415a-21e5-4590-87d9-aca6dc1180a7
   848        - d3bc7d6f2da66f4c79e41751085f9dc3
   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_without_Name/src-root/Src?page=1
   861      method: GET
   862    response:
   863      body: '[{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:10:26Z","mtime":"2023-02-06T17:10:27Z","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:30 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        - 421c002a-8490-4cae-971c-559a41edf5eb
   879        - 3f90f997e95cf31dbc4f62a9a2693c51
   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_without_Name/src-root/Src/foo?page=1
   892      method: GET
   893    response:
   894      body: '[{"path":"tmp/TestDownload-downloader-copy_baz.txt_to_Dest_without_Name/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:10:27Z","mtime":"2023-02-06T17:10:27Z","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:31 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        - b7a2ce3b-1854-400b-9227-288091073707
   910        - 61ddd8bea001519e8217d2c1ac2df296
   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_without_Name/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:31 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        - 8a93187e-bf66-47cc-873a-a7b7aa1748d5
   939        - f9f4a4e12512701adc70721ed0514109
   940      status: 204 No Content
   941      code: 204
   942      duration: ""