github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/copy_foo_to_Dest.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":"0b071182-9f56-4051-9964-7ef1c90fcec2","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:09:25 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        - 0b071182-9f56-4051-9964-7ef1c90fcec2
    38        - 519f9c97b61e1206590656f7ed0ec021
    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_foo_to_Dest
    53      method: POST
    54    response:
    55      body: '{"display_name":"TestDownload-downloader-copy_foo_to_Dest","type":"directory","size":null,"created_at":"2023-02-06T17:09:25Z","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        - "195"
    61        Content-Type:
    62        - application/json
    63        Date:
    64        - Mon, 06 Feb 2023 17:09:25 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        - f1735091-170e-4e79-a287-7f558d593331
    73        - a3bef752cb22f320f4db93a0ff248203
    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":"f991c824-5d5b-4d16-b672-4e10d9993e83","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:09:26 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        - f991c824-5d5b-4d16-b672-4e10d9993e83
   111        - 76d1fc6f30fbd6ea3dd998d7ccb7aaf9
   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_foo_to_Dest
   126      method: POST
   127    response:
   128      body: '{"error":"The destination exists.","http-code":422,"instance":"7448862e-4ecd-42d1-aa9f-1e7a4f134ecb","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:09:26 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        - 7448862e-4ecd-42d1-aa9f-1e7a4f134ecb
   149        - 543f3eced87afa1b9d28a21be9fd9179
   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_foo_to_Dest/src-root
   164      method: POST
   165    response:
   166      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2023-02-06T17:09:27Z","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:09:27 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        - c10724da-420c-4441-9d65-cb2efe5fb50d
   184        - de92b2b645f5ea25eb619d8c6ec2a454
   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":"30f0e099-491f-4aae-b604-536ae6bff8f0","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:09:27 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        - 30f0e099-491f-4aae-b604-536ae6bff8f0
   222        - 380be1804c27a297bdabd45811212e30
   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_foo_to_Dest
   237      method: POST
   238    response:
   239      body: '{"error":"The destination exists.","http-code":422,"instance":"bfc56550-1d63-4446-a50d-464cf90d7f2b","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:09:27 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        - bfc56550-1d63-4446-a50d-464cf90d7f2b
   260        - da22e687350ee59ec9dd3354963acaf1
   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_foo_to_Dest/src-root
   275      method: POST
   276    response:
   277      body: '{"error":"The destination exists.","http-code":422,"instance":"dda2f4c8-d2db-48eb-abdc-ffc57c0951c0","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:09:28 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        - dda2f4c8-d2db-48eb-abdc-ffc57c0951c0
   298        - 64c8eb3e48c91f834f5ab80b9e66b745
   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_foo_to_Dest/src-root/Src
   313      method: POST
   314    response:
   315      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:09:28Z","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:09:28 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        - e9a10352-eddb-4be5-bdf8-fac36ca0e5bc
   333        - c4065d25b50a3cc51c9c1cac7c6ed56c
   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":"e25d773b-7f47-4b25-aea1-c6e1da41dba5","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:09:29 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        - e25d773b-7f47-4b25-aea1-c6e1da41dba5
   371        - a5abb9dc1c4c0c3d1da1106bb30df726
   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_foo_to_Dest
   386      method: POST
   387    response:
   388      body: '{"error":"The destination exists.","http-code":422,"instance":"9b25163d-be3e-449a-aa4e-8f6c0310d04e","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:09:29 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        - 9b25163d-be3e-449a-aa4e-8f6c0310d04e
   409        - 9b28a7a790cacbe224bff1b545245125
   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_foo_to_Dest/src-root
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"1f030c5b-d2f7-4a9d-9137-59914fc5d629","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:09:29 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        - 1f030c5b-d2f7-4a9d-9137-59914fc5d629
   447        - 11eab197326d573b8e6dd3ca17819bd3
   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_foo_to_Dest/src-root/Src
   462      method: POST
   463    response:
   464      body: '{"error":"The destination exists.","http-code":422,"instance":"279e7e44-66e3-463c-a689-13a93679d913","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:09:30 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        - 279e7e44-66e3-463c-a689-13a93679d913
   485        - c62e2bdd82db2931027044f04f362bef
   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_foo_to_Dest/src-root/Src/foo
   500      method: POST
   501    response:
   502      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:30Z","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:09:30 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        - 11ba476c-eac8-43cc-b114-777d38863815
   520        - 6a257be3562a25c8ae1df76032ed2480
   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_foo_to_Dest/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:24:31Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118467760","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/bcf8f5e3-4c68-498f-8080-5f0d9733452c?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170931Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=Gf26hjc4GqVq0TtUaazWrxZ_x39cWLLDtpkZEM6fE7w47eZIXRbHoAB.F8XcrNnjcjhogzE8mEMBvVWw9k8eWFw0ceQcVUYoeZj9DMG4Y6idmyDBCwOJh1bQbyrhL4BA\u0026X-Amz-Signature=ee56c76eecea7d47ef31ea7d70b890d273f0dc6488eff9f185eba3ee1a254d40"}]'
   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:09:31 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        - 45c0c028-8aa5-4d0b-8f1d-e0d6d0957dd2
   553        - 54f0a69fc1061016065163265e3027fd
   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/bcf8f5e3-4c68-498f-8080-5f0d9733452c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170931Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=Gf26hjc4GqVq0TtUaazWrxZ_x39cWLLDtpkZEM6fE7w47eZIXRbHoAB.F8XcrNnjcjhogzE8mEMBvVWw9k8eWFw0ceQcVUYoeZj9DMG4Y6idmyDBCwOJh1bQbyrhL4BA&X-Amz-Signature=ee56c76eecea7d47ef31ea7d70b890d273f0dc6488eff9f185eba3ee1a254d40
   566      method: PUT
   567    response:
   568      body: ""
   569      headers:
   570        Content-Length:
   571        - "0"
   572        Date:
   573        - Mon, 06 Feb 2023 17:09:32 GMT
   574        Etag:
   575        - '"d41d8cd98f00b204e9800998ecf8427e"'
   576        Server:
   577        - AmazonS3
   578        X-Amz-Id-2:
   579        - 13UW4FbShLJJxe0fjrYi+eyTGCS4D+h/uYon6mKtX3cGBgf3tvBeqFYvLAvt0/YN/O36LfvVyUU=
   580        X-Amz-Request-Id:
   581        - 34ATHWDBW48Z7C5E
   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-4118467760"}'
   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_foo_to_Dest/src-root/Src/foo/baz.txt
   598      method: POST
   599    response:
   600      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:32Z","mtime":"2023-02-06T17:09:32Z","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        - "308"
   606        Content-Type:
   607        - application/json
   608        Date:
   609        - Mon, 06 Feb 2023 17:09:32 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        - 93f988d1-8583-4099-850c-d9f4889e2df0
   618        - 9e31838f1d5176302052b50ca62a2c51
   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_foo_to_Dest/src-root/Src/foo
   631      method: GET
   632    response:
   633      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:30Z","mtime":"2023-02-06T17:09:32Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   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:09:32 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        - 5079b19d-da2d-44a2-ab9f-5eaa5cca98eb
   649        - 2a80e57d0960fe14caf5d6587728543a
   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_foo_to_Dest/src-root/Src/foo
   662      method: GET
   663    response:
   664      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:30Z","mtime":"2023-02-06T17:09:32Z","provided_mtime":null,"crc32":null,"md5":null,"permissions":"lrwd","subfolders_locked?":false,"is_locked":false}'
   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:09:32 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        - 44990e5d-6a46-43d6-92c6-2d09ec18cf3d
   680        - 793a1ac652228841a9c56a37ed0c2fc0
   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/folders/tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo?page=1
   693      method: GET
   694    response:
   695      body: '[{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:32Z","mtime":"2023-02-06T17:09:32Z","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:09:33 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        - a46fee44-14c6-4180-beb3-603ce4650de9
   711        - 093650711f192348b53ea356c34b8455
   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/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt
   724      method: GET
   725    response:
   726      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:32Z","mtime":"2023-02-06T17:09:32Z","provided_mtime":null,"crc32":"0","md5":"d41d8cd98f00b204e9800998ecf8427e","mime_type":"text/plain","region":"us-east-1","permissions":"lrwd"}'
   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:09:33 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        - b035ea6b-6791-4b20-83b3-04a8b7a1cf43
   742        - bafaccab3915dde58ad07d84433da4cc
   743      status: 200 OK
   744      code: 200
   745      duration: ""
   746  - request:
   747      body: ""
   748      form: {}
   749      headers:
   750        Connection:
   751        - close
   752        User-Agent:
   753        - Files.com Go SDK 2.0.0-beta
   754      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt
   755      method: GET
   756    response:
   757      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:32Z","mtime":"2023-02-06T17:09:32Z","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/bcf8f5e3-4c68-498f-8080-5f0d9733452c?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170934Z\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=5f9f093f27131cd852473007c47c32958e96e114e7bd6e9f4c28cbf4bd6fbf0b"}'
   758      headers:
   759        Cache-Control:
   760        - no-cache, no-store, max-age=0, must-revalidate
   761        Content-Type:
   762        - application/json
   763        Date:
   764        - Mon, 06 Feb 2023 17:09:34 GMT
   765        Expires:
   766        - Fri, 01 Jan 1990 00:00:00 GMT
   767        Pragma:
   768        - no-cache
   769        Server:
   770        - nginx
   771        X-Request-Id:
   772        - 1cbf1e63-0e02-435b-a81c-4596dcdd7809
   773        - 3bc19ce0ee2c93f32bf1b36b2546dfba
   774      status: 200 OK
   775      code: 200
   776      duration: ""
   777  - request:
   778      body: ""
   779      form: {}
   780      headers: {}
   781      url: https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/bcf8f5e3-4c68-498f-8080-5f0d9733452c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170934Z&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=5f9f093f27131cd852473007c47c32958e96e114e7bd6e9f4c28cbf4bd6fbf0b
   782      method: GET
   783    response:
   784      body: ""
   785      headers:
   786        Accept-Ranges:
   787        - bytes
   788        Cache-Control:
   789        - no-cache, no-store
   790        Content-Disposition:
   791        - attachment; filename="baz.txt"
   792        Content-Length:
   793        - "0"
   794        Content-Type:
   795        - text/plain
   796        Date:
   797        - Mon, 06 Feb 2023 17:09:35 GMT
   798        Etag:
   799        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   800        Last-Modified:
   801        - Mon, 06 Feb 2023 17:09:32 GMT
   802        Server:
   803        - AmazonS3
   804        X-Amz-Id-2:
   805        - tAcxix/lc2pKJ0VdnBYWt4kuWvaDbCB/zH6wcxXuNprROHVSi5y8lNCp8vGePRAbnJg4iFn6Rjc=
   806        X-Amz-Meta-X-Amz-Meta-Gid:
   807        - "65534"
   808        X-Amz-Meta-X-Amz-Meta-Mode:
   809        - "33188"
   810        X-Amz-Meta-X-Amz-Meta-Uid:
   811        - "65534"
   812        X-Amz-Request-Id:
   813        - QFVTB9VYPZKPNKMQ
   814        X-Amz-Server-Side-Encryption:
   815        - AES256
   816        X-Amz-Version-Id:
   817        - "null"
   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_foo_to_Dest/src-root/Src/foo
   830      method: GET
   831    response:
   832      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:30Z","mtime":"2023-02-06T17:09:32Z","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:09:34 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        - e11e2d8d-228c-4288-96dd-c39b829ff3ee
   848        - e3297923ae393eb8f2cc40243379cff2
   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/file_actions/metadata/tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo
   861      method: GET
   862    response:
   863      body: '{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:30Z","mtime":"2023-02-06T17:09:32Z","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:09:35 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        - b0891599-1da9-4316-a2d8-f37ecebaff2d
   879        - 45c002ffb8b24dc829b9ba9338275993
   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_foo_to_Dest/src-root/Src/foo?page=1
   892      method: GET
   893    response:
   894      body: '[{"path":"tmp/TestDownload-downloader-copy_foo_to_Dest/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:32Z","mtime":"2023-02-06T17:09:32Z","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:09:35 GMT
   902        Expires:
   903        - Fri, 01 Jan 1990 00:00:00 GMT
   904        Pragma:
   905        - no-cache
   906        Server:
   907        - nginx
   908        X-Files-Cached-Response:
   909        - "1675703373"
   910        X-Request-Id:
   911        - d6792292-466a-4f84-a652-6e83522552f5
   912        - d596cf757f86c2313674691085bba471
   913      status: 200 OK
   914      code: 200
   915      duration: ""
   916  - request:
   917      body: ""
   918      form: {}
   919      headers:
   920        Connection:
   921        - close
   922        User-Agent:
   923        - Files.com Go SDK 2.0.0-beta
   924      url: https://app.files.com/api/rest/v1/files/tmp/TestDownload-downloader-copy_foo_to_Dest/src-root?recursive=true
   925      method: DELETE
   926    response:
   927      body: ""
   928      headers:
   929        Cache-Control:
   930        - no-cache, no-store, max-age=0, must-revalidate
   931        Date:
   932        - Mon, 06 Feb 2023 17:09:36 GMT
   933        Expires:
   934        - Fri, 01 Jan 1990 00:00:00 GMT
   935        Pragma:
   936        - no-cache
   937        Server:
   938        - nginx
   939        X-Request-Id:
   940        - e56766e8-f3b9-4967-a2c1-f009a4c2ee53
   941        - bb852d9312a4a075ba9a6ad210141427
   942      status: 204 No Content
   943      code: 204
   944      duration: ""