github.com/Files-com/files-sdk-go/v3@v3.1.81/file/fixtures/TestDownload/downloader/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":"2ccf3db8-d672-45ed-bd05-a0c2811d8f0b","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:36 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        - 2ccf3db8-d672-45ed-bd05-a0c2811d8f0b
    38        - 09fd617365cf7135297ebfff46a66584
    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_foo
    53      method: POST
    54    response:
    55      body: '{"display_name":"TestDownload-downloader-copy_contents_of_foo_to_foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:36Z","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:36 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        - 973788d3-742a-4815-865e-3f60f5dc1789
    73        - 9346e9f3120c4153f5857e1bc14800ee
    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":"4d19fb88-ac37-48a1-9a2c-9d95ec0c7588","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:37 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        - 4d19fb88-ac37-48a1-9a2c-9d95ec0c7588
   111        - 5a0b7feb5da59d98fe348338d3e860ad
   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_foo
   126      method: POST
   127    response:
   128      body: '{"error":"The destination exists.","http-code":422,"instance":"0eba5275-df3d-42c1-9af5-7108e9513865","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:37 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        - 0eba5275-df3d-42c1-9af5-7108e9513865
   149        - 03bdb61c63598c0b0eed965052b3f2b2
   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_foo/src-root
   164      method: POST
   165    response:
   166      body: '{"display_name":"src-root","type":"directory","size":null,"created_at":"2023-02-06T17:09:38Z","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:38 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        - 09772eff-182e-4864-b191-ba6de9632b35
   184        - 55f1ab8859795f6db13064aab2119a66
   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":"5c3ea749-0f41-43ac-864c-ea3bd61f44ac","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:38 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        - 5c3ea749-0f41-43ac-864c-ea3bd61f44ac
   222        - 9ae54aaa22d10fc9fc1bc0f83314152b
   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_foo
   237      method: POST
   238    response:
   239      body: '{"error":"The destination exists.","http-code":422,"instance":"bfa7db94-353a-4a0d-a2e3-f9ee6a1bc3c7","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:38 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        - bfa7db94-353a-4a0d-a2e3-f9ee6a1bc3c7
   260        - 467e67b283e469dc8cd31fad9981a294
   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_foo/src-root
   275      method: POST
   276    response:
   277      body: '{"error":"The destination exists.","http-code":422,"instance":"255c0357-177c-41be-92b9-e74cfbfd914b","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:39 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        - 255c0357-177c-41be-92b9-e74cfbfd914b
   298        - 2617418c1d2a81cd99d4c2cd53acd706
   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_foo/src-root/Src
   313      method: POST
   314    response:
   315      body: '{"display_name":"Src","type":"directory","size":null,"created_at":"2023-02-06T17:09:39Z","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:39 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        - a9b618b3-c02e-4910-9d1e-49a6580a089b
   333        - fba8e49bdf484fd76362eaf4b9961652
   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":"df45e8e3-ba6a-4a50-85ba-160c31299537","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:40 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        - df45e8e3-ba6a-4a50-85ba-160c31299537
   371        - e876ebd329684eec25ff0cd170ffec38
   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_foo
   386      method: POST
   387    response:
   388      body: '{"error":"The destination exists.","http-code":422,"instance":"52440a62-44b8-4c4c-aa1c-d4be7c10929c","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:40 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        - 52440a62-44b8-4c4c-aa1c-d4be7c10929c
   409        - b5d2a01b676e274114d3de7c403264f3
   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_foo/src-root
   424      method: POST
   425    response:
   426      body: '{"error":"The destination exists.","http-code":422,"instance":"81b93ee2-d66b-436d-9c1e-45f730ec7f11","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:40 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        - 81b93ee2-d66b-436d-9c1e-45f730ec7f11
   447        - b9683859452b6cb27cf8505bb5fcf7ca
   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_foo/src-root/Src
   462      method: POST
   463    response:
   464      body: '{"error":"The destination exists.","http-code":422,"instance":"2a46a5bf-daa5-42b0-9e9f-ad5d84710dea","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:41 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        - 2a46a5bf-daa5-42b0-9e9f-ad5d84710dea
   485        - 1188c5657f5a792b002049d0eef95fcc
   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_foo/src-root/Src/foo
   500      method: POST
   501    response:
   502      body: '{"display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:41Z","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:41 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        - 0eed8c93-040b-4a91-9329-00bfad764f84
   520        - 01da7c3c5da3c0e05e421f8b5ddfe43a
   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_foo/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:42Z","headers":{},"http_method":"PUT","next_partsize":6291456,"parallel_parts":true,"parameters":{},"part_number":1,"partsize":5242880,"ref":"put-4118468834","upload_uri":"https://s3.amazonaws.com/objects.brickftp.com/metadata/37263/30d2fdf1-6557-44fe-8cbe-ad8718503268?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170942Z\u0026X-Amz-Expires=900\u0026X-Amz-SignedHeaders=host\u0026partNumber=1\u0026response-content-type=application%2Foctet-stream\u0026uploadId=sBKsiOI3ChqapFCpVAOMjxGUtDe0ZLob5QP0cTaTJ11aQv1FUgoslIJob.eefRp3QOndkxTxY9Xd9eSLi9DyyGUeMNtHr3J07SJa36jYqG2HK4RefSydR2JXW1_EeyWW\u0026X-Amz-Signature=0401b3bcc9fd7375dcade9f20d354ecab05b4d9018d889731e71d688901c6463"}]'
   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:42 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        - 30dd3b37-9301-4942-ba6b-ed168cdcb444
   553        - bf68f402a783f307fcaf1db1f823ffc7
   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/30d2fdf1-6557-44fe-8cbe-ad8718503268?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170942Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&partNumber=1&response-content-type=application%2Foctet-stream&uploadId=sBKsiOI3ChqapFCpVAOMjxGUtDe0ZLob5QP0cTaTJ11aQv1FUgoslIJob.eefRp3QOndkxTxY9Xd9eSLi9DyyGUeMNtHr3J07SJa36jYqG2HK4RefSydR2JXW1_EeyWW&X-Amz-Signature=0401b3bcc9fd7375dcade9f20d354ecab05b4d9018d889731e71d688901c6463
   566      method: PUT
   567    response:
   568      body: ""
   569      headers:
   570        Content-Length:
   571        - "0"
   572        Date:
   573        - Mon, 06 Feb 2023 17:09:43 GMT
   574        Etag:
   575        - '"d41d8cd98f00b204e9800998ecf8427e"'
   576        Server:
   577        - AmazonS3
   578        X-Amz-Id-2:
   579        - fXRpazFOfbJ1mVUiaQd60XBLI9hQCrr5ODE1SvQdHCqeUDU8ZvxKmTuCpsi33mdsdstq/mXAB0w=
   580        X-Amz-Request-Id:
   581        - J9TSNB3C7CNP9S1X
   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-4118468834"}'
   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_foo/src-root/Src/foo/baz.txt
   598      method: POST
   599    response:
   600      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:43Z","mtime":"2023-02-06T17:09:43Z","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:43 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        - 0b6cf648-d1e8-485d-9d62-46473d02404d
   618        - db3e02417e62704a672364258a936b5a
   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_foo/src-root/Src/foo
   631      method: GET
   632    response:
   633      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:41Z","mtime":"2023-02-06T17:09:43Z","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:43 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        - 6c182a1a-2bd7-42d7-bb29-83b7267924c2
   649        - 3977babfc323a3b420ca750606450d41
   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_foo/src-root/Src/foo
   662      method: GET
   663    response:
   664      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:41Z","mtime":"2023-02-06T17:09:43Z","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:44 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        - fb0410ad-0cbf-44d9-ab09-79fc619029f8
   680        - 98c805f3d38e474c526974ccef7fd3b3
   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_foo/src-root/Src/foo?page=1
   693      method: GET
   694    response:
   695      body: '[{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:43Z","mtime":"2023-02-06T17:09:43Z","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:44 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        - af7b298f-2796-4e39-b6e4-9c2fb01974e4
   711        - bf5ecd227bb084a1755e1855bba62e8a
   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_foo/src-root/Src/foo/baz.txt
   724      method: GET
   725    response:
   726      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:43Z","mtime":"2023-02-06T17:09:43Z","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:44 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        - 9d00c446-a1b3-4d1d-8aa2-e12903d3f9d8
   742        - e73d4bb989b03dfa8febe62de3fbaf08
   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_foo/src-root/Src/foo/baz.txt
   755      method: GET
   756    response:
   757      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:43Z","mtime":"2023-02-06T17:09:43Z","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/30d2fdf1-6557-44fe-8cbe-ad8718503268?X-Amz-Algorithm=AWS4-HMAC-SHA256\u0026X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request\u0026X-Amz-Date=20230206T170945Z\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=349726afe4c766b7cf3077806db664f1a2392c21c0734b07f923aef12cff4bb1"}'
   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:45 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        - 5185e86b-de90-4540-ae9f-60d50534019c
   773        - fe53d4c904ca3c48c538a3035ae54f37
   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/30d2fdf1-6557-44fe-8cbe-ad8718503268?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIEWLY3MN4YGZQOWA%2F20230206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230206T170945Z&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=349726afe4c766b7cf3077806db664f1a2392c21c0734b07f923aef12cff4bb1
   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:46 GMT
   798        Etag:
   799        - '"59adb24ef3cdbe0297f05b395827453f-1"'
   800        Last-Modified:
   801        - Mon, 06 Feb 2023 17:09:43 GMT
   802        Server:
   803        - AmazonS3
   804        X-Amz-Id-2:
   805        - etxracNNd5MqDPDwDJEIaPGq82WPoVq30eBgdwEBn7O0I/Qp09VlIZmpOd4P6jqW9RInZBMXLR8=
   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        - BCX79J2CPQ63B10E
   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_foo/src-root/Src/foo
   830      method: GET
   831    response:
   832      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:41Z","mtime":"2023-02-06T17:09:43Z","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:45 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        - e4731d74-a0c4-4b66-829e-2bf92384d0c3
   848        - 01fe91de185a0ef15a4b2d8cbf7024b5
   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_foo/src-root/Src/foo
   861      method: GET
   862    response:
   863      body: '{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo","display_name":"foo","type":"directory","size":null,"created_at":"2023-02-06T17:09:41Z","mtime":"2023-02-06T17:09:43Z","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:46 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        - bf21440b-f08d-4dfd-ac38-d024a977ddb3
   879        - 3cf4d30494edfb589cad4ec94b203650
   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_foo/src-root/Src/foo?page=1
   892      method: GET
   893    response:
   894      body: '[{"path":"tmp/TestDownload-downloader-copy_contents_of_foo_to_foo/src-root/Src/foo/baz.txt","display_name":"baz.txt","type":"file","size":0,"created_at":"2023-02-06T17:09:43Z","mtime":"2023-02-06T17:09:43Z","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:46 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        - "1675703384"
   910        X-Request-Id:
   911        - 92c81132-8e7a-432e-a988-f66b95a845ad
   912        - 069a3f6d153087048d38c294d2ea22de
   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_foo/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:47 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        - 04cebcd4-91bd-4868-ac74-8c652fefebd3
   941        - b1706d7c86811f0e386b87b766cd92a4
   942      status: 204 No Content
   943      code: 204
   944      duration: ""