github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/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":"ce4b7e29-e667-415d-9e09-76a477bf6696","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:47 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        - ce4b7e29-e667-415d-9e09-76a477bf6696
    38        - 5ff82a285ef9c5afc1b24228ef84149b
    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_contents_of_foo_to_bar
    53      method: POST
    54    response:
    55      body: '{"display_name":"TestDownload-downloader-copy_contents_of_foo_to_bar","type":"directory","size":null,"created_at":"2023-02-06T17:09:47Z","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        - "206"
    61        Content-Type:
    62        - application/json
    63        Date:
    64        - Mon, 06 Feb 2023 17:09:47 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        - 92c5dcf9-3ad0-426d-9f3c-75a748f64a5e
    73        - 833e7cd194865d09ab72c2b4fe19a7f3
    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":"6d5d68cb-0e39-4b38-8c1a-b78f3c70c6f3","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:48 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        - 6d5d68cb-0e39-4b38-8c1a-b78f3c70c6f3
   111        - 537d7bd0beb657f4c232a92a33ca1aeb
   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_contents_of_foo_to_bar
   126      method: POST
   127    response:
   128      body: '{"error":"The destination exists.","http-code":422,"instance":"102f60d3-da3c-420b-b892-8d433e5723d9","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:48 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        - 102f60d3-da3c-420b-b892-8d433e5723d9
   149        - 4409e667158fc42fc7882091e0cbfff9
   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_contents_of_foo_to_bar/src-root
   164      method: POST
   165    response:
   166      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2023-02-06T17:09:49Z","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:49 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        - 7b553b71-1ffb-47e0-973b-c91fa9ae8c14
   184        - e346e941fd00dacbf026dbb3cec069e9
   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":"87bfab54-45b7-404d-933e-8353aff99f54","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:49 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        - 87bfab54-45b7-404d-933e-8353aff99f54
   222        - 378267847e95025896a6074a93763c47
   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_contents_of_foo_to_bar
   237      method: POST
   238    response:
   239      body: '{"error":"The destination exists.","http-code":422,"instance":"da5e3a73-8874-4b82-bda1-2d8cdb6ac405","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:49 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        - da5e3a73-8874-4b82-bda1-2d8cdb6ac405
   260        - 45c9fa48afca2031fea3dba1d1f4d404
   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_contents_of_foo_to_bar/src-root
   275      method: POST
   276    response:
   277      body: '{"error":"The destination exists.","http-code":422,"instance":"3054cd07-71a8-46d9-90c0-4839127c283a","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:50 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        - 3054cd07-71a8-46d9-90c0-4839127c283a
   298        - e838e9cdaa20321d2412001394129630
   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_contents_of_foo_to_bar/src-root/Src
   313      method: POST
   314    response:
   315      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:09:50Z","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:50 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        - 95af8434-ea4e-41fb-9503-739a10fc12fe
   333        - 65cfe91342db5b08cccd957e0e4121a6
   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":"6e8615b5-0f40-4fe2-af8f-6114e796e1b2","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:51 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        - 6e8615b5-0f40-4fe2-af8f-6114e796e1b2
   371        - 2e9609c50fec1c7f6c436083c08fb26c
   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_contents_of_foo_to_bar
   386      method: POST
   387    response:
   388      body: '{"error":"The destination exists.","http-code":422,"instance":"133149dd-2ae7-4141-9f55-219530f6cc7f","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:51 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        - 133149dd-2ae7-4141-9f55-219530f6cc7f
   409        - 9aa5c139bd63d441d1e411c5b8147f17
   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_contents_of_foo_to_bar/src-root
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"c40fab70-15dd-4166-bc7e-0c12138f29fd","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:51 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        - c40fab70-15dd-4166-bc7e-0c12138f29fd
   447        - a37ee1258b5e20b16272d2bc9165c361
   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_contents_of_foo_to_bar/src-root/Src
   462      method: POST
   463    response:
   464      body: '{"error":"The destination exists.","http-code":422,"instance":"4e0aea25-2d81-4506-aecc-b00bcc08fe5e","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:52 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        - 4e0aea25-2d81-4506-aecc-b00bcc08fe5e
   485        - 54bf1043e783f58cbccca40ef29a825a
   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_contents_of_foo_to_bar/src-root/Src/foo
   500      method: POST
   501    response:
   502      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:52Z","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:52 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        - 7f94678f-1705-4abe-8cc5-e0977d32bb21
   520        - 41dfe3d6434f30d08a1571882ca8fc6e
   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_contents_of_foo_to_bar/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:53Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118469938","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/a442c7d7-300e-4f4c-a1a1-012845c944b7?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170953Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=ZdwbmA0BcI1hD1OskqUs95dxsnew_d4BpgHl8WBZfDJA9bLiFZfR3UEJKNrLFu.sXpNezv.L96RjHb4ZqQSVxS37CXYmGxsLeArgfTUEtDD5cyAMxfDRhyothB2aRG6n\u0026X-Amz-Signature=d15b9388abfc60356918fa1804bddfcbdbab38199ca0553959a4cbf2f3af3d3f"}]'
   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:53 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        - 8b36195d-80e0-4fe3-aed5-1ec305c7a7be
   553        - 6db985c28a5dce5d89c2b14de64fdbae
   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/a442c7d7-300e-4f4c-a1a1-012845c944b7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170953Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=ZdwbmA0BcI1hD1OskqUs95dxsnew_d4BpgHl8WBZfDJA9bLiFZfR3UEJKNrLFu.sXpNezv.L96RjHb4ZqQSVxS37CXYmGxsLeArgfTUEtDD5cyAMxfDRhyothB2aRG6n&X-Amz-Signature=d15b9388abfc60356918fa1804bddfcbdbab38199ca0553959a4cbf2f3af3d3f
   566      method: PUT
   567    response:
   568      body: ""
   569      headers:
   570        Content-Length:
   571        - "0"
   572        Date:
   573        - Mon, 06 Feb 2023 17:09:54 GMT
   574        Etag:
   575        - '"d41d8cd98f00b204e9800998ecf8427e"'
   576        Server:
   577        - AmazonS3
   578        X-Amz-Id-2:
   579        - va5dTI28enEviyh6OpYaBXE7fD90x31Onw7EraiWWntZ9nt6qlZYQZZL8o8jGUHN2OqgV8r00KE=
   580        X-Amz-Request-Id:
   581        - ZMKKKYEYH6YD80XG
   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-4118469938"}'
   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_contents_of_foo_to_bar/src-root/Src/foo/baz.txt
   598      method: POST
   599    response:
   600      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:54Z","mtime":"2023-02-06T17:09:54Z","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        - "319"
   606        Content-Type:
   607        - application/json
   608        Date:
   609        - Mon, 06 Feb 2023 17:09:54 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        - 40053c2a-2f14-4204-85e8-d3ff12961bef
   618        - 39baa97fd9e114846cac88017fefbf7e
   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_contents_of_foo_to_bar/src-root/Src/foo
   631      method: GET
   632    response:
   633      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:52Z","mtime":"2023-02-06T17:09:54Z","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:54 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        - 9318e47d-d32c-4388-b377-ff8ee1961a83
   649        - cf6cedf06e9279af7e190f610d04be76
   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_contents_of_foo_to_bar/src-root/Src/foo
   662      method: GET
   663    response:
   664      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:52Z","mtime":"2023-02-06T17:09:54Z","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:55 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        - d38e6965-ba3f-469d-9e0f-fd61c08508ef
   680        - c3a4ebb70422116d47d293a89aa0b313
   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_contents_of_foo_to_bar/src-root/Src/foo?page=1
   693      method: GET
   694    response:
   695      body: '[{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:54Z","mtime":"2023-02-06T17:09:54Z","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:55 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        - 8575221a-33bf-4810-9754-1fce456c84fa
   711        - 48db963cf0ad85b1c2ac49fed37b6989
   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_contents_of_foo_to_bar/src-root/Src/foo/baz.txt
   724      method: GET
   725    response:
   726      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:54Z","mtime":"2023-02-06T17:09:54Z","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:55 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        - c2c2bcde-9879-40de-8122-bdc8a5f017c3
   742        - 39bf4957b084c10f78a77b5c0803440a
   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_contents_of_foo_to_bar/src-root/Src/foo/baz.txt
   755      method: GET
   756    response:
   757      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:54Z","mtime":"2023-02-06T17:09:54Z","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/a442c7d7-300e-4f4c-a1a1-012845c944b7?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170956Z\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=92cc7e0de5be916673d2a39153c8a9d06eec07eed749ec8abc166475cc867bbc"}'
   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:56 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        - 365b37ca-e297-4238-9bb2-f785130ea511
   773        - b0b8e841191c5ffa1bcaf78a0affdf5c
   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/a442c7d7-300e-4f4c-a1a1-012845c944b7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170956Z&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=92cc7e0de5be916673d2a39153c8a9d06eec07eed749ec8abc166475cc867bbc
   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:57 GMT
   798        Etag:
   799        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   800        Last-Modified:
   801        - Mon, 06 Feb 2023 17:09:54 GMT
   802        Server:
   803        - AmazonS3
   804        X-Amz-Id-2:
   805        - VJx0KpNS7/imnXNyWwXWRF+hBUynkuoxYcxnFYSeT/IB07tH7TNNJh2ZOMenaiLY84ITjY4CCMg=
   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        - MQW1B5Z2YA92F6GN
   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_contents_of_foo_to_bar/src-root/Src/foo
   830      method: GET
   831    response:
   832      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:52Z","mtime":"2023-02-06T17:09:54Z","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:56 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        - d346a561-4fbd-41b3-8af5-9aca8d4fbe64
   848        - 339e14a64296084651de1e89ac84cb03
   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_contents_of_foo_to_bar/src-root/Src/foo
   861      method: GET
   862    response:
   863      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:52Z","mtime":"2023-02-06T17:09:54Z","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:57 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        - b3543fee-02ff-4c9a-9dce-810e6c11631e
   879        - 769270645079a5e6f4940ebfb41234c9
   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_contents_of_foo_to_bar/src-root/Src/foo?page=1
   892      method: GET
   893    response:
   894      body: '[{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_bar/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:54Z","mtime":"2023-02-06T17:09:54Z","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:57 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        - "1675703395"
   910        X-Request-Id:
   911        - b96f30da-5c23-4745-a8dc-c4c922ffc4dd
   912        - 4578067ce0cf08d15ff652e5ee37b0db
   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_contents_of_foo_to_bar/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:58 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        - aedb8532-57aa-47f6-9abe-3fa2341be325
   941        - 894d2d21495aae8d1ed0fd0a35caae78
   942      status: 204 No Content
   943      code: 204
   944      duration: ""