cloudsmith-api 0.52.79 → 0.53.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -5
  3. data/README.md +15 -5
  4. data/build.json +1 -1
  5. data/docs/{EntitlmentTokenMetric.md → EntitlementTokenMetric.md} +1 -1
  6. data/docs/EntitlementsCreate.md +3 -0
  7. data/docs/EntitlementsPartialUpdate.md +3 -0
  8. data/docs/EntitlementsRefresh.md +3 -0
  9. data/docs/MetricsApi.md +81 -6
  10. data/docs/MetricsownerrepopackagesusageActivePackages.md +10 -0
  11. data/docs/PackageUsageMetric.md +11 -0
  12. data/docs/Quota.md +8 -0
  13. data/docs/QuotaApi.md +248 -0
  14. data/docs/QuotaHistory.md +8 -0
  15. data/docs/QuotaHistoryHistory.md +13 -0
  16. data/docs/RepositoryToken.md +6 -0
  17. data/docs/RepositoryTokenRefresh.md +6 -0
  18. data/docs/RepositoryTokenSyncTokens.md +6 -0
  19. data/lib/cloudsmith-api.rb +7 -1
  20. data/lib/cloudsmith-api/api/metrics_api.rb +79 -7
  21. data/lib/cloudsmith-api/api/quota_api.rb +227 -0
  22. data/lib/cloudsmith-api/models/{entitlment_token_metric.rb → entitlement_token_metric.rb} +1 -1
  23. data/lib/cloudsmith-api/models/entitlements_create.rb +31 -1
  24. data/lib/cloudsmith-api/models/entitlements_partial_update.rb +31 -1
  25. data/lib/cloudsmith-api/models/entitlements_refresh.rb +31 -1
  26. data/lib/cloudsmith-api/models/metricsownerrepopackagesusage_active_packages.rb +209 -0
  27. data/lib/cloudsmith-api/models/package_usage_metric.rb +243 -0
  28. data/lib/cloudsmith-api/models/quota.rb +194 -0
  29. data/lib/cloudsmith-api/models/quota_history.rb +196 -0
  30. data/lib/cloudsmith-api/models/quota_history_history.rb +239 -0
  31. data/lib/cloudsmith-api/models/repository_token.rb +61 -1
  32. data/lib/cloudsmith-api/models/repository_token_refresh.rb +61 -1
  33. data/lib/cloudsmith-api/models/repository_token_sync_tokens.rb +61 -1
  34. data/lib/cloudsmith-api/version.rb +1 -1
  35. data/spec/api/metrics_api_spec.rb +21 -3
  36. data/spec/api/quota_api_spec.rb +83 -0
  37. data/spec/models/{entitlment_token_metric_spec.rb → entitlement_token_metric_spec.rb} +6 -6
  38. data/spec/models/entitlements_create_spec.rb +18 -0
  39. data/spec/models/entitlements_partial_update_spec.rb +18 -0
  40. data/spec/models/entitlements_refresh_spec.rb +18 -0
  41. data/spec/models/metricsownerrepopackagesusage_active_packages_spec.rb +54 -0
  42. data/spec/models/package_usage_metric_spec.rb +60 -0
  43. data/spec/models/quota_history_history_spec.rb +72 -0
  44. data/spec/models/quota_history_spec.rb +42 -0
  45. data/spec/models/quota_spec.rb +42 -0
  46. data/spec/models/repository_token_refresh_spec.rb +36 -0
  47. data/spec/models/repository_token_spec.rb +36 -0
  48. data/spec/models/repository_token_sync_tokens_spec.rb +36 -0
  49. data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.4.gem +0 -0
  50. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.6.gem +0 -0
  51. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.17/gem_make.out +1 -1
  52. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.13.1/gem_make.out +2 -2
  53. data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.1/gem_make.out +1 -1
  54. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack.rb +0 -0
  55. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/json.rb +5 -18
  56. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/util.rb +0 -0
  57. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.4/lib/crack/version.rb +3 -0
  58. data/vendor/bundle/ruby/2.6.0/gems/{crack-0.4.3 → crack-0.4.4}/lib/crack/xml.rb +0 -0
  59. data/vendor/bundle/ruby/2.6.0/gems/ffi-1.13.1/ext/ffi_c/Makefile +3 -3
  60. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.github/FUNDING.yml +0 -0
  61. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.github/workflows/tests.yml +1 -1
  62. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.gitignore +0 -0
  63. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.rubocop.yml +0 -0
  64. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.rubocop_opinionated.yml +1 -18
  65. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.travis.yml +1 -1
  66. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/.yardopts +0 -0
  67. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/2.0-Upgrade.md +0 -0
  68. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/CHANGELOG.md +7 -0
  69. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/Gemfile +1 -1
  70. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/LICENSE.txt +0 -0
  71. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/README.md +0 -0
  72. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/Rakefile +0 -0
  73. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/SECURITY.md +0 -0
  74. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/bin/console +0 -0
  75. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/codecov.yml +0 -2
  76. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/data/list.txt +312 -78
  77. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix.rb +0 -0
  78. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/domain.rb +0 -0
  79. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/errors.rb +0 -0
  80. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/list.rb +0 -0
  81. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/rule.rb +0 -0
  82. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/lib/public_suffix/version.rb +1 -1
  83. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/public_suffix.gemspec +0 -0
  84. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/.empty +0 -0
  85. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/acceptance_test.rb +2 -0
  86. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_find.rb +0 -0
  87. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_find_all.rb +0 -0
  88. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_names.rb +0 -0
  89. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_select.rb +0 -0
  90. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_select_incremental.rb +0 -0
  91. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/benchmarks/bm_valid.rb +0 -0
  92. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/domain_profiler.rb +0 -0
  93. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/find_profiler.rb +0 -0
  94. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/find_profiler_jp.rb +0 -0
  95. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/initialization_profiler.rb +0 -0
  96. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/list_profsize.rb +0 -0
  97. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/profilers/object_binsize.rb +0 -0
  98. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/psl_test.rb +1 -1
  99. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/test_helper.rb +0 -0
  100. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/tests.txt +0 -0
  101. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/domain_test.rb +0 -0
  102. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/errors_test.rb +0 -0
  103. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/list_test.rb +0 -0
  104. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/public_suffix_test.rb +0 -0
  105. data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-4.0.5 → public_suffix-4.0.6}/test/unit/rule_test.rb +0 -0
  106. data/vendor/bundle/ruby/2.6.0/specifications/{crack-0.4.3.gemspec → crack-0.4.4.gemspec} +3 -15
  107. data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-4.0.5.gemspec → public_suffix-4.0.6.gemspec} +4 -4
  108. data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.1.gemspec +1 -1
  109. metadata +174 -225
  110. data/vendor/bundle/ruby/2.6.0/bin/safe_yaml +0 -27
  111. data/vendor/bundle/ruby/2.6.0/cache/crack-0.4.3.gem +0 -0
  112. data/vendor/bundle/ruby/2.6.0/cache/public_suffix-4.0.5.gem +0 -0
  113. data/vendor/bundle/ruby/2.6.0/cache/safe_yaml-1.0.5.gem +0 -0
  114. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.gitignore +0 -8
  115. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/.travis.yml +0 -14
  116. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/Gemfile +0 -5
  117. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/History +0 -25
  118. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/LICENSE +0 -20
  119. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/README.md +0 -46
  120. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/crack.gemspec +0 -20
  121. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/lib/crack/version.rb +0 -3
  122. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/bootstrap +0 -21
  123. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/release +0 -42
  124. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test +0 -25
  125. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/large_dataset.json +0 -139988
  126. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-firefox.json +0 -1
  127. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/data/twittersearch-ie.json +0 -1
  128. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/hash_test.rb +0 -26
  129. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/json_test.rb +0 -91
  130. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/parser_test.rb +0 -27
  131. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/string_test.rb +0 -31
  132. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/test_helper.rb +0 -3
  133. data/vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/test/xml_test.rb +0 -514
  134. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.gitignore +0 -3
  135. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/.travis.yml +0 -48
  136. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/CHANGES.md +0 -154
  137. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Gemfile +0 -11
  138. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/LICENSE.txt +0 -22
  139. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/README.md +0 -191
  140. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/Rakefile +0 -26
  141. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bin/safe_yaml +0 -75
  142. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/bundle_install_all_ruby_versions.sh +0 -11
  143. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml.rb +0 -94
  144. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/deep.rb +0 -34
  145. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/libyaml_checker.rb +0 -36
  146. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/load.rb +0 -181
  147. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/date.rb +0 -37
  148. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/hexadecimal.rb +0 -12
  149. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/parse/sexagesimal.rb +0 -26
  150. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_handler.rb +0 -99
  151. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/psych_resolver.rb +0 -52
  152. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/resolver.rb +0 -94
  153. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -29
  154. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/store.rb +0 -39
  155. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_hack.rb +0 -36
  156. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
  157. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/syck_resolver.rb +0 -38
  158. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb +0 -41
  159. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_boolean.rb +0 -21
  160. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_date.rb +0 -13
  161. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_float.rb +0 -33
  162. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_integer.rb +0 -26
  163. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_nil.rb +0 -18
  164. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/to_symbol.rb +0 -17
  165. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform/transformation_map.rb +0 -47
  166. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/lib/safe_yaml/version.rb +0 -3
  167. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/run_specs_all_ruby_versions.sh +0 -38
  168. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/safe_yaml.gemspec +0 -19
  169. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.2.yaml +0 -2
  170. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/exploit.1.9.3.yaml +0 -2
  171. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue48.txt +0 -20
  172. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/issue49.yml +0 -0
  173. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/libyaml_checker_spec.rb +0 -69
  174. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/psych_resolver_spec.rb +0 -10
  175. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/resolver_specs.rb +0 -278
  176. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/safe_yaml_spec.rb +0 -731
  177. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/spec_helper.rb +0 -42
  178. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/store_spec.rb +0 -57
  179. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/support/exploitable_back_door.rb +0 -29
  180. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/syck_resolver_spec.rb +0 -10
  181. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/base64_spec.rb +0 -11
  182. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_date_spec.rb +0 -60
  183. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_float_spec.rb +0 -42
  184. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_integer_spec.rb +0 -64
  185. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/transform/to_symbol_spec.rb +0 -51
  186. data/vendor/bundle/ruby/2.6.0/gems/safe_yaml-1.0.5/spec/yaml_spec.rb +0 -15
  187. data/vendor/bundle/ruby/2.6.0/specifications/safe_yaml-1.0.5.gemspec +0 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac0c23c48552b5709804cc0ee3ae65c0c7bc5e0ab070613bc543c268cf375648
