github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestUploader/uploader/copy_contents_of_foo_to_foo.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":"e810824a-f93a-42ec-8df2-f228ad1c372d","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:15 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        - e810824a-f93a-42ec-8df2-f228ad1c372d
    38        - 0c5591212935f2cc572ff4287ec29222
    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_foo
    53      method: POST
    54    response:
    55      body: '{"error":"The destination exists.","http-code":422,"instance":"a7ca2797-d22c-4236-9292-a905821a0f92","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:16 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        - a7ca2797-d22c-4236-9292-a905821a0f92
    76        - afd96114456427b5bee6f99653e5c8b6
    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":"c5ac4c59-1cea-47ab-88f9-cccf63d2933a","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:16 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        - c5ac4c59-1cea-47ab-88f9-cccf63d2933a
   114        - fc3da272ceddafd9b6e35c681ad61a7d
   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_foo
   129      method: POST
   130    response:
   131      body: '{"error":"The destination exists.","http-code":422,"instance":"b25b502e-5b10-411d-be68-ae1920ecf8af","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:17 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        - b25b502e-5b10-411d-be68-ae1920ecf8af
   152        - 54e603c0dd774a1f33f569f836fc50b7
   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_foo/dest-root
   167      method: POST
   168    response:
   169      body: '{"error":"The destination exists.","http-code":422,"instance":"470fee04-d739-49e2-a55a-fb5b9581c237","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:17 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        - 470fee04-d739-49e2-a55a-fb5b9581c237
   190        - 6bfac89630995278388792ad5cc24cfd
   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":"d0fa5a1c-862a-4055-a105-8ae0955b33e4","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:17 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        - d0fa5a1c-862a-4055-a105-8ae0955b33e4
   228        - bbb9925628ca4008fa3b8d44a584b1f7
   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_foo
   243      method: POST
   244    response:
   245      body: '{"error":"The destination exists.","http-code":422,"instance":"3081a334-af89-4e5b-b99f-f75a14bf702c","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:18 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        - 3081a334-af89-4e5b-b99f-f75a14bf702c
   266        - 1ef77d72c9829b094d959e7c77dcdab5
   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_foo/dest-root
   281      method: POST
   282    response:
   283      body: '{"error":"The destination exists.","http-code":422,"instance":"ddf84a2b-009d-4c54-aaa3-67b013402719","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:18 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        - ddf84a2b-009d-4c54-aaa3-67b013402719
   304        - 66548b7fa402bdefc2c28803113b70bf
   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_foo/dest-root/Dest
   319      method: POST
   320    response:
   321      body: '{"error":"The destination exists.","http-code":422,"instance":"d35535d8-8534-46d4-bca2-9a8e4e575fe8","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:18 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        - d35535d8-8534-46d4-bca2-9a8e4e575fe8
   342        - d9bda0ed18777066226e32148da85f37
   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":"555801f2-e0d1-40ea-98e5-e0eb0708da6e","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:19 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        - 555801f2-e0d1-40ea-98e5-e0eb0708da6e
   380        - 2df98892791f46274506ce87e58b0a50
   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_foo
   395      method: POST
   396    response:
   397      body: '{"error":"The destination exists.","http-code":422,"instance":"c0056166-978a-450b-aa68-8a9460703d14","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:19 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        - c0056166-978a-450b-aa68-8a9460703d14
   418        - 6fc9926cfb43d6b6035a5e277f5e271b
   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_foo/dest-root
   433      method: POST
   434    response:
   435      body: '{"error":"The destination exists.","http-code":422,"instance":"31474700-877f-4d45-ac97-42493e13b68b","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:20 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        - 31474700-877f-4d45-ac97-42493e13b68b
   456        - fd40277690864a759ba1c47710129960
   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_foo/dest-root/Dest
   471      method: POST
   472    response:
   473      body: '{"error":"The destination exists.","http-code":422,"instance":"5ca2204d-00cc-4cfb-94ff-2079c566896e","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:20 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        - 5ca2204d-00cc-4cfb-94ff-2079c566896e
   494        - 156eedcdbda0dccbf707ede28f388c7e
   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_foo/dest-root/Dest/foo
   509      method: POST
   510    response:
   511      body: '{"error":"The destination exists.","http-code":422,"instance":"74d4cd20-f033-4212-bd29-bc87665b474a","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:20 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        - 74d4cd20-f033-4212-bd29-bc87665b474a
   532        - 799dc1223b44b8ea2f0cb0ccaceabd43
   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_foo/dest-root/Dest/foo/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:21Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118593395","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/da61e379-ebee-43ce-9cde-1e3e9e5831ec?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T172721Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=rLfD7ufUGwcuCS8wJUr3FSgdBHdZbTfI_paT6TC5c4pUnKy_iJWcEexg30of337NwJJ7Z9.5hIH.MuwHKIQ3kHNO23ZSZB6nPMCUpwtTZNUNlS7jcHjW9SXNO8sokBty\u0026X-Amz-Signature=509033a2030ad93d5f475c9f99c98a165d4b2d3a5184cd35bce20efc74f1c55f"}]'
   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:21 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        - 31535698-f0d3-444d-a269-d73a21709174
   565        - aef2456f38a63ab330d32b022c847520
   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/da61e379-ebee-43ce-9cde-1e3e9e5831ec?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T172721Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=rLfD7ufUGwcuCS8wJUr3FSgdBHdZbTfI_paT6TC5c4pUnKy_iJWcEexg30of337NwJJ7Z9.5hIH.MuwHKIQ3kHNO23ZSZB6nPMCUpwtTZNUNlS7jcHjW9SXNO8sokBty&X-Amz-Signature=509033a2030ad93d5f475c9f99c98a165d4b2d3a5184cd35bce20efc74f1c55f
   578      method: PUT
   579    response:
   580      body: ""
   581      headers:
   582        Content-Length:
   583        - "0"
   584        Date:
   585        - Mon, 06 Feb 2023 17:27:22 GMT
   586        Etag:
   587        - '"d41d8cd98f00b204e9800998ecf8427e"'
   588        Server:
   589        - AmazonS3
   590        X-Amz-Id-2:
   591        - /HBBUbFI/JVBW4IXLgHsxfxTq8KBfKXVtsPrmQtIpexsPxs7PBEVNJAI9Tc4iyxn7zXTJQEfKyI=
   592        X-Amz-Request-Id:
   593        - GTADVAZ6E3BN14VC
   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:17.355612371-08:00","ref":"put-4118593395"}'
   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_foo/dest-root/Dest/foo/baz.txt
   610      method: POST
   611    response:
   612      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_foo/dest-root/Dest/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:22Z","mtime":"2023-02-06T17:27:22Z","provided_mtime":"2023-02-06T17:27:17Z","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:22 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        - 57264528-dcf1-4683-bffe-d6d9427319b3
   630        - 24218d81c5e77adca14b67150c3da653
   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_foo/dest-root/Dest/foo
   643      method: GET
   644    response:
   645      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_foo/dest-root/Dest/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:20:32Z","mtime":"2023-02-06T17:27:22Z","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:22 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        - 862660b0-4e02-4c1e-a7bd-9e30edfe1dbc
   661        - 6d28d2f107cd29dfb9861ae38c83088c
   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_foo/dest-root/Dest/foo?page=1
   674      method: GET
   675    response:
   676      body: '[{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_foo/dest-root/Dest/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:27:22Z","mtime":"2023-02-06T17:27:22Z","provided_mtime":"2023-02-06T17:27:17Z","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:23 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        - fb4e5080-8c16-4c4e-a367-7be06cef7233
   692        - 46d13b0e1cd527f3181e1a324b4aaf70
   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_foo/dest-root/Dest
   705      method: GET
   706    response:
   707      body: '{"path":"tmp/TestUploader-uploader-copy_contents_of_foo_to_foo/dest-root/Dest","display_name":"Dest","type":"directory","size":null,"created_at":"2023-02-06T17:20:30Z","mtime":"2023-02-06T17:27:22Z","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:23 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        - d5e20ce0-6794-4c5e-b2ef-cd4feda8a023
   723        - 68840d8ecda309c8a6301316bc2bd166
   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_foo/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:23 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        - ea0fe805-c308-49fc-b9f6-d252161724a2
   752        - 8e900cdbe86e795eb6276029cd42fc39
   753      status: 204 No Content
   754      code: 204
   755      duration: ""