github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestUploader/uploader/copy_contents_of_foo_to_bar.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":"27f5be6b-bb1e-4013-a66c-ac4ea7650bcd","title":"Destination
    18        Exists","type":"processing-failure/destination-exists"}'
    19      headers:
    20        Cache-Control:
    21        - no-cache, no-store, max-age=0, must-revalidate
    22        Content-Length:
    23        - "177"
    24        Content-Type:
    25        - application/json
    26        Date:
    27        - Mon, 06 Feb 2023 17:27:24 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        - 27f5be6b-bb1e-4013-a66c-ac4ea7650bcd
    38        - e894b8b6b3d580e92826cb5ff66aee76
    39      status: 422 Unprocessable Entity
    40      code: 422
    41      duration: ""
    42  - request:
    43      body: '{}'
    44      form: {}
    45      headers:
    46        Connection:
    47        - close
    48        Content-Type:
    49        - application/json
    50        User-Agent:
    51        - Files.com Go SDK 2.0.0-beta
    52      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar
    53      method: POST
    54    response:
    55      body: '{"error":"The destination exists.","http-code":422,"instance":"e49ba471-8660-46e0-9071-2a9e8af0a079","title":"Destination
    56        Exists","type":"processing-failure/destination-exists"}'
    57      headers:
    58        Cache-Control:
    59        - no-cache, no-store, max-age=0, must-revalidate
    60        Content-Length:
    61        - "177"
    62        Content-Type:
    63        - application/json
    64        Date:
    65        - Mon, 06 Feb 2023 17:27:24 GMT
    66        Expires:
    67        - Fri, 01 Jan 1990 00:00:00 GMT
    68        Pragma:
    69        - no-cache
    70        Server:
    71        - nginx
    72        X-Files-Error-Class:
    73        - processing-failure/destination-exists
    74        X-Request-Id:
    75        - e49ba471-8660-46e0-9071-2a9e8af0a079
    76        - 9849a04423adf25340a90599f8d182f3
    77      status: 422 Unprocessable Entity
    78      code: 422
    79      duration: ""
    80  - request:
    81      body: '{}'
    82      form: {}
    83      headers:
    84        Connection:
    85        - close
    86        Content-Type:
    87        - application/json
    88        User-Agent:
    89        - Files.com Go SDK 2.0.0-beta
    90      url: https://app.files.com/api/rest/v1/folders/tmp
    91      method: POST
    92    response:
    93      body: '{"error":"The destination exists.","http-code":422,"instance":"58bee24a-1c16-4977-aa2f-e4212cf9f90c","title":"Destination
    94        Exists","type":"processing-failure/destination-exists"}'
    95      headers:
    96        Cache-Control:
    97        - no-cache, no-store, max-age=0, must-revalidate
    98        Content-Length:
    99        - "177"
   100        Content-Type:
   101        - application/json
   102        Date:
   103        - Mon, 06 Feb 2023 17:27:25 GMT
   104        Expires:
   105        - Fri, 01 Jan 1990 00:00:00 GMT
   106        Pragma:
   107        - no-cache
   108        Server:
   109        - nginx
   110        X-Files-Error-Class:
   111        - processing-failure/destination-exists
   112        X-Request-Id:
   113        - 58bee24a-1c16-4977-aa2f-e4212cf9f90c
   114        - 9ae1b27577fff58c19a1d33120745eef
   115      status: 422 Unprocessable Entity
   116      code: 422
   117      duration: ""
   118  - request:
   119      body: '{}'
   120      form: {}
   121      headers:
   122        Connection:
   123        - close
   124        Content-Type:
   125        - application/json
   126        User-Agent:
   127        - Files.com Go SDK 2.0.0-beta
   128      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar
   129      method: POST
   130    response:
   131      body: '{"error":"The destination exists.","http-code":422,"instance":"00954786-6003-4ec8-9a4a-d4f9aa1c98ae","title":"Destination
   132        Exists","type":"processing-failure/destination-exists"}'
   133      headers:
   134        Cache-Control:
   135        - no-cache, no-store, max-age=0, must-revalidate
   136        Content-Length:
   137        - "177"
   138        Content-Type:
   139        - application/json
   140        Date:
   141        - Mon, 06 Feb 2023 17:27:25 GMT
   142        Expires:
   143        - Fri, 01 Jan 1990 00:00:00 GMT
   144        Pragma:
   145        - no-cache
   146        Server:
   147        - nginx
   148        X-Files-Error-Class:
   149        - processing-failure/destination-exists
   150        X-Request-Id:
   151        - 00954786-6003-4ec8-9a4a-d4f9aa1c98ae
   152        - 551bbd349b29aaf546f0561e7ab5bbb6
   153      status: 422 Unprocessable Entity
   154      code: 422
   155      duration: ""
   156  - request:
   157      body: '{}'
   158      form: {}
   159      headers:
   160        Connection:
   161        - close
   162        Content-Type:
   163        - application/json
   164        User-Agent:
   165        - Files.com Go SDK 2.0.0-beta
   166      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root
   167      method: POST
   168    response:
   169      body: '{"error":"The destination exists.","http-code":422,"instance":"89694e8c-ee3d-46a8-bc32-acc9c4515823","title":"Destination
   170        Exists","type":"processing-failure/destination-exists"}'
   171      headers:
   172        Cache-Control:
   173        - no-cache, no-store, max-age=0, must-revalidate
   174        Content-Length:
   175        - "177"
   176        Content-Type:
   177        - application/json
   178        Date:
   179        - Mon, 06 Feb 2023 17:27:25 GMT
   180        Expires:
   181        - Fri, 01 Jan 1990 00:00:00 GMT
   182        Pragma:
   183        - no-cache
   184        Server:
   185        - nginx
   186        X-Files-Error-Class:
   187        - processing-failure/destination-exists
   188        X-Request-Id:
   189        - 89694e8c-ee3d-46a8-bc32-acc9c4515823
   190        - 0f42f4d078de9eef6114c9692f5a1aa1
   191      status: 422 Unprocessable Entity
   192      code: 422
   193      duration: ""
   194  - request:
   195      body: '{}'
   196      form: {}
   197      headers:
   198        Connection:
   199        - close
   200        Content-Type:
   201        - application/json
   202        User-Agent:
   203        - Files.com Go SDK 2.0.0-beta
   204      url: https://app.files.com/api/rest/v1/folders/tmp
   205      method: POST
   206    response:
   207      body: '{"error":"The destination exists.","http-code":422,"instance":"15a020b6-436e-4b7b-90d5-98618b3ff086","title":"Destination
   208        Exists","type":"processing-failure/destination-exists"}'
   209      headers:
   210        Cache-Control:
   211        - no-cache, no-store, max-age=0, must-revalidate
   212        Content-Length:
   213        - "177"
   214        Content-Type:
   215        - application/json
   216        Date:
   217        - Mon, 06 Feb 2023 17:27:26 GMT
   218        Expires:
   219        - Fri, 01 Jan 1990 00:00:00 GMT
   220        Pragma:
   221        - no-cache
   222        Server:
   223        - nginx
   224        X-Files-Error-Class:
   225        - processing-failure/destination-exists
   226        X-Request-Id:
   227        - 15a020b6-436e-4b7b-90d5-98618b3ff086
   228        - 68e1df8e1a2549b2e60a0082ffaaa17e
   229      status: 422 Unprocessable Entity
   230      code: 422
   231      duration: ""
   232  - request:
   233      body: '{}'
   234      form: {}
   235      headers:
   236        Connection:
   237        - close
   238        Content-Type:
   239        - application/json
   240        User-Agent:
   241        - Files.com Go SDK 2.0.0-beta
   242      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar
   243      method: POST
   244    response:
   245      body: '{"error":"The destination exists.","http-code":422,"instance":"71710fc1-049d-475d-9479-85c383333efe","title":"Destination
   246        Exists","type":"processing-failure/destination-exists"}'
   247      headers:
   248        Cache-Control:
   249        - no-cache, no-store, max-age=0, must-revalidate
   250        Content-Length:
   251        - "177"
   252        Content-Type:
   253        - application/json
   254        Date:
   255        - Mon, 06 Feb 2023 17:27:26 GMT
   256        Expires:
   257        - Fri, 01 Jan 1990 00:00:00 GMT
   258        Pragma:
   259        - no-cache
   260        Server:
   261        - nginx
   262        X-Files-Error-Class:
   263        - processing-failure/destination-exists
   264        X-Request-Id:
   265        - 71710fc1-049d-475d-9479-85c383333efe
   266        - 13c7eda9688c921b9c38434addc68ba3
   267      status: 422 Unprocessable Entity
   268      code: 422
   269      duration: ""
   270  - request:
   271      body: '{}'
   272      form: {}
   273      headers:
   274        Connection:
   275        - close
   276        Content-Type:
   277        - application/json
   278        User-Agent:
   279        - Files.com Go SDK 2.0.0-beta
   280      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root
   281      method: POST
   282    response:
   283      body: '{"error":"The destination exists.","http-code":422,"instance":"1e2f741d-3fe6-4fa9-baa4-a6d639cb46e3","title":"Destination
   284        Exists","type":"processing-failure/destination-exists"}'
   285      headers:
   286        Cache-Control:
   287        - no-cache, no-store, max-age=0, must-revalidate
   288        Content-Length:
   289        - "177"
   290        Content-Type:
   291        - application/json
   292        Date:
   293        - Mon, 06 Feb 2023 17:27:26 GMT
   294        Expires:
   295        - Fri, 01 Jan 1990 00:00:00 GMT
   296        Pragma:
   297        - no-cache
   298        Server:
   299        - nginx
   300        X-Files-Error-Class:
   301        - processing-failure/destination-exists
   302        X-Request-Id:
   303        - 1e2f741d-3fe6-4fa9-baa4-a6d639cb46e3
   304        - da66fea8d8757acaac29f5ce09d1acad
   305      status: 422 Unprocessable Entity
   306      code: 422
   307      duration: ""
   308  - request:
   309      body: '{}'
   310      form: {}
   311      headers:
   312        Connection:
   313        - close
   314        Content-Type:
   315        - application/json
   316        User-Agent:
   317        - Files.com Go SDK 2.0.0-beta
   318      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest
   319      method: POST
   320    response:
   321      body: '{"error":"The destination exists.","http-code":422,"instance":"c3876147-4e25-42f5-8bd6-c0056206fba3","title":"Destination
   322        Exists","type":"processing-failure/destination-exists"}'
   323      headers:
   324        Cache-Control:
   325        - no-cache, no-store, max-age=0, must-revalidate
   326        Content-Length:
   327        - "177"
   328        Content-Type:
   329        - application/json
   330        Date:
   331        - Mon, 06 Feb 2023 17:27:27 GMT
   332        Expires:
   333        - Fri, 01 Jan 1990 00:00:00 GMT
   334        Pragma:
   335        - no-cache
   336        Server:
   337        - nginx
   338        X-Files-Error-Class:
   339        - processing-failure/destination-exists
   340        X-Request-Id:
   341        - c3876147-4e25-42f5-8bd6-c0056206fba3
   342        - 1012504af415e796b50d5361fc60ca4d
   343      status: 422 Unprocessable Entity
   344      code: 422
   345      duration: ""
   346  - request:
   347      body: '{}'
   348      form: {}
   349      headers:
   350        Connection:
   351        - close
   352        Content-Type:
   353        - application/json
   354        User-Agent:
   355        - Files.com Go SDK 2.0.0-beta
   356      url: https://app.files.com/api/rest/v1/folders/tmp
   357      method: POST
   358    response:
   359      body: '{"error":"The destination exists.","http-code":422,"instance":"6de888e8-fe09-423a-b8c5-e40be846c658","title":"Destination
   360        Exists","type":"processing-failure/destination-exists"}'
   361      headers:
   362        Cache-Control:
   363        - no-cache, no-store, max-age=0, must-revalidate
   364        Content-Length:
   365        - "177"
   366        Content-Type:
   367        - application/json
   368        Date:
   369        - Mon, 06 Feb 2023 17:27:27 GMT
   370        Expires:
   371        - Fri, 01 Jan 1990 00:00:00 GMT
   372        Pragma:
   373        - no-cache
   374        Server:
   375        - nginx
   376        X-Files-Error-Class:
   377        - processing-failure/destination-exists
   378        X-Request-Id:
   379        - 6de888e8-fe09-423a-b8c5-e40be846c658
   380        - cae9dc3b9756abcf6c4f5109d22cd1cb
   381      status: 422 Unprocessable Entity
   382      code: 422
   383      duration: ""
   384  - request:
   385      body: '{}'
   386      form: {}
   387      headers:
   388        Connection:
   389        - close
   390        Content-Type:
   391        - application/json
   392        User-Agent:
   393        - Files.com Go SDK 2.0.0-beta
   394      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar
   395      method: POST
   396    response:
   397      body: '{"error":"The destination exists.","http-code":422,"instance":"bc5b7338-9a2a-4367-b561-7f9b650116d7","title":"Destination
   398        Exists","type":"processing-failure/destination-exists"}'
   399      headers:
   400        Cache-Control:
   401        - no-cache, no-store, max-age=0, must-revalidate
   402        Content-Length:
   403        - "177"
   404        Content-Type:
   405        - application/json
   406        Date:
   407        - Mon, 06 Feb 2023 17:27:28 GMT
   408        Expires:
   409        - Fri, 01 Jan 1990 00:00:00 GMT
   410        Pragma:
   411        - no-cache
   412        Server:
   413        - nginx
   414        X-Files-Error-Class:
   415        - processing-failure/destination-exists
   416        X-Request-Id:
   417        - bc5b7338-9a2a-4367-b561-7f9b650116d7
   418        - 2ab2c3aad464b3459e4c3450df7d6afa
   419      status: 422 Unprocessable Entity
   420      code: 422
   421      duration: ""
   422  - request:
   423      body: '{}'
   424      form: {}
   425      headers:
   426        Connection:
   427        - close
   428        Content-Type:
   429        - application/json
   430        User-Agent:
   431        - Files.com Go SDK 2.0.0-beta
   432      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root
   433      method: POST
   434    response:
   435      body: '{"error":"The destination exists.","http-code":422,"instance":"e388d512-640a-4845-8e98-4d3f5b6f21a9","title":"Destination
   436        Exists","type":"processing-failure/destination-exists"}'
   437      headers:
   438        Cache-Control:
   439        - no-cache, no-store, max-age=0, must-revalidate
   440        Content-Length:
   441        - "177"
   442        Content-Type:
   443        - application/json
   444        Date:
   445        - Mon, 06 Feb 2023 17:27:28 GMT
   446        Expires:
   447        - Fri, 01 Jan 1990 00:00:00 GMT
   448        Pragma:
   449        - no-cache
   450        Server:
   451        - nginx
   452        X-Files-Error-Class:
   453        - processing-failure/destination-exists
   454        X-Request-Id:
   455        - e388d512-640a-4845-8e98-4d3f5b6f21a9
   456        - ec59133e92ca23fb91cc97efdefa6136
   457      status: 422 Unprocessable Entity
   458      code: 422
   459      duration: ""
   460  - request:
   461      body: '{}'
   462      form: {}
   463      headers:
   464        Connection:
   465        - close
   466        Content-Type:
   467        - application/json
   468        User-Agent:
   469        - Files.com Go SDK 2.0.0-beta
   470      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest
   471      method: POST
   472    response:
   473      body: '{"error":"The destination exists.","http-code":422,"instance":"6e035dd4-cf0f-4f5b-8700-1d1e283998bd","title":"Destination
   474        Exists","type":"processing-failure/destination-exists"}'
   475      headers:
   476        Cache-Control:
   477        - no-cache, no-store, max-age=0, must-revalidate
   478        Content-Length:
   479        - "177"
   480        Content-Type:
   481        - application/json
   482        Date:
   483        - Mon, 06 Feb 2023 17:27:28 GMT
   484        Expires:
   485        - Fri, 01 Jan 1990 00:00:00 GMT
   486        Pragma:
   487        - no-cache
   488        Server:
   489        - nginx
   490        X-Files-Error-Class:
   491        - processing-failure/destination-exists
   492        X-Request-Id:
   493        - 6e035dd4-cf0f-4f5b-8700-1d1e283998bd
   494        - 23641cd3a27ef49229628bc5a5405413
   495      status: 422 Unprocessable Entity
   496      code: 422
   497      duration: ""
   498  - request:
   499      body: '{}'
   500      form: {}
   501      headers:
   502        Connection:
   503        - close
   504        Content-Type:
   505        - application/json
   506        User-Agent:
   507        - Files.com Go SDK 2.0.0-beta
   508      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar
   509      method: POST
   510    response:
   511      body: '{"error":"The destination exists.","http-code":422,"instance":"0dd1128d-9e6a-4cd2-9987-6f1ba95b3916","title":"Destination
   512        Exists","type":"processing-failure/destination-exists"}'
   513      headers:
   514        Cache-Control:
   515        - no-cache, no-store, max-age=0, must-revalidate
   516        Content-Length:
   517        - "177"
   518        Content-Type:
   519        - application/json
   520        Date:
   521        - Mon, 06 Feb 2023 17:27:29 GMT
   522        Expires:
   523        - Fri, 01 Jan 1990 00:00:00 GMT
   524        Pragma:
   525        - no-cache
   526        Server:
   527        - nginx
   528        X-Files-Error-Class:
   529        - processing-failure/destination-exists
   530        X-Request-Id:
   531        - 0dd1128d-9e6a-4cd2-9987-6f1ba95b3916
   532        - ff3a9117ec726fc547a3f8f5990b9166
   533      status: 422 Unprocessable Entity
   534      code: 422
   535      duration: ""
   536  - request:
   537      body: '{"mkdir_parents":true}'
   538      form: {}
   539      headers:
   540        Connection:
   541        - close
   542        Content-Type:
   543        - application/json
   544        User-Agent:
   545        - Files.com Go SDK 2.0.0-beta
   546      url: https://app.files.com/api/rest/v1/file_actions/begin_upload/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar/baz.txt
   547      method: POST
   548    response:
   549      body: '[{"send":{"partsize":"required-header Content-Length","partdata":"body"},"action":"put/write","ask_about_overwrites":false,"available_parts":10000,"expires":"2023-02-06T17:42:29Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118594311","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/b5351747-2d97-49f3-86e1-e2107fe5c044?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T172729Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=EPDCjn0ZqaJWi6gciueRr2nNMimNZH0VoVC_G0alnZini7b6hm0VTTPvqo4bSTkHarx8GhyZyxqo45Iti9EIc7kdedEdxyYWMUyn1bgzORPd_uO4KvAJQ27KJ6exyqeA\u0026X-Amz-Signature=d9e767e4b37c982837bb717933f01f415d614a599b572fcba0d360afd7be89b7"}]'
   550      headers:
   551        Cache-Control:
   552        - no-cache, no-store, max-age=0, must-revalidate
   553        Content-Type:
   554        - application/json
   555        Date:
   556        - Mon, 06 Feb 2023 17:27:29 GMT
   557        Expires:
   558        - Fri, 01 Jan 1990 00:00:00 GMT
   559        Pragma:
   560        - no-cache
   561        Server:
   562        - nginx
   563        X-Request-Id:
   564        - 1815a08f-ac34-4dca-b073-26b9bb06096b
   565        - ddfe9b601c2cd1e8db719a5077459b63
   566      status: 200 OK
   567      code: 200
   568      duration: ""
   569  - request:
   570      body: ""
   571      form: {}
   572      headers:
   573        Connection:
   574        - close
   575        Content-Length:
   576        - "0"
   577      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/b5351747-2d97-49f3-86e1-e2107fe5c044?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T172729Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=EPDCjn0ZqaJWi6gciueRr2nNMimNZH0VoVC_G0alnZini7b6hm0VTTPvqo4bSTkHarx8GhyZyxqo45Iti9EIc7kdedEdxyYWMUyn1bgzORPd_uO4KvAJQ27KJ6exyqeA&X-Amz-Signature=d9e767e4b37c982837bb717933f01f415d614a599b572fcba0d360afd7be89b7
   578      method: PUT
   579    response:
   580      body: ""
   581      headers:
   582        Content-Length:
   583        - "0"
   584        Date:
   585        - Mon, 06 Feb 2023 17:27:30 GMT
   586        Etag:
   587        - '"d41d8cd98f00b204e9800998ecf8427e"'
   588        Server:
   589        - AmazonS3
   590        X-Amz-Id-2:
   591        - od+1L/ZB2Yf3SXfoRwXV+IeRbFISKA4y/DGYeImmmPZHtZ8857156m8U/7Q0YYi+APnu+k4iXF4=
   592        X-Amz-Request-Id:
   593        - XCYZN7MZHWW0M72S
   594        X-Amz-Server-Side-Encryption:
   595        - AES256
   596      status: 200 OK
   597      code: 200
   598      duration: ""
   599  - request:
   600      body: '{"action":"end","etags":[{"etag":"d41d8cd98f00b204e9800998ecf8427e","part":"1"}],"mkdir_parents":true,"provided_mtime":"2023-02-06T09:27:25.766831836-08:00","ref":"put-4118594311"}'
   601      form: {}
   602      headers:
   603        Connection:
   604        - close
   605        Content-Type:
   606        - application/json
   607        User-Agent:
   608        - Files.com Go SDK 2.0.0-beta
   609      url: https://app.files.com/api/rest/v1/files/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar/baz.txt
   610      method: POST
   611    response:
   612      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:30Z","mtime":"2023-02-06T17:27:30Z","provided_mtime":"2023-02-06T17:27:25Z","crc32":null,"md5":null,"mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   613      headers:
   614        Cache-Control:
   615        - no-cache, no-store, max-age=0, must-revalidate
   616        Content-Length:
   617        - "337"
   618        Content-Type:
   619        - application/json
   620        Date:
   621        - Mon, 06 Feb 2023 17:27:30 GMT
   622        Expires:
   623        - Fri, 01 Jan 1990 00:00:00 GMT
   624        Pragma:
   625        - no-cache
   626        Server:
   627        - nginx
   628        X-Request-Id:
   629        - 45b0fd2e-9184-48d2-a2db-3c9a58c2c682
   630        - e5b40632c796ed85659e0f6555c01b87
   631      status: 201 Created
   632      code: 201
   633      duration: ""
   634  - request:
   635      body: ""
   636      form: {}
   637      headers:
   638        Connection:
   639        - close
   640        User-Agent:
   641        - Files.com Go SDK 2.0.0-beta
   642      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar
   643      method: GET
   644    response:
   645      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar","display_name":"bar","type":"directory","size":null,"created_at":"2023-02-06T17:20:40Z","mtime":"2023-02-06T17:27:30Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   646      headers:
   647        Cache-Control:
   648        - no-cache, no-store, max-age=0, must-revalidate
   649        Content-Type:
   650        - application/json
   651        Date:
   652        - Mon, 06 Feb 2023 17:27:31 GMT
   653        Expires:
   654        - Fri, 01 Jan 1990 00:00:00 GMT
   655        Pragma:
   656        - no-cache
   657        Server:
   658        - nginx
   659        X-Request-Id:
   660        - 42eee734-34ea-4ac1-bda0-46a503bb66c5
   661        - 32772c3f87a54aa91ef42fee83bd15d1
   662      status: 200 OK
   663      code: 200
   664      duration: ""
   665  - request:
   666      body: ""
   667      form: {}
   668      headers:
   669        Connection:
   670        - close
   671        User-Agent:
   672        - Files.com Go SDK 2.0.0-beta
   673      url: https://app.files.com/api/rest/v1/folders/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar?page=1
   674      method: GET
   675    response:
   676      body: '[{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest/bar/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:30Z","mtime":"2023-02-06T17:27:30Z","provided_mtime":"2023-02-06T17:27:25Z","crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}]'
   677      headers:
   678        Cache-Control:
   679        - no-cache, no-store, max-age=0, must-revalidate
   680        Content-Type:
   681        - application/json
   682        Date:
   683        - Mon, 06 Feb 2023 17:27:31 GMT
   684        Expires:
   685        - Fri, 01 Jan 1990 00:00:00 GMT
   686        Pragma:
   687        - no-cache
   688        Server:
   689        - nginx
   690        X-Request-Id:
   691        - 0283dd5a-7dc0-4d3e-afac-36b7624c5d9d
   692        - 7caeaad1d7e2439447c034267383a639
   693      status: 200 OK
   694      code: 200
   695      duration: ""
   696  - request:
   697      body: ""
   698      form: {}
   699      headers:
   700        Connection:
   701        - close
   702        User-Agent:
   703        - Files.com Go SDK 2.0.0-beta
   704      url: https://app.files.com/api/rest/v1/file_actions/metadata/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest
   705      method: GET
   706    response:
   707      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root/Dest","display_name":"Dest","type":"directory","size":null,"created_at":"2023-02-06T17:20:38Z","mtime":"2023-02-06T17:27:30Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   708      headers:
   709        Cache-Control:
   710        - no-cache, no-store, max-age=0, must-revalidate
   711        Content-Type:
   712        - application/json
   713        Date:
   714        - Mon, 06 Feb 2023 17:27:31 GMT
   715        Expires:
   716        - Fri, 01 Jan 1990 00:00:00 GMT
   717        Pragma:
   718        - no-cache
   719        Server:
   720        - nginx
   721        X-Request-Id:
   722        - d943e859-11be-4449-a09a-87bcb533225d
   723        - 1a0662d9dcf2da326f540e30acd7c49d
   724      status: 200 OK
   725      code: 200
   726      duration: ""
   727  - request:
   728      body: ""
   729      form: {}
   730      headers:
   731        Connection:
   732        - close
   733        User-Agent:
   734        - Files.com Go SDK 2.0.0-beta
   735      url: https://app.files.com/api/rest/v1/files/tmp/TestUploader-uploader-copy_contents_of_foo_to_bar/dest-root?recursive=true
   736      method: DELETE
   737    response:
   738      body: ""
   739      headers:
   740        Cache-Control:
   741        - no-cache, no-store, max-age=0, must-revalidate
   742        Date:
   743        - Mon, 06 Feb 2023 17:27:32 GMT
   744        Expires:
   745        - Fri, 01 Jan 1990 00:00:00 GMT
   746        Pragma:
   747        - no-cache
   748        Server:
   749        - nginx
   750        X-Request-Id:
   751        - 3bff62fa-4b4d-45c9-ad6d-752e4fa22f7b
   752        - ef1ce15ee3000eebfa20f9e8ab147c74
   753      status: 204 No Content
   754      code: 204
   755      duration: ""