4
- data.tar.gz: 510b8dfecf90c850d19c12a89e2acfcaeee6d313bb069b987f8cc96b1c9310eb
3
+ metadata.gz: 2b5645ffac2a3edf33816150623d3e1bce1caeee0f1652e711b0a5d15fd77845
4
+ data.tar.gz: b302eb5b3af8127dbc900954f4a214157d1176370764191458cbddd73274c185
5
5
  SHA512:
6
- metadata.gz: 1b2ab045adb806c82955199fe9b41fdf251a85e02b75a18f191832ec957b507829a20c0edb55e2508b6a23b29b98fbc05d8984da23cfe2bd36b9e47932602f04
7
- data.tar.gz: 60edab0ce0ce1e6070f880fa4e4770fafe3023b3dbc680b16fe72e7209f094eb315f538d2ce31e9aa096eb317f3d8217561181b0c82379f04fa739a4c8ce5bff
6
+ metadata.gz: 7687560813a1c4ff8bcf1ea8b275c01c4b569c5cf4806f2869fda5654c29098b8768d3e5c5dade279eecce64ec8875ebe68a5fbf5483b3ef6e4c70ea3c517cc8
7
+ data.tar.gz: bf99d70692182c8f4d2bba16fd6057d6884686afc9464f6a17f1899b625d72fc6087b9138c65543590b0d8f07b699ddc4e4218d5e8ef0c2bc390fa4cf5e74615
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudsmith-api (0.52.79)
4
+ cloudsmith-api (0.53.17)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -17,15 +17,14 @@ GEM
17
17
  sys-uname
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
- crack (0.4.3)
21
- safe_yaml (~> 1.0.0)
20
+ crack (0.4.4)
22
21
  diff-lcs (1.4.4)
23
22
  ethon (0.12.0)
24
23
  ffi (>= 1.3.0)
25
24
  ffi (1.13.1)
26
25
  hashdiff (1.0.1)
27
26
  json (2.3.1)
28
- public_suffix (4.0.5)
27
+ public_suffix (4.0.6)
29
28
  rake (12.0.0)
30
29
  rspec (3.9.0)
31
30
  rspec-core (~> 3.9.0)
@@ -40,7 +39,6 @@ GEM
40
39
  diff-lcs (>= 1.2.0, < 2.0)
41
40
  rspec-support (~> 3.9.0)
42
41
  rspec-support (3.9.3)
43
- safe_yaml (1.0.5)
44
42
  sys-uname (1.2.1)
45
43
  ffi (>= 1.0.0)
46
44
  typhoeus (1.4.0)
data/README.md CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: v1
10
- - Package version: 0.52.79
10
+ - Package version: 0.53.17
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
13
13
 
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./cloudsmith-api-0.52.79.gem
27
+ gem install ./cloudsmith-api-0.53.17.gem
28
28
  ```
29
- (for development, run `gem install --dev ./cloudsmith-api-0.52.79.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./cloudsmith-api-0.53.17.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'cloudsmith-api', '~> 0.52.79'
35
+ gem 'cloudsmith-api', '~> 0.53.17'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -123,6 +123,7 @@ Class | Method | HTTP request | Description
123
123
  *CloudsmithApi::FormatsApi* | [**formats_list**](docs/FormatsApi.md#formats_list) | **GET** /formats/ | Get a list of all supported package formats.
124
124
  *CloudsmithApi::FormatsApi* | [**formats_read**](docs/FormatsApi.md#formats_read) | **GET** /formats/{slug}/ | Get a specific supported package format.
125
125
  *CloudsmithApi::MetricsApi* | [**metrics_entitlements_usage_list**](docs/MetricsApi.md#metrics_entitlements_usage_list) | **GET** /metrics/{owner}/{repo}/entitlements/usage/ | View for listing entitlement token usage as a metric.
126
+ *CloudsmithApi::MetricsApi* | [**metrics_packages_usage_list**](docs/MetricsApi.md#metrics_packages_usage_list) | **GET** /metrics/{owner}/{repo}/packages/usage/ | View for listing package usage metrics by user.
126
127
  *CloudsmithApi::NamespacesApi* | [**namespaces_list**](docs/NamespacesApi.md#namespaces_list) | **GET** /namespaces/ | Get a list of all namespaces the user belongs to.
127
128
  *CloudsmithApi::NamespacesApi* | [**namespaces_read**](docs/NamespacesApi.md#namespaces_read) | **GET** /namespaces/{slug}/ | Views for working with namespaces.
128
129
  *CloudsmithApi::OrgsApi* | [**orgs_list**](docs/OrgsApi.md#orgs_list) | **GET** /orgs/ | Get a list of all the organizations you are associated with.
@@ -177,6 +178,10 @@ Class | Method | HTTP request | Description
177
178
  *CloudsmithApi::PackagesApi* | [**packages_validate_upload_ruby**](docs/PackagesApi.md#packages_validate_upload_ruby) | **POST** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package
178
179
  *CloudsmithApi::PackagesApi* | [**packages_validate_upload_terraform**](docs/PackagesApi.md#packages_validate_upload_terraform) | **POST** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package
179
180
  *CloudsmithApi::PackagesApi* | [**packages_validate_upload_vagrant**](docs/PackagesApi.md#packages_validate_upload_vagrant) | **POST** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package
181
+ *CloudsmithApi::QuotaApi* | [**quota_history_read**](docs/QuotaApi.md#quota_history_read) | **GET** /quota/history/{owner}/ | Quota history for a given namespace.
182
+ *CloudsmithApi::QuotaApi* | [**quota_oss_history_read**](docs/QuotaApi.md#quota_oss_history_read) | **GET** /quota/oss/history/{owner}/ | Open-source Quota history for a given namespace.
183
+ *CloudsmithApi::QuotaApi* | [**quota_oss_read**](docs/QuotaApi.md#quota_oss_read) | **GET** /quota/oss/{owner}/ | Open-source Quota usage for a given namespace.
184
+ *CloudsmithApi::QuotaApi* | [**quota_read**](docs/QuotaApi.md#quota_read) | **GET** /quota/{owner}/ | Quota usage for a given namespace.
180
185
  *CloudsmithApi::RatesApi* | [**rates_limits_list**](docs/RatesApi.md#rates_limits_list) | **GET** /rates/limits/ | Endpoint to check rate limits for current user.
181
186
  *CloudsmithApi::ReposApi* | [**repos_all_list**](docs/ReposApi.md#repos_all_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
182
187
  *CloudsmithApi::ReposApi* | [**repos_create**](docs/ReposApi.md#repos_create) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
@@ -203,11 +208,11 @@ Class | Method | HTTP request | Description
203
208
  - [CloudsmithApi::ConanPackageUpload](docs/ConanPackageUpload.md)
204
209
  - [CloudsmithApi::Distribution](docs/Distribution.md)
205
210
  - [CloudsmithApi::DistrosVersions](docs/DistrosVersions.md)
211
+ - [CloudsmithApi::EntitlementTokenMetric](docs/EntitlementTokenMetric.md)
206
212
  - [CloudsmithApi::EntitlementsCreate](docs/EntitlementsCreate.md)
207
213
  - [CloudsmithApi::EntitlementsPartialUpdate](docs/EntitlementsPartialUpdate.md)
208
214
  - [CloudsmithApi::EntitlementsRefresh](docs/EntitlementsRefresh.md)
209
215
  - [CloudsmithApi::EntitlementsSync](docs/EntitlementsSync.md)
210
- - [CloudsmithApi::EntitlmentTokenMetric](docs/EntitlmentTokenMetric.md)
211
216
  - [CloudsmithApi::FilesAbort](docs/FilesAbort.md)
212
217
  - [CloudsmithApi::FilesComplete](docs/FilesComplete.md)
213
218
  - [CloudsmithApi::FilesCreate](docs/FilesCreate.md)
@@ -215,6 +220,7 @@ Class | Method | HTTP request | Description
215
220
  - [CloudsmithApi::Format](docs/Format.md)
216
221
  - [CloudsmithApi::FormatsDistributions](docs/FormatsDistributions.md)
217
222
  - [CloudsmithApi::MavenPackageUpload](docs/MavenPackageUpload.md)
223
+ - [CloudsmithApi::MetricsownerrepopackagesusageActivePackages](docs/MetricsownerrepopackagesusageActivePackages.md)
218
224
  - [CloudsmithApi::Namespace](docs/Namespace.md)
219
225
  - [CloudsmithApi::Organization](docs/Organization.md)
220
226
  - [CloudsmithApi::Package](docs/Package.md)
@@ -223,6 +229,7 @@ Class | Method | HTTP request | Description
223
229
  - [CloudsmithApi::PackageFileUpload](docs/PackageFileUpload.md)
224
230
  - [CloudsmithApi::PackageMove](docs/PackageMove.md)
225
231
  - [CloudsmithApi::PackageStatus](docs/PackageStatus.md)
232
+ - [CloudsmithApi::PackageUsageMetric](docs/PackageUsageMetric.md)
226
233
  - [CloudsmithApi::PackagesCopy](docs/PackagesCopy.md)
227
234
  - [CloudsmithApi::PackagesMove](docs/PackagesMove.md)
228
235
  - [CloudsmithApi::PackagesTag](docs/PackagesTag.md)
@@ -270,6 +277,9 @@ Class | Method | HTTP request | Description
270
277
  - [CloudsmithApi::PackagesValidateuploadVagrant](docs/PackagesValidateuploadVagrant.md)
271
278
  - [CloudsmithApi::PackagesownerrepoArchitectures](docs/PackagesownerrepoArchitectures.md)
272
279
  - [CloudsmithApi::PackagesownerrepoFiles](docs/PackagesownerrepoFiles.md)
280
+ - [CloudsmithApi::Quota](docs/Quota.md)
281
+ - [CloudsmithApi::QuotaHistory](docs/QuotaHistory.md)
282
+ - [CloudsmithApi::QuotaHistoryHistory](docs/QuotaHistoryHistory.md)
273
283
  - [CloudsmithApi::RawPackageUpload](docs/RawPackageUpload.md)
274
284
  - [CloudsmithApi::ReposCreate](docs/ReposCreate.md)
275
285
  - [CloudsmithApi::ReposGpgKeys](docs/ReposGpgKeys.md)
data/build.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "gemName": "cloudsmith-api",
9
9
  "gemRequiredRubyVersion": ">= 1.9",
10
10
  "gemSummary": "Cloudsmith API",
11
- "gemVersion": "0.52.79",
11
+ "gemVersion": "0.53.17",
12
12
  "hideGenerationTimestamp": true,
13
13
  "moduleName": "CloudsmithApi",
14
14
  "sortParamsByRequiredFlag": true
@@ -1,4 +1,4 @@
1
- # CloudsmithApi::EntitlmentTokenMetric
1
+ # CloudsmithApi::EntitlementTokenMetric
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -12,6 +14,7 @@ Name | Type | Description | Notes
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
14
16
  **name** | **String** | None |
17
+ **scheduled_reset_period** | **String** | None | [optional]
15
18
  **token** | **String** | None | [optional]
16
19
 
17
20
 
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -12,6 +14,7 @@ Name | Type | Description | Notes
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
14
16
  **name** | **String** | None | [optional]
17
+ **scheduled_reset_period** | **String** | None | [optional]
15
18
  **token** | **String** | None | [optional]
16
19
 
17
20
 
@@ -4,6 +4,8 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
7
+ **limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth.Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
8
+ **limit_bandwidth_unit** | **String** | None | [optional]
7
9
  **limit_date_range_from** | **String** | The starting date/time the token is allowed to be used from. | [optional]
8
10
  **limit_date_range_to** | **String** | The ending date/time the token is allowed to be used until. | [optional]
9
11
  **limit_num_clients** | **Integer** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
@@ -11,6 +13,7 @@ Name | Type | Description | Notes
11
13
  **limit_package_query** | **String** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional]
12
14
  **limit_path_query** | **String** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional]
13
15
  **metadata** | **Object** | None | [optional]
16
+ **scheduled_reset_period** | **String** | None | [optional]
14
17
  **token** | **String** | None | [optional]
15
18
 
16
19
 
@@ -5,10 +5,11 @@ All URIs are relative to *https://api.cloudsmith.io*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**metrics_entitlements_usage_list**](MetricsApi.md#metrics_entitlements_usage_list) | **GET** /metrics/{owner}/{repo}/entitlements/usage/ | View for listing entitlement token usage as a metric.
8
+ [**metrics_packages_usage_list**](MetricsApi.md#metrics_packages_usage_list) | **GET** /metrics/{owner}/{repo}/packages/usage/ | View for listing package usage metrics by user.
8
9
 
9
10
 
10
11
  # **metrics_entitlements_usage_list**
11
- > Array&lt;EntitlmentTokenMetric&gt; metrics_entitlements_usage_list(owner, repo, opts)
12
+ > Array&lt;EntitlementTokenMetric&gt; metrics_entitlements_usage_list(owner, repo, opts)
12
13
 
13
14
  View for listing entitlement token usage as a metric.
14
15
 
@@ -40,8 +41,8 @@ repo = "repo_example" # String |
40
41
  opts = {
41
42
  page: 56, # Integer | A page number within the paginated result set.
42
43
  page_size: 56, # Integer | Number of results to return per page.
43
- finish: 56, # Integer | Filter token usage ending before this timestamp. Defaults to now if not supplied.
44
- start: 56, # Integer | Filter token usage starting from this timestamp (seconds since Jan 01 1970. (UTC)).
44
+ finish: 56, # Integer | Filter token usage ending before this datetime (UTC by default unless otherwise specified). Defaults to now if not supplied.
45
+ start: 56, # Integer | Filter token usage starting from this datetime (UTC by default unless otherwise specified)).
45
46
  tokens: "tokens_example" # String | A comma seperated list of tokens (slug perm) to include in the results.
46
47
  }
47
48
 
@@ -62,13 +63,87 @@ Name | Type | Description | Notes
62
63
  **repo** | **String**| |
63
64
  **page** | **Integer**| A page number within the paginated result set. | [optional]
64
65
  **page_size** | **Integer**| Number of results to return per page. | [optional]
65
- **finish** | **Integer**| Filter token usage ending before this timestamp. Defaults to now if not supplied. | [optional]
66
- **start** | **Integer**| Filter token usage starting from this timestamp (seconds since Jan 01 1970. (UTC)). | [optional]
66
+ **finish** | **Integer**| Filter token usage ending before this datetime (UTC by default unless otherwise specified). Defaults to now if not supplied. | [optional]
67
+ **start** | **Integer**| Filter token usage starting from this datetime (UTC by default unless otherwise specified)). | [optional]
67
68
  **tokens** | **String**| A comma seperated list of tokens (slug perm) to include in the results. | [optional]
68
69
 
69
70
  ### Return type
70
71
 
71
- [**Array&lt;EntitlmentTokenMetric&gt;**](EntitlmentTokenMetric.md)
72
+ [**Array&lt;EntitlementTokenMetric&gt;**](EntitlementTokenMetric.md)
73
+
74
+ ### Authorization
75
+
76
+ [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: Not defined
81
+ - **Accept**: Not defined
82
+
83
+
84
+
85
+ # **metrics_packages_usage_list**
86
+ > Array&lt;PackageUsageMetric&gt; metrics_packages_usage_list(owner, repo, opts)
87
+
88
+ View for listing package usage metrics by user.
89
+
90
+ View for listing package usage metrics by user.
91
+
92
+ ### Example
93
+ ```ruby
94
+ # load the gem
95
+ require 'cloudsmith-api'
96
+ # setup authorization
97
+ CloudsmithApi.configure do |config|
98
+ # Configure API key authorization: apikey
99
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
100
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
101
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
102
+
103
+ # Configure API key authorization: csrf_token
104
+ config.api_key['X-CSRFToken'] = 'YOUR API KEY'
105
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
106
+ #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
107
+ end
108
+
109
+ api_instance = CloudsmithApi::MetricsApi.new
110
+
111
+ owner = "owner_example" # String |
112
+
113
+ repo = "repo_example" # String |
114
+
115
+ opts = {
116
+ page: 56, # Integer | A page number within the paginated result set.
117
+ page_size: 56, # Integer | Number of results to return per page.
118
+ finish: 56, # Integer | Filter token usage ending before this datetime (UTC). Defaults to now if not supplied.
119
+ packages: "packages_example", # String | A comma seperated list of packages (slug perm) to include in the results.
120
+ start: 56 # Integer | Filter token usage starting from this datetime (UTC)).
121
+ }
122
+
123
+ begin
124
+ #View for listing package usage metrics by user.
125
+ result = api_instance.metrics_packages_usage_list(owner, repo, opts)
126
+ p result
127
+ rescue CloudsmithApi::ApiError => e
128
+ puts "Exception when calling MetricsApi->metrics_packages_usage_list: #{e}"
129
+ end
130
+ ```
131
+
132
+ ### Parameters
133
+
134
+ Name | Type | Description | Notes
135
+ ------------- | ------------- | ------------- | -------------
136
+ **owner** | **String**| |
137
+ **repo** | **String**| |
138
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
139
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
140
+ **finish** | **Integer**| Filter token usage ending before this datetime (UTC). Defaults to now if not supplied. | [optional]
141
+ **packages** | **String**| A comma seperated list of packages (slug perm) to include in the results. | [optional]
142
+ **start** | **Integer**| Filter token usage starting from this datetime (UTC)). | [optional]
143
+
144
+ ### Return type
145
+
146
+ [**Array&lt;PackageUsageMetric&gt;**](PackageUsageMetric.md)
72
147
 
73
148
  ### Authorization
74
149
 
@@ -0,0 +1,10 @@
1
+ # CloudsmithApi::MetricsownerrepopackagesusageActivePackages
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | | [optional]
7
+ **slug** | **String** | | [optional]
8
+ **version** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,11 @@
1
+ # CloudsmithApi::PackageUsageMetric
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **active_packages** | [**Array&lt;MetricsownerrepopackagesusageActivePackages&gt;**](MetricsownerrepopackagesusageActivePackages.md) | |
7
+ **downloads_per_package** | **Object** | |
8
+ **inactive_packages** | [**Array&lt;MetricsownerrepopackagesusageActivePackages&gt;**](MetricsownerrepopackagesusageActivePackages.md) | |
9
+ **totals** | **Object** | |
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # CloudsmithApi::Quota
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **usage** | **Object** | |
7
+
8
+
@@ -0,0 +1,248 @@
1
+ # CloudsmithApi::QuotaApi
2
+
3
+ All URIs are relative to *https://api.cloudsmith.io*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**quota_history_read**](QuotaApi.md#quota_history_read) | **GET** /quota/history/{owner}/ | Quota history for a given namespace.
8
+ [**quota_oss_history_read**](QuotaApi.md#quota_oss_history_read) | **GET** /quota/oss/history/{owner}/ | Open-source Quota history for a given namespace.
9
+ [**quota_oss_read**](QuotaApi.md#quota_oss_read) | **GET** /quota/oss/{owner}/ | Open-source Quota usage for a given namespace.
10
+ [**quota_read**](QuotaApi.md#quota_read) | **GET** /quota/{owner}/ | Quota usage for a given namespace.
11
+
12
+
13
+ # **quota_history_read**
14
+ > QuotaHistory quota_history_read(owner)
15
+
16
+ Quota history for a given namespace.
17
+
18
+ Quota history for a given namespace.
19
+
20
+ ### Example
21
+ ```ruby
22
+ # load the gem
23
+ require 'cloudsmith-api'
24
+ # setup authorization
25
+ CloudsmithApi.configure do |config|
26
+ # Configure API key authorization: apikey
27
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
30
+
31
+ # Configure API key authorization: csrf_token
32
+ config.api_key['X-CSRFToken'] = 'YOUR API KEY'
33
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
34
+ #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
35
+ end
36
+
37
+ api_instance = CloudsmithApi::QuotaApi.new
38
+
39
+ owner = "owner_example" # String |
40
+
41
+
42
+ begin
43
+ #Quota history for a given namespace.
44
+ result = api_instance.quota_history_read(owner)
45
+ p result
46
+ rescue CloudsmithApi::ApiError => e
47
+ puts "Exception when calling QuotaApi->quota_history_read: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **owner** | **String**| |
56
+
57
+ ### Return type
58
+
59
+ [**QuotaHistory**](QuotaHistory.md)
60
+
61
+ ### Authorization
62
+
63
+ [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: Not defined
69
+
70
+
71
+
72
+ # **quota_oss_history_read**
73
+ > QuotaHistory quota_oss_history_read(owner)
74
+
75
+ Open-source Quota history for a given namespace.
76
+
77
+ Open-source Quota history for a given namespace.
78
+
79
+ ### Example
80
+ ```ruby
81
+ # load the gem
82
+ require 'cloudsmith-api'
83
+ # setup authorization
84
+ CloudsmithApi.configure do |config|
85
+ # Configure API key authorization: apikey
86
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
87
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
88
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
89
+
90
+ # Configure API key authorization: csrf_token
91
+ config.api_key['X-CSRFToken'] = 'YOUR API KEY'
92
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
93
+ #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
94
+ end
95
+
96
+ api_instance = CloudsmithApi::QuotaApi.new
97
+
98
+ owner = "owner_example" # String |
99
+
100
+
101
+ begin
102
+ #Open-source Quota history for a given namespace.
103
+ result = api_instance.quota_oss_history_read(owner)
104
+ p result
105
+ rescue CloudsmithApi::ApiError => e
106
+ puts "Exception when calling QuotaApi->quota_oss_history_read: #{e}"
107
+ end
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+ Name | Type | Description | Notes
113
+ ------------- | ------------- | ------------- | -------------
114
+ **owner** | **String**| |
115
+
116
+ ### Return type
117
+
118
+ [**QuotaHistory**](QuotaHistory.md)
119
+
120
+ ### Authorization
121
+
122
+ [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
123
+
124
+ ### HTTP request headers
125
+
126
+ - **Content-Type**: Not defined
127
+ - **Accept**: Not defined
128
+
129
+
130
+
131
+ # **quota_oss_read**
132
+ > Quota quota_oss_read(owner)
133
+
134
+ Open-source Quota usage for a given namespace.
135
+
136
+ Open-source Quota usage for a given namespace.
137
+
138
+ ### Example
139
+ ```ruby
140
+ # load the gem
141
+ require 'cloudsmith-api'
142
+ # setup authorization
143
+ CloudsmithApi.configure do |config|
144
+ # Configure API key authorization: apikey
145
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
146
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
147
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
148
+
149
+ # Configure API key authorization: csrf_token
150
+ config.api_key['X-CSRFToken'] = 'YOUR API KEY'
151
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
+ #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
153
+ end
154
+
155
+ api_instance = CloudsmithApi::QuotaApi.new
156
+
157
+ owner = "owner_example" # String |
158
+
159
+
160
+ begin
161
+ #Open-source Quota usage for a given namespace.
162
+ result = api_instance.quota_oss_read(owner)
163
+ p result
164
+ rescue CloudsmithApi::ApiError => e
165
+ puts "Exception when calling QuotaApi->quota_oss_read: #{e}"
166
+ end
167
+ ```
168
+
169
+ ### Parameters
170
+
171
+ Name | Type | Description | Notes
172
+ ------------- | ------------- | ------------- | -------------
173
+ **owner** | **String**| |
174
+
175
+ ### Return type
176
+
177
+ [**Quota**](Quota.md)
178
+
179
+ ### Authorization
180
+
181
+ [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: Not defined
186
+ - **Accept**: Not defined
187
+
188
+
189
+
190
+ # **quota_read**
191
+ > Quota quota_read(owner)
192
+
193
+ Quota usage for a given namespace.
194
+
195
+ Quota usage for a given namespace.
196
+
197
+ ### Example
198
+ ```ruby
199
+ # load the gem
200
+ require 'cloudsmith-api'
201
+ # setup authorization
202
+ CloudsmithApi.configure do |config|
203
+ # Configure API key authorization: apikey
204
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
205
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
206
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
207
+
208
+ # Configure API key authorization: csrf_token
209
+ config.api_key['X-CSRFToken'] = 'YOUR API KEY'
210
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
211
+ #config.api_key_prefix['X-CSRFToken'] = 'Bearer'
212
+ end
213
+
214
+ api_instance = CloudsmithApi::QuotaApi.new
215
+
216
+ owner = "owner_example" # String |
217
+
218
+
219
+ begin
220
+ #Quota usage for a given namespace.
221
+ result = api_instance.quota_read(owner)
222
+ p result
223
+ rescue CloudsmithApi::ApiError => e
224
+ puts "Exception when calling QuotaApi->quota_read: #{e}"
225
+ end
226
+ ```
227
+
228
+ ### Parameters
229
+
230
+ Name | Type | Description | Notes
231
+ ------------- | ------------- | ------------- | -------------
232
+ **owner** | **String**| |
233
+
234
+ ### Return type
235
+
236
+ [**Quota**](Quota.md)
237
+
238
+ ### Authorization
239
+
240
+ [apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
241
+
242
+ ### HTTP request headers
243
+
244
+ - **Content-Type**: Not defined
245
+ - **Accept**: Not defined
246
+
247
+
248
+