cloudsmith-api 2.0.5 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.md +105 -4
- data/build.json +1 -1
- data/docs/DartUpstream.md +23 -0
- data/docs/DartUpstreamRequest.md +20 -0
- data/docs/DartUpstreamRequestPatch.md +20 -0
- data/docs/DebUpstream.md +27 -0
- data/docs/DebUpstreamRequest.md +24 -0
- data/docs/DebUpstreamRequestPatch.md +24 -0
- data/docs/DockerUpstream.md +23 -0
- data/docs/DockerUpstreamRequest.md +20 -0
- data/docs/DockerUpstreamRequestPatch.md +20 -0
- data/docs/HelmUpstream.md +23 -0
- data/docs/HelmUpstreamRequest.md +20 -0
- data/docs/HelmUpstreamRequestPatch.md +20 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/MavenPackageUploadRequest.md +2 -0
- data/docs/MavenUpstream.md +23 -0
- data/docs/MavenUpstreamRequest.md +20 -0
- data/docs/MavenUpstreamRequestPatch.md +20 -0
- data/docs/NpmUpstream.md +23 -0
- data/docs/NpmUpstreamRequest.md +20 -0
- data/docs/NpmUpstreamRequestPatch.md +20 -0
- data/docs/NugetUpstream.md +23 -0
- data/docs/NugetUpstreamRequest.md +20 -0
- data/docs/NugetUpstreamRequestPatch.md +20 -0
- data/docs/OrgsApi.md +431 -0
- data/docs/PackageLicensePolicyEvaluationRequest.md +14 -0
- data/docs/PackageLicensePolicyEvaluationRequestRequest.md +7 -0
- data/docs/PackageVulnerabilityPolicyEvaluationRequest.md +14 -0
- data/docs/PackageVulnerabilityPolicyEvaluationRequestRequest.md +7 -0
- data/docs/PythonUpstream.md +23 -0
- data/docs/PythonUpstreamRequest.md +20 -0
- data/docs/PythonUpstreamRequestPatch.md +20 -0
- data/docs/ReposApi.md +3770 -0
- data/docs/RpmUpstream.md +25 -0
- data/docs/RpmUpstreamRequest.md +22 -0
- data/docs/RpmUpstreamRequestPatch.md +22 -0
- data/docs/RubyUpstream.md +23 -0
- data/docs/RubyUpstreamRequest.md +20 -0
- data/docs/RubyUpstreamRequestPatch.md +20 -0
- data/docs/StatusBasic.md +1 -1
- data/lib/cloudsmith-api/api/orgs_api.rb +447 -0
- data/lib/cloudsmith-api/api/repos_api.rb +3950 -0
- data/lib/cloudsmith-api/models/dart_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/deb_upstream.rb +440 -0
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +412 -0
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +397 -0
- data/lib/cloudsmith-api/models/docker_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/docker_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/docker_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/helm_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +19 -1
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +19 -1
- data/lib/cloudsmith-api/models/maven_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/maven_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/maven_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/npm_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/nuget_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/package_license_policy_evaluation_request.rb +274 -0
- data/lib/cloudsmith-api/models/package_license_policy_evaluation_request_request.rb +175 -0
- data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request.rb +274 -0
- data/lib/cloudsmith-api/models/package_vulnerability_policy_evaluation_request_request.rb +175 -0
- data/lib/cloudsmith-api/models/python_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/python_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/rpm_upstream.rb +418 -0
- data/lib/cloudsmith-api/models/rpm_upstream_request.rb +390 -0
- data/lib/cloudsmith-api/models/rpm_upstream_request_patch.rb +375 -0
- data/lib/cloudsmith-api/models/ruby_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/ruby_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/ruby_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +34 -0
- data/spec/api/orgs_api_spec.rb +99 -0
- data/spec/api/repos_api_spec.rb +870 -0
- data/spec/models/dart_upstream_request_patch_spec.rb +121 -0
- data/spec/models/dart_upstream_request_spec.rb +121 -0
- data/spec/models/dart_upstream_spec.rb +139 -0
- data/spec/models/deb_upstream_request_patch_spec.rb +145 -0
- data/spec/models/deb_upstream_request_spec.rb +145 -0
- data/spec/models/deb_upstream_spec.rb +163 -0
- data/spec/models/docker_upstream_request_patch_spec.rb +121 -0
- data/spec/models/docker_upstream_request_spec.rb +121 -0
- data/spec/models/docker_upstream_spec.rb +139 -0
- data/spec/models/helm_upstream_request_patch_spec.rb +121 -0
- data/spec/models/helm_upstream_request_spec.rb +121 -0
- data/spec/models/helm_upstream_spec.rb +139 -0
- data/spec/models/maven_package_upload_request_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/maven_upstream_request_patch_spec.rb +121 -0
- data/spec/models/maven_upstream_request_spec.rb +121 -0
- data/spec/models/maven_upstream_spec.rb +139 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +121 -0
- data/spec/models/npm_upstream_request_spec.rb +121 -0
- data/spec/models/npm_upstream_spec.rb +139 -0
- data/spec/models/nuget_upstream_request_patch_spec.rb +121 -0
- data/spec/models/nuget_upstream_request_spec.rb +121 -0
- data/spec/models/nuget_upstream_spec.rb +139 -0
- data/spec/models/package_license_policy_evaluation_request_request_spec.rb +35 -0
- data/spec/models/package_license_policy_evaluation_request_spec.rb +81 -0
- data/spec/models/package_vulnerability_policy_evaluation_request_request_spec.rb +35 -0
- data/spec/models/package_vulnerability_policy_evaluation_request_spec.rb +81 -0
- data/spec/models/python_upstream_request_patch_spec.rb +121 -0
- data/spec/models/python_upstream_request_spec.rb +121 -0
- data/spec/models/python_upstream_spec.rb +139 -0
- data/spec/models/rpm_upstream_request_patch_spec.rb +133 -0
- data/spec/models/rpm_upstream_request_spec.rb +133 -0
- data/spec/models/rpm_upstream_spec.rb +151 -0
- data/spec/models/ruby_upstream_request_patch_spec.rb +121 -0
- data/spec/models/ruby_upstream_request_spec.rb +121 -0
- data/spec/models/ruby_upstream_spec.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/shell_out.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support.rb +8 -2
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-support-3.12.0.gemspec → rspec-support-3.12.1.gemspec} +5 -5
- metadata +176 -40
- data/vendor/bundle/ruby/2.6.0/cache/rspec-support-3.12.0.gem +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/README.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/caller_filter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/comparable_version.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/differ.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/directory_maker.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/encoded_string.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/fuzzy_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/hunk_generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/matcher_definition.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/method_signature_verifier.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/object_formatter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/recursive_const_methods.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/reentrant_mutex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/ruby_features.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/location.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/node.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source/token.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/source.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/deprecation_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/diff_helpers.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/formatting_support.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/in_sub_process.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/library_wide_checks.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/stderr_splitter.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/string_matcher.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_directory.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec/with_isolated_stderr.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/spec.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/warnings.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{rspec-support-3.12.0 → rspec-support-3.12.1}/lib/rspec/support/with_keywords_when_needed.rb +0 -0
data/docs/ReposApi.md
CHANGED
|
@@ -24,6 +24,66 @@ Method | HTTP request | Description
|
|
|
24
24
|
[**repos_rsa_create**](ReposApi.md#repos_rsa_create) | **POST** /repos/{owner}/{identifier}/rsa/ | Set the active RSA key for the Repository.
|
|
25
25
|
[**repos_rsa_list**](ReposApi.md#repos_rsa_list) | **GET** /repos/{owner}/{identifier}/rsa/ | Retrieve the active RSA key for the Repository.
|
|
26
26
|
[**repos_rsa_regenerate**](ReposApi.md#repos_rsa_regenerate) | **POST** /repos/{owner}/{identifier}/rsa/regenerate/ | Regenerate RSA Key for the Repository.
|
|
27
|
+
[**repos_upstream_dart_create**](ReposApi.md#repos_upstream_dart_create) | **POST** /repos/{owner}/{identifier}/upstream/dart/ | Create a Dart upstream config for this repository.
|
|
28
|
+
[**repos_upstream_dart_delete**](ReposApi.md#repos_upstream_dart_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/dart/{slug_perm}/ | Delete a Dart upstream config for this repository.
|
|
29
|
+
[**repos_upstream_dart_list**](ReposApi.md#repos_upstream_dart_list) | **GET** /repos/{owner}/{identifier}/upstream/dart/ | List Dart upstream configs for this repository.
|
|
30
|
+
[**repos_upstream_dart_partial_update**](ReposApi.md#repos_upstream_dart_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/dart/{slug_perm}/ | Partially update a Dart upstream config for this repository.
|
|
31
|
+
[**repos_upstream_dart_read**](ReposApi.md#repos_upstream_dart_read) | **GET** /repos/{owner}/{identifier}/upstream/dart/{slug_perm}/ | Retrieve a Dart upstream config for this repository.
|
|
32
|
+
[**repos_upstream_dart_update**](ReposApi.md#repos_upstream_dart_update) | **PUT** /repos/{owner}/{identifier}/upstream/dart/{slug_perm}/ | Update a Dart upstream config for this repository.
|
|
33
|
+
[**repos_upstream_deb_create**](ReposApi.md#repos_upstream_deb_create) | **POST** /repos/{owner}/{identifier}/upstream/deb/ | Create a Debian upstream config for this repository.
|
|
34
|
+
[**repos_upstream_deb_delete**](ReposApi.md#repos_upstream_deb_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/deb/{slug_perm}/ | Delete a Debian upstream config for this repository.
|
|
35
|
+
[**repos_upstream_deb_list**](ReposApi.md#repos_upstream_deb_list) | **GET** /repos/{owner}/{identifier}/upstream/deb/ | List Debian upstream configs for this repository.
|
|
36
|
+
[**repos_upstream_deb_partial_update**](ReposApi.md#repos_upstream_deb_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/deb/{slug_perm}/ | Partially update a Debian upstream config for this repository.
|
|
37
|
+
[**repos_upstream_deb_read**](ReposApi.md#repos_upstream_deb_read) | **GET** /repos/{owner}/{identifier}/upstream/deb/{slug_perm}/ | Retrieve a Debian upstream config for this repository.
|
|
38
|
+
[**repos_upstream_deb_update**](ReposApi.md#repos_upstream_deb_update) | **PUT** /repos/{owner}/{identifier}/upstream/deb/{slug_perm}/ | Update a Debian upstream config for this repository.
|
|
39
|
+
[**repos_upstream_docker_create**](ReposApi.md#repos_upstream_docker_create) | **POST** /repos/{owner}/{identifier}/upstream/docker/ | Create a Docker upstream config for this repository.
|
|
40
|
+
[**repos_upstream_docker_delete**](ReposApi.md#repos_upstream_docker_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Delete a Docker upstream config for this repository.
|
|
41
|
+
[**repos_upstream_docker_list**](ReposApi.md#repos_upstream_docker_list) | **GET** /repos/{owner}/{identifier}/upstream/docker/ | List Docker upstream configs for this repository.
|
|
42
|
+
[**repos_upstream_docker_partial_update**](ReposApi.md#repos_upstream_docker_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Partially update a Docker upstream config for this repository.
|
|
43
|
+
[**repos_upstream_docker_read**](ReposApi.md#repos_upstream_docker_read) | **GET** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Retrieve a Docker upstream config for this repository.
|
|
44
|
+
[**repos_upstream_docker_update**](ReposApi.md#repos_upstream_docker_update) | **PUT** /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/ | Update a Docker upstream config for this repository.
|
|
45
|
+
[**repos_upstream_helm_create**](ReposApi.md#repos_upstream_helm_create) | **POST** /repos/{owner}/{identifier}/upstream/helm/ | Create a Helm upstream config for this repository.
|
|
46
|
+
[**repos_upstream_helm_delete**](ReposApi.md#repos_upstream_helm_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/helm/{slug_perm}/ | Delete a Helm upstream config for this repository.
|
|
47
|
+
[**repos_upstream_helm_list**](ReposApi.md#repos_upstream_helm_list) | **GET** /repos/{owner}/{identifier}/upstream/helm/ | List Helm upstream configs for this repository.
|
|
48
|
+
[**repos_upstream_helm_partial_update**](ReposApi.md#repos_upstream_helm_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/helm/{slug_perm}/ | Partially update a Helm upstream config for this repository.
|
|
49
|
+
[**repos_upstream_helm_read**](ReposApi.md#repos_upstream_helm_read) | **GET** /repos/{owner}/{identifier}/upstream/helm/{slug_perm}/ | Retrieve a Helm upstream config for this repository.
|
|
50
|
+
[**repos_upstream_helm_update**](ReposApi.md#repos_upstream_helm_update) | **PUT** /repos/{owner}/{identifier}/upstream/helm/{slug_perm}/ | Update a Helm upstream config for this repository.
|
|
51
|
+
[**repos_upstream_maven_create**](ReposApi.md#repos_upstream_maven_create) | **POST** /repos/{owner}/{identifier}/upstream/maven/ | Create a Maven upstream config for this repository.
|
|
52
|
+
[**repos_upstream_maven_delete**](ReposApi.md#repos_upstream_maven_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Delete a Maven upstream config for this repository.
|
|
53
|
+
[**repos_upstream_maven_list**](ReposApi.md#repos_upstream_maven_list) | **GET** /repos/{owner}/{identifier}/upstream/maven/ | List Maven upstream configs for this repository.
|
|
54
|
+
[**repos_upstream_maven_partial_update**](ReposApi.md#repos_upstream_maven_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository.
|
|
55
|
+
[**repos_upstream_maven_read**](ReposApi.md#repos_upstream_maven_read) | **GET** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository.
|
|
56
|
+
[**repos_upstream_maven_update**](ReposApi.md#repos_upstream_maven_update) | **PUT** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository.
|
|
57
|
+
[**repos_upstream_npm_create**](ReposApi.md#repos_upstream_npm_create) | **POST** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository.
|
|
58
|
+
[**repos_upstream_npm_delete**](ReposApi.md#repos_upstream_npm_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository.
|
|
59
|
+
[**repos_upstream_npm_list**](ReposApi.md#repos_upstream_npm_list) | **GET** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository.
|
|
60
|
+
[**repos_upstream_npm_partial_update**](ReposApi.md#repos_upstream_npm_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Partially update a npm upstream config for this repository.
|
|
61
|
+
[**repos_upstream_npm_read**](ReposApi.md#repos_upstream_npm_read) | **GET** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Retrieve a npm upstream config for this repository.
|
|
62
|
+
[**repos_upstream_npm_update**](ReposApi.md#repos_upstream_npm_update) | **PUT** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Update a npm upstream config for this repository.
|
|
63
|
+
[**repos_upstream_nuget_create**](ReposApi.md#repos_upstream_nuget_create) | **POST** /repos/{owner}/{identifier}/upstream/nuget/ | Create a NuGet upstream config for this repository.
|
|
64
|
+
[**repos_upstream_nuget_delete**](ReposApi.md#repos_upstream_nuget_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/ | Delete a NuGet upstream config for this repository.
|
|
65
|
+
[**repos_upstream_nuget_list**](ReposApi.md#repos_upstream_nuget_list) | **GET** /repos/{owner}/{identifier}/upstream/nuget/ | List NuGet upstream configs for this repository.
|
|
66
|
+
[**repos_upstream_nuget_partial_update**](ReposApi.md#repos_upstream_nuget_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/ | Partially update a NuGet upstream config for this repository.
|
|
67
|
+
[**repos_upstream_nuget_read**](ReposApi.md#repos_upstream_nuget_read) | **GET** /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/ | Retrieve a NuGet upstream config for this repository.
|
|
68
|
+
[**repos_upstream_nuget_update**](ReposApi.md#repos_upstream_nuget_update) | **PUT** /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/ | Update a NuGet upstream config for this repository.
|
|
69
|
+
[**repos_upstream_python_create**](ReposApi.md#repos_upstream_python_create) | **POST** /repos/{owner}/{identifier}/upstream/python/ | Create a Python upstream config for this repository.
|
|
70
|
+
[**repos_upstream_python_delete**](ReposApi.md#repos_upstream_python_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/python/{slug_perm}/ | Delete a Python upstream config for this repository.
|
|
71
|
+
[**repos_upstream_python_list**](ReposApi.md#repos_upstream_python_list) | **GET** /repos/{owner}/{identifier}/upstream/python/ | List Python upstream configs for this repository.
|
|
72
|
+
[**repos_upstream_python_partial_update**](ReposApi.md#repos_upstream_python_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/python/{slug_perm}/ | Partially update a Python upstream config for this repository.
|
|
73
|
+
[**repos_upstream_python_read**](ReposApi.md#repos_upstream_python_read) | **GET** /repos/{owner}/{identifier}/upstream/python/{slug_perm}/ | Retrieve a Python upstream config for this repository.
|
|
74
|
+
[**repos_upstream_python_update**](ReposApi.md#repos_upstream_python_update) | **PUT** /repos/{owner}/{identifier}/upstream/python/{slug_perm}/ | Update a Python upstream config for this repository.
|
|
75
|
+
[**repos_upstream_rpm_create**](ReposApi.md#repos_upstream_rpm_create) | **POST** /repos/{owner}/{identifier}/upstream/rpm/ | Create a RedHat upstream config for this repository.
|
|
76
|
+
[**repos_upstream_rpm_delete**](ReposApi.md#repos_upstream_rpm_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/rpm/{slug_perm}/ | Delete a RedHat upstream config for this repository.
|
|
77
|
+
[**repos_upstream_rpm_list**](ReposApi.md#repos_upstream_rpm_list) | **GET** /repos/{owner}/{identifier}/upstream/rpm/ | List RedHat upstream configs for this repository.
|
|
78
|
+
[**repos_upstream_rpm_partial_update**](ReposApi.md#repos_upstream_rpm_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/rpm/{slug_perm}/ | Partially update a RedHat upstream config for this repository.
|
|
79
|
+
[**repos_upstream_rpm_read**](ReposApi.md#repos_upstream_rpm_read) | **GET** /repos/{owner}/{identifier}/upstream/rpm/{slug_perm}/ | Retrieve a RedHat upstream config for this repository.
|
|
80
|
+
[**repos_upstream_rpm_update**](ReposApi.md#repos_upstream_rpm_update) | **PUT** /repos/{owner}/{identifier}/upstream/rpm/{slug_perm}/ | Update a RedHat upstream config for this repository.
|
|
81
|
+
[**repos_upstream_ruby_create**](ReposApi.md#repos_upstream_ruby_create) | **POST** /repos/{owner}/{identifier}/upstream/ruby/ | Create a Ruby upstream config for this repository.
|
|
82
|
+
[**repos_upstream_ruby_delete**](ReposApi.md#repos_upstream_ruby_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Delete a Ruby upstream config for this repository.
|
|
83
|
+
[**repos_upstream_ruby_list**](ReposApi.md#repos_upstream_ruby_list) | **GET** /repos/{owner}/{identifier}/upstream/ruby/ | List Ruby upstream configs for this repository.
|
|
84
|
+
[**repos_upstream_ruby_partial_update**](ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
|
|
85
|
+
[**repos_upstream_ruby_read**](ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
|
|
86
|
+
[**repos_upstream_ruby_update**](ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
|
|
27
87
|
[**repos_user_list**](ReposApi.md#repos_user_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
|
|
28
88
|
|
|
29
89
|
|
|
@@ -1212,6 +1272,3716 @@ Name | Type | Description | Notes
|
|
|
1212
1272
|
|
|
1213
1273
|
|
|
1214
1274
|
|
|
1275
|
+
# **repos_upstream_dart_create**
|
|
1276
|
+
> DartUpstream repos_upstream_dart_create(owner, identifier, opts)
|
|
1277
|
+
|
|
1278
|
+
Create a Dart upstream config for this repository.
|
|
1279
|
+
|
|
1280
|
+
Create a Dart upstream config for this repository.
|
|
1281
|
+
|
|
1282
|
+
### Example
|
|
1283
|
+
```ruby
|
|
1284
|
+
# load the gem
|
|
1285
|
+
require 'cloudsmith-api'
|
|
1286
|
+
# setup authorization
|
|
1287
|
+
CloudsmithApi.configure do |config|
|
|
1288
|
+
# Configure API key authorization: apikey
|
|
1289
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1290
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1291
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1292
|
+
end
|
|
1293
|
+
|
|
1294
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1295
|
+
|
|
1296
|
+
owner = 'owner_example' # String |
|
|
1297
|
+
|
|
1298
|
+
identifier = 'identifier_example' # String |
|
|
1299
|
+
|
|
1300
|
+
opts = {
|
|
1301
|
+
data: CloudsmithApi::DartUpstreamRequest.new # DartUpstreamRequest |
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
begin
|
|
1305
|
+
#Create a Dart upstream config for this repository.
|
|
1306
|
+
result = api_instance.repos_upstream_dart_create(owner, identifier, opts)
|
|
1307
|
+
p result
|
|
1308
|
+
rescue CloudsmithApi::ApiError => e
|
|
1309
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_create: #{e}"
|
|
1310
|
+
end
|
|
1311
|
+
```
|
|
1312
|
+
|
|
1313
|
+
### Parameters
|
|
1314
|
+
|
|
1315
|
+
Name | Type | Description | Notes
|
|
1316
|
+
------------- | ------------- | ------------- | -------------
|
|
1317
|
+
**owner** | **String**| |
|
|
1318
|
+
**identifier** | **String**| |
|
|
1319
|
+
**data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
|
|
1320
|
+
|
|
1321
|
+
### Return type
|
|
1322
|
+
|
|
1323
|
+
[**DartUpstream**](DartUpstream.md)
|
|
1324
|
+
|
|
1325
|
+
### Authorization
|
|
1326
|
+
|
|
1327
|
+
[apikey](../README.md#apikey)
|
|
1328
|
+
|
|
1329
|
+
### HTTP request headers
|
|
1330
|
+
|
|
1331
|
+
- **Content-Type**: application/json
|
|
1332
|
+
- **Accept**: application/json
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
# **repos_upstream_dart_delete**
|
|
1337
|
+
> repos_upstream_dart_delete(owner, identifier, slug_perm)
|
|
1338
|
+
|
|
1339
|
+
Delete a Dart upstream config for this repository.
|
|
1340
|
+
|
|
1341
|
+
Delete a Dart upstream config for this repository.
|
|
1342
|
+
|
|
1343
|
+
### Example
|
|
1344
|
+
```ruby
|
|
1345
|
+
# load the gem
|
|
1346
|
+
require 'cloudsmith-api'
|
|
1347
|
+
# setup authorization
|
|
1348
|
+
CloudsmithApi.configure do |config|
|
|
1349
|
+
# Configure API key authorization: apikey
|
|
1350
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1351
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1352
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1353
|
+
end
|
|
1354
|
+
|
|
1355
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1356
|
+
|
|
1357
|
+
owner = 'owner_example' # String |
|
|
1358
|
+
|
|
1359
|
+
identifier = 'identifier_example' # String |
|
|
1360
|
+
|
|
1361
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
begin
|
|
1365
|
+
#Delete a Dart upstream config for this repository.
|
|
1366
|
+
api_instance.repos_upstream_dart_delete(owner, identifier, slug_perm)
|
|
1367
|
+
rescue CloudsmithApi::ApiError => e
|
|
1368
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_delete: #{e}"
|
|
1369
|
+
end
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
### Parameters
|
|
1373
|
+
|
|
1374
|
+
Name | Type | Description | Notes
|
|
1375
|
+
------------- | ------------- | ------------- | -------------
|
|
1376
|
+
**owner** | **String**| |
|
|
1377
|
+
**identifier** | **String**| |
|
|
1378
|
+
**slug_perm** | **String**| |
|
|
1379
|
+
|
|
1380
|
+
### Return type
|
|
1381
|
+
|
|
1382
|
+
nil (empty response body)
|
|
1383
|
+
|
|
1384
|
+
### Authorization
|
|
1385
|
+
|
|
1386
|
+
[apikey](../README.md#apikey)
|
|
1387
|
+
|
|
1388
|
+
### HTTP request headers
|
|
1389
|
+
|
|
1390
|
+
- **Content-Type**: application/json
|
|
1391
|
+
- **Accept**: application/json
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
# **repos_upstream_dart_list**
|
|
1396
|
+
> Array<DartUpstream> repos_upstream_dart_list(owner, identifier, opts)
|
|
1397
|
+
|
|
1398
|
+
List Dart upstream configs for this repository.
|
|
1399
|
+
|
|
1400
|
+
List Dart upstream configs for this repository.
|
|
1401
|
+
|
|
1402
|
+
### Example
|
|
1403
|
+
```ruby
|
|
1404
|
+
# load the gem
|
|
1405
|
+
require 'cloudsmith-api'
|
|
1406
|
+
# setup authorization
|
|
1407
|
+
CloudsmithApi.configure do |config|
|
|
1408
|
+
# Configure API key authorization: apikey
|
|
1409
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1410
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1411
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1415
|
+
|
|
1416
|
+
owner = 'owner_example' # String |
|
|
1417
|
+
|
|
1418
|
+
identifier = 'identifier_example' # String |
|
|
1419
|
+
|
|
1420
|
+
opts = {
|
|
1421
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
1422
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
begin
|
|
1426
|
+
#List Dart upstream configs for this repository.
|
|
1427
|
+
result = api_instance.repos_upstream_dart_list(owner, identifier, opts)
|
|
1428
|
+
p result
|
|
1429
|
+
rescue CloudsmithApi::ApiError => e
|
|
1430
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_list: #{e}"
|
|
1431
|
+
end
|
|
1432
|
+
```
|
|
1433
|
+
|
|
1434
|
+
### Parameters
|
|
1435
|
+
|
|
1436
|
+
Name | Type | Description | Notes
|
|
1437
|
+
------------- | ------------- | ------------- | -------------
|
|
1438
|
+
**owner** | **String**| |
|
|
1439
|
+
**identifier** | **String**| |
|
|
1440
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
1441
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
1442
|
+
|
|
1443
|
+
### Return type
|
|
1444
|
+
|
|
1445
|
+
[**Array<DartUpstream>**](DartUpstream.md)
|
|
1446
|
+
|
|
1447
|
+
### Authorization
|
|
1448
|
+
|
|
1449
|
+
[apikey](../README.md#apikey)
|
|
1450
|
+
|
|
1451
|
+
### HTTP request headers
|
|
1452
|
+
|
|
1453
|
+
- **Content-Type**: application/json
|
|
1454
|
+
- **Accept**: application/json
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
# **repos_upstream_dart_partial_update**
|
|
1459
|
+
> DartUpstream repos_upstream_dart_partial_update(owner, identifier, slug_perm, opts)
|
|
1460
|
+
|
|
1461
|
+
Partially update a Dart upstream config for this repository.
|
|
1462
|
+
|
|
1463
|
+
Partially update a Dart upstream config for this repository.
|
|
1464
|
+
|
|
1465
|
+
### Example
|
|
1466
|
+
```ruby
|
|
1467
|
+
# load the gem
|
|
1468
|
+
require 'cloudsmith-api'
|
|
1469
|
+
# setup authorization
|
|
1470
|
+
CloudsmithApi.configure do |config|
|
|
1471
|
+
# Configure API key authorization: apikey
|
|
1472
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1473
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1474
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1475
|
+
end
|
|
1476
|
+
|
|
1477
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1478
|
+
|
|
1479
|
+
owner = 'owner_example' # String |
|
|
1480
|
+
|
|
1481
|
+
identifier = 'identifier_example' # String |
|
|
1482
|
+
|
|
1483
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1484
|
+
|
|
1485
|
+
opts = {
|
|
1486
|
+
data: CloudsmithApi::DartUpstreamRequestPatch.new # DartUpstreamRequestPatch |
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
begin
|
|
1490
|
+
#Partially update a Dart upstream config for this repository.
|
|
1491
|
+
result = api_instance.repos_upstream_dart_partial_update(owner, identifier, slug_perm, opts)
|
|
1492
|
+
p result
|
|
1493
|
+
rescue CloudsmithApi::ApiError => e
|
|
1494
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_partial_update: #{e}"
|
|
1495
|
+
end
|
|
1496
|
+
```
|
|
1497
|
+
|
|
1498
|
+
### Parameters
|
|
1499
|
+
|
|
1500
|
+
Name | Type | Description | Notes
|
|
1501
|
+
------------- | ------------- | ------------- | -------------
|
|
1502
|
+
**owner** | **String**| |
|
|
1503
|
+
**identifier** | **String**| |
|
|
1504
|
+
**slug_perm** | **String**| |
|
|
1505
|
+
**data** | [**DartUpstreamRequestPatch**](DartUpstreamRequestPatch.md)| | [optional]
|
|
1506
|
+
|
|
1507
|
+
### Return type
|
|
1508
|
+
|
|
1509
|
+
[**DartUpstream**](DartUpstream.md)
|
|
1510
|
+
|
|
1511
|
+
### Authorization
|
|
1512
|
+
|
|
1513
|
+
[apikey](../README.md#apikey)
|
|
1514
|
+
|
|
1515
|
+
### HTTP request headers
|
|
1516
|
+
|
|
1517
|
+
- **Content-Type**: application/json
|
|
1518
|
+
- **Accept**: application/json
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
# **repos_upstream_dart_read**
|
|
1523
|
+
> DartUpstream repos_upstream_dart_read(owner, identifier, slug_perm)
|
|
1524
|
+
|
|
1525
|
+
Retrieve a Dart upstream config for this repository.
|
|
1526
|
+
|
|
1527
|
+
Retrieve a Dart upstream config for this repository.
|
|
1528
|
+
|
|
1529
|
+
### Example
|
|
1530
|
+
```ruby
|
|
1531
|
+
# load the gem
|
|
1532
|
+
require 'cloudsmith-api'
|
|
1533
|
+
# setup authorization
|
|
1534
|
+
CloudsmithApi.configure do |config|
|
|
1535
|
+
# Configure API key authorization: apikey
|
|
1536
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1537
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1538
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1539
|
+
end
|
|
1540
|
+
|
|
1541
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1542
|
+
|
|
1543
|
+
owner = 'owner_example' # String |
|
|
1544
|
+
|
|
1545
|
+
identifier = 'identifier_example' # String |
|
|
1546
|
+
|
|
1547
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
begin
|
|
1551
|
+
#Retrieve a Dart upstream config for this repository.
|
|
1552
|
+
result = api_instance.repos_upstream_dart_read(owner, identifier, slug_perm)
|
|
1553
|
+
p result
|
|
1554
|
+
rescue CloudsmithApi::ApiError => e
|
|
1555
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_read: #{e}"
|
|
1556
|
+
end
|
|
1557
|
+
```
|
|
1558
|
+
|
|
1559
|
+
### Parameters
|
|
1560
|
+
|
|
1561
|
+
Name | Type | Description | Notes
|
|
1562
|
+
------------- | ------------- | ------------- | -------------
|
|
1563
|
+
**owner** | **String**| |
|
|
1564
|
+
**identifier** | **String**| |
|
|
1565
|
+
**slug_perm** | **String**| |
|
|
1566
|
+
|
|
1567
|
+
### Return type
|
|
1568
|
+
|
|
1569
|
+
[**DartUpstream**](DartUpstream.md)
|
|
1570
|
+
|
|
1571
|
+
### Authorization
|
|
1572
|
+
|
|
1573
|
+
[apikey](../README.md#apikey)
|
|
1574
|
+
|
|
1575
|
+
### HTTP request headers
|
|
1576
|
+
|
|
1577
|
+
- **Content-Type**: application/json
|
|
1578
|
+
- **Accept**: application/json
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
# **repos_upstream_dart_update**
|
|
1583
|
+
> DartUpstream repos_upstream_dart_update(owner, identifier, slug_perm, opts)
|
|
1584
|
+
|
|
1585
|
+
Update a Dart upstream config for this repository.
|
|
1586
|
+
|
|
1587
|
+
Update a Dart upstream config for this repository.
|
|
1588
|
+
|
|
1589
|
+
### Example
|
|
1590
|
+
```ruby
|
|
1591
|
+
# load the gem
|
|
1592
|
+
require 'cloudsmith-api'
|
|
1593
|
+
# setup authorization
|
|
1594
|
+
CloudsmithApi.configure do |config|
|
|
1595
|
+
# Configure API key authorization: apikey
|
|
1596
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1597
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1598
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1599
|
+
end
|
|
1600
|
+
|
|
1601
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1602
|
+
|
|
1603
|
+
owner = 'owner_example' # String |
|
|
1604
|
+
|
|
1605
|
+
identifier = 'identifier_example' # String |
|
|
1606
|
+
|
|
1607
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1608
|
+
|
|
1609
|
+
opts = {
|
|
1610
|
+
data: CloudsmithApi::DartUpstreamRequest.new # DartUpstreamRequest |
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
begin
|
|
1614
|
+
#Update a Dart upstream config for this repository.
|
|
1615
|
+
result = api_instance.repos_upstream_dart_update(owner, identifier, slug_perm, opts)
|
|
1616
|
+
p result
|
|
1617
|
+
rescue CloudsmithApi::ApiError => e
|
|
1618
|
+
puts "Exception when calling ReposApi->repos_upstream_dart_update: #{e}"
|
|
1619
|
+
end
|
|
1620
|
+
```
|
|
1621
|
+
|
|
1622
|
+
### Parameters
|
|
1623
|
+
|
|
1624
|
+
Name | Type | Description | Notes
|
|
1625
|
+
------------- | ------------- | ------------- | -------------
|
|
1626
|
+
**owner** | **String**| |
|
|
1627
|
+
**identifier** | **String**| |
|
|
1628
|
+
**slug_perm** | **String**| |
|
|
1629
|
+
**data** | [**DartUpstreamRequest**](DartUpstreamRequest.md)| | [optional]
|
|
1630
|
+
|
|
1631
|
+
### Return type
|
|
1632
|
+
|
|
1633
|
+
[**DartUpstream**](DartUpstream.md)
|
|
1634
|
+
|
|
1635
|
+
### Authorization
|
|
1636
|
+
|
|
1637
|
+
[apikey](../README.md#apikey)
|
|
1638
|
+
|
|
1639
|
+
### HTTP request headers
|
|
1640
|
+
|
|
1641
|
+
- **Content-Type**: application/json
|
|
1642
|
+
- **Accept**: application/json
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
# **repos_upstream_deb_create**
|
|
1647
|
+
> DebUpstream repos_upstream_deb_create(owner, identifier, opts)
|
|
1648
|
+
|
|
1649
|
+
Create a Debian upstream config for this repository.
|
|
1650
|
+
|
|
1651
|
+
Create a Debian upstream config for this repository.
|
|
1652
|
+
|
|
1653
|
+
### Example
|
|
1654
|
+
```ruby
|
|
1655
|
+
# load the gem
|
|
1656
|
+
require 'cloudsmith-api'
|
|
1657
|
+
# setup authorization
|
|
1658
|
+
CloudsmithApi.configure do |config|
|
|
1659
|
+
# Configure API key authorization: apikey
|
|
1660
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1661
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1662
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1663
|
+
end
|
|
1664
|
+
|
|
1665
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1666
|
+
|
|
1667
|
+
owner = 'owner_example' # String |
|
|
1668
|
+
|
|
1669
|
+
identifier = 'identifier_example' # String |
|
|
1670
|
+
|
|
1671
|
+
opts = {
|
|
1672
|
+
data: CloudsmithApi::DebUpstreamRequest.new # DebUpstreamRequest |
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
begin
|
|
1676
|
+
#Create a Debian upstream config for this repository.
|
|
1677
|
+
result = api_instance.repos_upstream_deb_create(owner, identifier, opts)
|
|
1678
|
+
p result
|
|
1679
|
+
rescue CloudsmithApi::ApiError => e
|
|
1680
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_create: #{e}"
|
|
1681
|
+
end
|
|
1682
|
+
```
|
|
1683
|
+
|
|
1684
|
+
### Parameters
|
|
1685
|
+
|
|
1686
|
+
Name | Type | Description | Notes
|
|
1687
|
+
------------- | ------------- | ------------- | -------------
|
|
1688
|
+
**owner** | **String**| |
|
|
1689
|
+
**identifier** | **String**| |
|
|
1690
|
+
**data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
|
|
1691
|
+
|
|
1692
|
+
### Return type
|
|
1693
|
+
|
|
1694
|
+
[**DebUpstream**](DebUpstream.md)
|
|
1695
|
+
|
|
1696
|
+
### Authorization
|
|
1697
|
+
|
|
1698
|
+
[apikey](../README.md#apikey)
|
|
1699
|
+
|
|
1700
|
+
### HTTP request headers
|
|
1701
|
+
|
|
1702
|
+
- **Content-Type**: application/json
|
|
1703
|
+
- **Accept**: application/json
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
# **repos_upstream_deb_delete**
|
|
1708
|
+
> repos_upstream_deb_delete(owner, identifier, slug_perm)
|
|
1709
|
+
|
|
1710
|
+
Delete a Debian upstream config for this repository.
|
|
1711
|
+
|
|
1712
|
+
Delete a Debian upstream config for this repository.
|
|
1713
|
+
|
|
1714
|
+
### Example
|
|
1715
|
+
```ruby
|
|
1716
|
+
# load the gem
|
|
1717
|
+
require 'cloudsmith-api'
|
|
1718
|
+
# setup authorization
|
|
1719
|
+
CloudsmithApi.configure do |config|
|
|
1720
|
+
# Configure API key authorization: apikey
|
|
1721
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1722
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1723
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1726
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1727
|
+
|
|
1728
|
+
owner = 'owner_example' # String |
|
|
1729
|
+
|
|
1730
|
+
identifier = 'identifier_example' # String |
|
|
1731
|
+
|
|
1732
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
begin
|
|
1736
|
+
#Delete a Debian upstream config for this repository.
|
|
1737
|
+
api_instance.repos_upstream_deb_delete(owner, identifier, slug_perm)
|
|
1738
|
+
rescue CloudsmithApi::ApiError => e
|
|
1739
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_delete: #{e}"
|
|
1740
|
+
end
|
|
1741
|
+
```
|
|
1742
|
+
|
|
1743
|
+
### Parameters
|
|
1744
|
+
|
|
1745
|
+
Name | Type | Description | Notes
|
|
1746
|
+
------------- | ------------- | ------------- | -------------
|
|
1747
|
+
**owner** | **String**| |
|
|
1748
|
+
**identifier** | **String**| |
|
|
1749
|
+
**slug_perm** | **String**| |
|
|
1750
|
+
|
|
1751
|
+
### Return type
|
|
1752
|
+
|
|
1753
|
+
nil (empty response body)
|
|
1754
|
+
|
|
1755
|
+
### Authorization
|
|
1756
|
+
|
|
1757
|
+
[apikey](../README.md#apikey)
|
|
1758
|
+
|
|
1759
|
+
### HTTP request headers
|
|
1760
|
+
|
|
1761
|
+
- **Content-Type**: application/json
|
|
1762
|
+
- **Accept**: application/json
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
# **repos_upstream_deb_list**
|
|
1767
|
+
> Array<DebUpstream> repos_upstream_deb_list(owner, identifier, opts)
|
|
1768
|
+
|
|
1769
|
+
List Debian upstream configs for this repository.
|
|
1770
|
+
|
|
1771
|
+
List Debian upstream configs for this repository.
|
|
1772
|
+
|
|
1773
|
+
### Example
|
|
1774
|
+
```ruby
|
|
1775
|
+
# load the gem
|
|
1776
|
+
require 'cloudsmith-api'
|
|
1777
|
+
# setup authorization
|
|
1778
|
+
CloudsmithApi.configure do |config|
|
|
1779
|
+
# Configure API key authorization: apikey
|
|
1780
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1781
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1782
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1786
|
+
|
|
1787
|
+
owner = 'owner_example' # String |
|
|
1788
|
+
|
|
1789
|
+
identifier = 'identifier_example' # String |
|
|
1790
|
+
|
|
1791
|
+
opts = {
|
|
1792
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
1793
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
begin
|
|
1797
|
+
#List Debian upstream configs for this repository.
|
|
1798
|
+
result = api_instance.repos_upstream_deb_list(owner, identifier, opts)
|
|
1799
|
+
p result
|
|
1800
|
+
rescue CloudsmithApi::ApiError => e
|
|
1801
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_list: #{e}"
|
|
1802
|
+
end
|
|
1803
|
+
```
|
|
1804
|
+
|
|
1805
|
+
### Parameters
|
|
1806
|
+
|
|
1807
|
+
Name | Type | Description | Notes
|
|
1808
|
+
------------- | ------------- | ------------- | -------------
|
|
1809
|
+
**owner** | **String**| |
|
|
1810
|
+
**identifier** | **String**| |
|
|
1811
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
1812
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
1813
|
+
|
|
1814
|
+
### Return type
|
|
1815
|
+
|
|
1816
|
+
[**Array<DebUpstream>**](DebUpstream.md)
|
|
1817
|
+
|
|
1818
|
+
### Authorization
|
|
1819
|
+
|
|
1820
|
+
[apikey](../README.md#apikey)
|
|
1821
|
+
|
|
1822
|
+
### HTTP request headers
|
|
1823
|
+
|
|
1824
|
+
- **Content-Type**: application/json
|
|
1825
|
+
- **Accept**: application/json
|
|
1826
|
+
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
# **repos_upstream_deb_partial_update**
|
|
1830
|
+
> DebUpstream repos_upstream_deb_partial_update(owner, identifier, slug_perm, opts)
|
|
1831
|
+
|
|
1832
|
+
Partially update a Debian upstream config for this repository.
|
|
1833
|
+
|
|
1834
|
+
Partially update a Debian upstream config for this repository.
|
|
1835
|
+
|
|
1836
|
+
### Example
|
|
1837
|
+
```ruby
|
|
1838
|
+
# load the gem
|
|
1839
|
+
require 'cloudsmith-api'
|
|
1840
|
+
# setup authorization
|
|
1841
|
+
CloudsmithApi.configure do |config|
|
|
1842
|
+
# Configure API key authorization: apikey
|
|
1843
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1844
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1845
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1849
|
+
|
|
1850
|
+
owner = 'owner_example' # String |
|
|
1851
|
+
|
|
1852
|
+
identifier = 'identifier_example' # String |
|
|
1853
|
+
|
|
1854
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1855
|
+
|
|
1856
|
+
opts = {
|
|
1857
|
+
data: CloudsmithApi::DebUpstreamRequestPatch.new # DebUpstreamRequestPatch |
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
begin
|
|
1861
|
+
#Partially update a Debian upstream config for this repository.
|
|
1862
|
+
result = api_instance.repos_upstream_deb_partial_update(owner, identifier, slug_perm, opts)
|
|
1863
|
+
p result
|
|
1864
|
+
rescue CloudsmithApi::ApiError => e
|
|
1865
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_partial_update: #{e}"
|
|
1866
|
+
end
|
|
1867
|
+
```
|
|
1868
|
+
|
|
1869
|
+
### Parameters
|
|
1870
|
+
|
|
1871
|
+
Name | Type | Description | Notes
|
|
1872
|
+
------------- | ------------- | ------------- | -------------
|
|
1873
|
+
**owner** | **String**| |
|
|
1874
|
+
**identifier** | **String**| |
|
|
1875
|
+
**slug_perm** | **String**| |
|
|
1876
|
+
**data** | [**DebUpstreamRequestPatch**](DebUpstreamRequestPatch.md)| | [optional]
|
|
1877
|
+
|
|
1878
|
+
### Return type
|
|
1879
|
+
|
|
1880
|
+
[**DebUpstream**](DebUpstream.md)
|
|
1881
|
+
|
|
1882
|
+
### Authorization
|
|
1883
|
+
|
|
1884
|
+
[apikey](../README.md#apikey)
|
|
1885
|
+
|
|
1886
|
+
### HTTP request headers
|
|
1887
|
+
|
|
1888
|
+
- **Content-Type**: application/json
|
|
1889
|
+
- **Accept**: application/json
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
|
|
1893
|
+
# **repos_upstream_deb_read**
|
|
1894
|
+
> DebUpstream repos_upstream_deb_read(owner, identifier, slug_perm)
|
|
1895
|
+
|
|
1896
|
+
Retrieve a Debian upstream config for this repository.
|
|
1897
|
+
|
|
1898
|
+
Retrieve a Debian upstream config for this repository.
|
|
1899
|
+
|
|
1900
|
+
### Example
|
|
1901
|
+
```ruby
|
|
1902
|
+
# load the gem
|
|
1903
|
+
require 'cloudsmith-api'
|
|
1904
|
+
# setup authorization
|
|
1905
|
+
CloudsmithApi.configure do |config|
|
|
1906
|
+
# Configure API key authorization: apikey
|
|
1907
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1908
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1909
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1910
|
+
end
|
|
1911
|
+
|
|
1912
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1913
|
+
|
|
1914
|
+
owner = 'owner_example' # String |
|
|
1915
|
+
|
|
1916
|
+
identifier = 'identifier_example' # String |
|
|
1917
|
+
|
|
1918
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
begin
|
|
1922
|
+
#Retrieve a Debian upstream config for this repository.
|
|
1923
|
+
result = api_instance.repos_upstream_deb_read(owner, identifier, slug_perm)
|
|
1924
|
+
p result
|
|
1925
|
+
rescue CloudsmithApi::ApiError => e
|
|
1926
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_read: #{e}"
|
|
1927
|
+
end
|
|
1928
|
+
```
|
|
1929
|
+
|
|
1930
|
+
### Parameters
|
|
1931
|
+
|
|
1932
|
+
Name | Type | Description | Notes
|
|
1933
|
+
------------- | ------------- | ------------- | -------------
|
|
1934
|
+
**owner** | **String**| |
|
|
1935
|
+
**identifier** | **String**| |
|
|
1936
|
+
**slug_perm** | **String**| |
|
|
1937
|
+
|
|
1938
|
+
### Return type
|
|
1939
|
+
|
|
1940
|
+
[**DebUpstream**](DebUpstream.md)
|
|
1941
|
+
|
|
1942
|
+
### Authorization
|
|
1943
|
+
|
|
1944
|
+
[apikey](../README.md#apikey)
|
|
1945
|
+
|
|
1946
|
+
### HTTP request headers
|
|
1947
|
+
|
|
1948
|
+
- **Content-Type**: application/json
|
|
1949
|
+
- **Accept**: application/json
|
|
1950
|
+
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
# **repos_upstream_deb_update**
|
|
1954
|
+
> DebUpstream repos_upstream_deb_update(owner, identifier, slug_perm, opts)
|
|
1955
|
+
|
|
1956
|
+
Update a Debian upstream config for this repository.
|
|
1957
|
+
|
|
1958
|
+
Update a Debian upstream config for this repository.
|
|
1959
|
+
|
|
1960
|
+
### Example
|
|
1961
|
+
```ruby
|
|
1962
|
+
# load the gem
|
|
1963
|
+
require 'cloudsmith-api'
|
|
1964
|
+
# setup authorization
|
|
1965
|
+
CloudsmithApi.configure do |config|
|
|
1966
|
+
# Configure API key authorization: apikey
|
|
1967
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1968
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1969
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1970
|
+
end
|
|
1971
|
+
|
|
1972
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1973
|
+
|
|
1974
|
+
owner = 'owner_example' # String |
|
|
1975
|
+
|
|
1976
|
+
identifier = 'identifier_example' # String |
|
|
1977
|
+
|
|
1978
|
+
slug_perm = 'slug_perm_example' # String |
|
|
1979
|
+
|
|
1980
|
+
opts = {
|
|
1981
|
+
data: CloudsmithApi::DebUpstreamRequest.new # DebUpstreamRequest |
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
begin
|
|
1985
|
+
#Update a Debian upstream config for this repository.
|
|
1986
|
+
result = api_instance.repos_upstream_deb_update(owner, identifier, slug_perm, opts)
|
|
1987
|
+
p result
|
|
1988
|
+
rescue CloudsmithApi::ApiError => e
|
|
1989
|
+
puts "Exception when calling ReposApi->repos_upstream_deb_update: #{e}"
|
|
1990
|
+
end
|
|
1991
|
+
```
|
|
1992
|
+
|
|
1993
|
+
### Parameters
|
|
1994
|
+
|
|
1995
|
+
Name | Type | Description | Notes
|
|
1996
|
+
------------- | ------------- | ------------- | -------------
|
|
1997
|
+
**owner** | **String**| |
|
|
1998
|
+
**identifier** | **String**| |
|
|
1999
|
+
**slug_perm** | **String**| |
|
|
2000
|
+
**data** | [**DebUpstreamRequest**](DebUpstreamRequest.md)| | [optional]
|
|
2001
|
+
|
|
2002
|
+
### Return type
|
|
2003
|
+
|
|
2004
|
+
[**DebUpstream**](DebUpstream.md)
|
|
2005
|
+
|
|
2006
|
+
### Authorization
|
|
2007
|
+
|
|
2008
|
+
[apikey](../README.md#apikey)
|
|
2009
|
+
|
|
2010
|
+
### HTTP request headers
|
|
2011
|
+
|
|
2012
|
+
- **Content-Type**: application/json
|
|
2013
|
+
- **Accept**: application/json
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
# **repos_upstream_docker_create**
|
|
2018
|
+
> DockerUpstream repos_upstream_docker_create(owner, identifier, opts)
|
|
2019
|
+
|
|
2020
|
+
Create a Docker upstream config for this repository.
|
|
2021
|
+
|
|
2022
|
+
Create a Docker upstream config for this repository.
|
|
2023
|
+
|
|
2024
|
+
### Example
|
|
2025
|
+
```ruby
|
|
2026
|
+
# load the gem
|
|
2027
|
+
require 'cloudsmith-api'
|
|
2028
|
+
# setup authorization
|
|
2029
|
+
CloudsmithApi.configure do |config|
|
|
2030
|
+
# Configure API key authorization: apikey
|
|
2031
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2032
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2033
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2034
|
+
end
|
|
2035
|
+
|
|
2036
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2037
|
+
|
|
2038
|
+
owner = 'owner_example' # String |
|
|
2039
|
+
|
|
2040
|
+
identifier = 'identifier_example' # String |
|
|
2041
|
+
|
|
2042
|
+
opts = {
|
|
2043
|
+
data: CloudsmithApi::DockerUpstreamRequest.new # DockerUpstreamRequest |
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
begin
|
|
2047
|
+
#Create a Docker upstream config for this repository.
|
|
2048
|
+
result = api_instance.repos_upstream_docker_create(owner, identifier, opts)
|
|
2049
|
+
p result
|
|
2050
|
+
rescue CloudsmithApi::ApiError => e
|
|
2051
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_create: #{e}"
|
|
2052
|
+
end
|
|
2053
|
+
```
|
|
2054
|
+
|
|
2055
|
+
### Parameters
|
|
2056
|
+
|
|
2057
|
+
Name | Type | Description | Notes
|
|
2058
|
+
------------- | ------------- | ------------- | -------------
|
|
2059
|
+
**owner** | **String**| |
|
|
2060
|
+
**identifier** | **String**| |
|
|
2061
|
+
**data** | [**DockerUpstreamRequest**](DockerUpstreamRequest.md)| | [optional]
|
|
2062
|
+
|
|
2063
|
+
### Return type
|
|
2064
|
+
|
|
2065
|
+
[**DockerUpstream**](DockerUpstream.md)
|
|
2066
|
+
|
|
2067
|
+
### Authorization
|
|
2068
|
+
|
|
2069
|
+
[apikey](../README.md#apikey)
|
|
2070
|
+
|
|
2071
|
+
### HTTP request headers
|
|
2072
|
+
|
|
2073
|
+
- **Content-Type**: application/json
|
|
2074
|
+
- **Accept**: application/json
|
|
2075
|
+
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
# **repos_upstream_docker_delete**
|
|
2079
|
+
> repos_upstream_docker_delete(owner, identifier, slug_perm)
|
|
2080
|
+
|
|
2081
|
+
Delete a Docker upstream config for this repository.
|
|
2082
|
+
|
|
2083
|
+
Delete a Docker upstream config for this repository.
|
|
2084
|
+
|
|
2085
|
+
### Example
|
|
2086
|
+
```ruby
|
|
2087
|
+
# load the gem
|
|
2088
|
+
require 'cloudsmith-api'
|
|
2089
|
+
# setup authorization
|
|
2090
|
+
CloudsmithApi.configure do |config|
|
|
2091
|
+
# Configure API key authorization: apikey
|
|
2092
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2093
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2094
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2095
|
+
end
|
|
2096
|
+
|
|
2097
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2098
|
+
|
|
2099
|
+
owner = 'owner_example' # String |
|
|
2100
|
+
|
|
2101
|
+
identifier = 'identifier_example' # String |
|
|
2102
|
+
|
|
2103
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
begin
|
|
2107
|
+
#Delete a Docker upstream config for this repository.
|
|
2108
|
+
api_instance.repos_upstream_docker_delete(owner, identifier, slug_perm)
|
|
2109
|
+
rescue CloudsmithApi::ApiError => e
|
|
2110
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_delete: #{e}"
|
|
2111
|
+
end
|
|
2112
|
+
```
|
|
2113
|
+
|
|
2114
|
+
### Parameters
|
|
2115
|
+
|
|
2116
|
+
Name | Type | Description | Notes
|
|
2117
|
+
------------- | ------------- | ------------- | -------------
|
|
2118
|
+
**owner** | **String**| |
|
|
2119
|
+
**identifier** | **String**| |
|
|
2120
|
+
**slug_perm** | **String**| |
|
|
2121
|
+
|
|
2122
|
+
### Return type
|
|
2123
|
+
|
|
2124
|
+
nil (empty response body)
|
|
2125
|
+
|
|
2126
|
+
### Authorization
|
|
2127
|
+
|
|
2128
|
+
[apikey](../README.md#apikey)
|
|
2129
|
+
|
|
2130
|
+
### HTTP request headers
|
|
2131
|
+
|
|
2132
|
+
- **Content-Type**: application/json
|
|
2133
|
+
- **Accept**: application/json
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
|
|
2137
|
+
# **repos_upstream_docker_list**
|
|
2138
|
+
> Array<DockerUpstream> repos_upstream_docker_list(owner, identifier, opts)
|
|
2139
|
+
|
|
2140
|
+
List Docker upstream configs for this repository.
|
|
2141
|
+
|
|
2142
|
+
List Docker upstream configs for this repository.
|
|
2143
|
+
|
|
2144
|
+
### Example
|
|
2145
|
+
```ruby
|
|
2146
|
+
# load the gem
|
|
2147
|
+
require 'cloudsmith-api'
|
|
2148
|
+
# setup authorization
|
|
2149
|
+
CloudsmithApi.configure do |config|
|
|
2150
|
+
# Configure API key authorization: apikey
|
|
2151
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2152
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2153
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2157
|
+
|
|
2158
|
+
owner = 'owner_example' # String |
|
|
2159
|
+
|
|
2160
|
+
identifier = 'identifier_example' # String |
|
|
2161
|
+
|
|
2162
|
+
opts = {
|
|
2163
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
2164
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
begin
|
|
2168
|
+
#List Docker upstream configs for this repository.
|
|
2169
|
+
result = api_instance.repos_upstream_docker_list(owner, identifier, opts)
|
|
2170
|
+
p result
|
|
2171
|
+
rescue CloudsmithApi::ApiError => e
|
|
2172
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_list: #{e}"
|
|
2173
|
+
end
|
|
2174
|
+
```
|
|
2175
|
+
|
|
2176
|
+
### Parameters
|
|
2177
|
+
|
|
2178
|
+
Name | Type | Description | Notes
|
|
2179
|
+
------------- | ------------- | ------------- | -------------
|
|
2180
|
+
**owner** | **String**| |
|
|
2181
|
+
**identifier** | **String**| |
|
|
2182
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
2183
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
2184
|
+
|
|
2185
|
+
### Return type
|
|
2186
|
+
|
|
2187
|
+
[**Array<DockerUpstream>**](DockerUpstream.md)
|
|
2188
|
+
|
|
2189
|
+
### Authorization
|
|
2190
|
+
|
|
2191
|
+
[apikey](../README.md#apikey)
|
|
2192
|
+
|
|
2193
|
+
### HTTP request headers
|
|
2194
|
+
|
|
2195
|
+
- **Content-Type**: application/json
|
|
2196
|
+
- **Accept**: application/json
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
# **repos_upstream_docker_partial_update**
|
|
2201
|
+
> DockerUpstream repos_upstream_docker_partial_update(owner, identifier, slug_perm, opts)
|
|
2202
|
+
|
|
2203
|
+
Partially update a Docker upstream config for this repository.
|
|
2204
|
+
|
|
2205
|
+
Partially update a Docker upstream config for this repository.
|
|
2206
|
+
|
|
2207
|
+
### Example
|
|
2208
|
+
```ruby
|
|
2209
|
+
# load the gem
|
|
2210
|
+
require 'cloudsmith-api'
|
|
2211
|
+
# setup authorization
|
|
2212
|
+
CloudsmithApi.configure do |config|
|
|
2213
|
+
# Configure API key authorization: apikey
|
|
2214
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2215
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2216
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2220
|
+
|
|
2221
|
+
owner = 'owner_example' # String |
|
|
2222
|
+
|
|
2223
|
+
identifier = 'identifier_example' # String |
|
|
2224
|
+
|
|
2225
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2226
|
+
|
|
2227
|
+
opts = {
|
|
2228
|
+
data: CloudsmithApi::DockerUpstreamRequestPatch.new # DockerUpstreamRequestPatch |
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
begin
|
|
2232
|
+
#Partially update a Docker upstream config for this repository.
|
|
2233
|
+
result = api_instance.repos_upstream_docker_partial_update(owner, identifier, slug_perm, opts)
|
|
2234
|
+
p result
|
|
2235
|
+
rescue CloudsmithApi::ApiError => e
|
|
2236
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_partial_update: #{e}"
|
|
2237
|
+
end
|
|
2238
|
+
```
|
|
2239
|
+
|
|
2240
|
+
### Parameters
|
|
2241
|
+
|
|
2242
|
+
Name | Type | Description | Notes
|
|
2243
|
+
------------- | ------------- | ------------- | -------------
|
|
2244
|
+
**owner** | **String**| |
|
|
2245
|
+
**identifier** | **String**| |
|
|
2246
|
+
**slug_perm** | **String**| |
|
|
2247
|
+
**data** | [**DockerUpstreamRequestPatch**](DockerUpstreamRequestPatch.md)| | [optional]
|
|
2248
|
+
|
|
2249
|
+
### Return type
|
|
2250
|
+
|
|
2251
|
+
[**DockerUpstream**](DockerUpstream.md)
|
|
2252
|
+
|
|
2253
|
+
### Authorization
|
|
2254
|
+
|
|
2255
|
+
[apikey](../README.md#apikey)
|
|
2256
|
+
|
|
2257
|
+
### HTTP request headers
|
|
2258
|
+
|
|
2259
|
+
- **Content-Type**: application/json
|
|
2260
|
+
- **Accept**: application/json
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
# **repos_upstream_docker_read**
|
|
2265
|
+
> DockerUpstream repos_upstream_docker_read(owner, identifier, slug_perm)
|
|
2266
|
+
|
|
2267
|
+
Retrieve a Docker upstream config for this repository.
|
|
2268
|
+
|
|
2269
|
+
Retrieve a Docker upstream config for this repository.
|
|
2270
|
+
|
|
2271
|
+
### Example
|
|
2272
|
+
```ruby
|
|
2273
|
+
# load the gem
|
|
2274
|
+
require 'cloudsmith-api'
|
|
2275
|
+
# setup authorization
|
|
2276
|
+
CloudsmithApi.configure do |config|
|
|
2277
|
+
# Configure API key authorization: apikey
|
|
2278
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2279
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2280
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2281
|
+
end
|
|
2282
|
+
|
|
2283
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2284
|
+
|
|
2285
|
+
owner = 'owner_example' # String |
|
|
2286
|
+
|
|
2287
|
+
identifier = 'identifier_example' # String |
|
|
2288
|
+
|
|
2289
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
begin
|
|
2293
|
+
#Retrieve a Docker upstream config for this repository.
|
|
2294
|
+
result = api_instance.repos_upstream_docker_read(owner, identifier, slug_perm)
|
|
2295
|
+
p result
|
|
2296
|
+
rescue CloudsmithApi::ApiError => e
|
|
2297
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_read: #{e}"
|
|
2298
|
+
end
|
|
2299
|
+
```
|
|
2300
|
+
|
|
2301
|
+
### Parameters
|
|
2302
|
+
|
|
2303
|
+
Name | Type | Description | Notes
|
|
2304
|
+
------------- | ------------- | ------------- | -------------
|
|
2305
|
+
**owner** | **String**| |
|
|
2306
|
+
**identifier** | **String**| |
|
|
2307
|
+
**slug_perm** | **String**| |
|
|
2308
|
+
|
|
2309
|
+
### Return type
|
|
2310
|
+
|
|
2311
|
+
[**DockerUpstream**](DockerUpstream.md)
|
|
2312
|
+
|
|
2313
|
+
### Authorization
|
|
2314
|
+
|
|
2315
|
+
[apikey](../README.md#apikey)
|
|
2316
|
+
|
|
2317
|
+
### HTTP request headers
|
|
2318
|
+
|
|
2319
|
+
- **Content-Type**: application/json
|
|
2320
|
+
- **Accept**: application/json
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
# **repos_upstream_docker_update**
|
|
2325
|
+
> DockerUpstream repos_upstream_docker_update(owner, identifier, slug_perm, opts)
|
|
2326
|
+
|
|
2327
|
+
Update a Docker upstream config for this repository.
|
|
2328
|
+
|
|
2329
|
+
Update a Docker upstream config for this repository.
|
|
2330
|
+
|
|
2331
|
+
### Example
|
|
2332
|
+
```ruby
|
|
2333
|
+
# load the gem
|
|
2334
|
+
require 'cloudsmith-api'
|
|
2335
|
+
# setup authorization
|
|
2336
|
+
CloudsmithApi.configure do |config|
|
|
2337
|
+
# Configure API key authorization: apikey
|
|
2338
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2339
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2340
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2341
|
+
end
|
|
2342
|
+
|
|
2343
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2344
|
+
|
|
2345
|
+
owner = 'owner_example' # String |
|
|
2346
|
+
|
|
2347
|
+
identifier = 'identifier_example' # String |
|
|
2348
|
+
|
|
2349
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2350
|
+
|
|
2351
|
+
opts = {
|
|
2352
|
+
data: CloudsmithApi::DockerUpstreamRequest.new # DockerUpstreamRequest |
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
begin
|
|
2356
|
+
#Update a Docker upstream config for this repository.
|
|
2357
|
+
result = api_instance.repos_upstream_docker_update(owner, identifier, slug_perm, opts)
|
|
2358
|
+
p result
|
|
2359
|
+
rescue CloudsmithApi::ApiError => e
|
|
2360
|
+
puts "Exception when calling ReposApi->repos_upstream_docker_update: #{e}"
|
|
2361
|
+
end
|
|
2362
|
+
```
|
|
2363
|
+
|
|
2364
|
+
### Parameters
|
|
2365
|
+
|
|
2366
|
+
Name | Type | Description | Notes
|
|
2367
|
+
------------- | ------------- | ------------- | -------------
|
|
2368
|
+
**owner** | **String**| |
|
|
2369
|
+
**identifier** | **String**| |
|
|
2370
|
+
**slug_perm** | **String**| |
|
|
2371
|
+
**data** | [**DockerUpstreamRequest**](DockerUpstreamRequest.md)| | [optional]
|
|
2372
|
+
|
|
2373
|
+
### Return type
|
|
2374
|
+
|
|
2375
|
+
[**DockerUpstream**](DockerUpstream.md)
|
|
2376
|
+
|
|
2377
|
+
### Authorization
|
|
2378
|
+
|
|
2379
|
+
[apikey](../README.md#apikey)
|
|
2380
|
+
|
|
2381
|
+
### HTTP request headers
|
|
2382
|
+
|
|
2383
|
+
- **Content-Type**: application/json
|
|
2384
|
+
- **Accept**: application/json
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
# **repos_upstream_helm_create**
|
|
2389
|
+
> HelmUpstream repos_upstream_helm_create(owner, identifier, opts)
|
|
2390
|
+
|
|
2391
|
+
Create a Helm upstream config for this repository.
|
|
2392
|
+
|
|
2393
|
+
Create a Helm upstream config for this repository.
|
|
2394
|
+
|
|
2395
|
+
### Example
|
|
2396
|
+
```ruby
|
|
2397
|
+
# load the gem
|
|
2398
|
+
require 'cloudsmith-api'
|
|
2399
|
+
# setup authorization
|
|
2400
|
+
CloudsmithApi.configure do |config|
|
|
2401
|
+
# Configure API key authorization: apikey
|
|
2402
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2403
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2404
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2405
|
+
end
|
|
2406
|
+
|
|
2407
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2408
|
+
|
|
2409
|
+
owner = 'owner_example' # String |
|
|
2410
|
+
|
|
2411
|
+
identifier = 'identifier_example' # String |
|
|
2412
|
+
|
|
2413
|
+
opts = {
|
|
2414
|
+
data: CloudsmithApi::HelmUpstreamRequest.new # HelmUpstreamRequest |
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
begin
|
|
2418
|
+
#Create a Helm upstream config for this repository.
|
|
2419
|
+
result = api_instance.repos_upstream_helm_create(owner, identifier, opts)
|
|
2420
|
+
p result
|
|
2421
|
+
rescue CloudsmithApi::ApiError => e
|
|
2422
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_create: #{e}"
|
|
2423
|
+
end
|
|
2424
|
+
```
|
|
2425
|
+
|
|
2426
|
+
### Parameters
|
|
2427
|
+
|
|
2428
|
+
Name | Type | Description | Notes
|
|
2429
|
+
------------- | ------------- | ------------- | -------------
|
|
2430
|
+
**owner** | **String**| |
|
|
2431
|
+
**identifier** | **String**| |
|
|
2432
|
+
**data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
|
|
2433
|
+
|
|
2434
|
+
### Return type
|
|
2435
|
+
|
|
2436
|
+
[**HelmUpstream**](HelmUpstream.md)
|
|
2437
|
+
|
|
2438
|
+
### Authorization
|
|
2439
|
+
|
|
2440
|
+
[apikey](../README.md#apikey)
|
|
2441
|
+
|
|
2442
|
+
### HTTP request headers
|
|
2443
|
+
|
|
2444
|
+
- **Content-Type**: application/json
|
|
2445
|
+
- **Accept**: application/json
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
# **repos_upstream_helm_delete**
|
|
2450
|
+
> repos_upstream_helm_delete(owner, identifier, slug_perm)
|
|
2451
|
+
|
|
2452
|
+
Delete a Helm upstream config for this repository.
|
|
2453
|
+
|
|
2454
|
+
Delete a Helm upstream config for this repository.
|
|
2455
|
+
|
|
2456
|
+
### Example
|
|
2457
|
+
```ruby
|
|
2458
|
+
# load the gem
|
|
2459
|
+
require 'cloudsmith-api'
|
|
2460
|
+
# setup authorization
|
|
2461
|
+
CloudsmithApi.configure do |config|
|
|
2462
|
+
# Configure API key authorization: apikey
|
|
2463
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2464
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2465
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2466
|
+
end
|
|
2467
|
+
|
|
2468
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2469
|
+
|
|
2470
|
+
owner = 'owner_example' # String |
|
|
2471
|
+
|
|
2472
|
+
identifier = 'identifier_example' # String |
|
|
2473
|
+
|
|
2474
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
begin
|
|
2478
|
+
#Delete a Helm upstream config for this repository.
|
|
2479
|
+
api_instance.repos_upstream_helm_delete(owner, identifier, slug_perm)
|
|
2480
|
+
rescue CloudsmithApi::ApiError => e
|
|
2481
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_delete: #{e}"
|
|
2482
|
+
end
|
|
2483
|
+
```
|
|
2484
|
+
|
|
2485
|
+
### Parameters
|
|
2486
|
+
|
|
2487
|
+
Name | Type | Description | Notes
|
|
2488
|
+
------------- | ------------- | ------------- | -------------
|
|
2489
|
+
**owner** | **String**| |
|
|
2490
|
+
**identifier** | **String**| |
|
|
2491
|
+
**slug_perm** | **String**| |
|
|
2492
|
+
|
|
2493
|
+
### Return type
|
|
2494
|
+
|
|
2495
|
+
nil (empty response body)
|
|
2496
|
+
|
|
2497
|
+
### Authorization
|
|
2498
|
+
|
|
2499
|
+
[apikey](../README.md#apikey)
|
|
2500
|
+
|
|
2501
|
+
### HTTP request headers
|
|
2502
|
+
|
|
2503
|
+
- **Content-Type**: application/json
|
|
2504
|
+
- **Accept**: application/json
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
# **repos_upstream_helm_list**
|
|
2509
|
+
> Array<HelmUpstream> repos_upstream_helm_list(owner, identifier, opts)
|
|
2510
|
+
|
|
2511
|
+
List Helm upstream configs for this repository.
|
|
2512
|
+
|
|
2513
|
+
List Helm upstream configs for this repository.
|
|
2514
|
+
|
|
2515
|
+
### Example
|
|
2516
|
+
```ruby
|
|
2517
|
+
# load the gem
|
|
2518
|
+
require 'cloudsmith-api'
|
|
2519
|
+
# setup authorization
|
|
2520
|
+
CloudsmithApi.configure do |config|
|
|
2521
|
+
# Configure API key authorization: apikey
|
|
2522
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2523
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2524
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2525
|
+
end
|
|
2526
|
+
|
|
2527
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2528
|
+
|
|
2529
|
+
owner = 'owner_example' # String |
|
|
2530
|
+
|
|
2531
|
+
identifier = 'identifier_example' # String |
|
|
2532
|
+
|
|
2533
|
+
opts = {
|
|
2534
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
2535
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
begin
|
|
2539
|
+
#List Helm upstream configs for this repository.
|
|
2540
|
+
result = api_instance.repos_upstream_helm_list(owner, identifier, opts)
|
|
2541
|
+
p result
|
|
2542
|
+
rescue CloudsmithApi::ApiError => e
|
|
2543
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_list: #{e}"
|
|
2544
|
+
end
|
|
2545
|
+
```
|
|
2546
|
+
|
|
2547
|
+
### Parameters
|
|
2548
|
+
|
|
2549
|
+
Name | Type | Description | Notes
|
|
2550
|
+
------------- | ------------- | ------------- | -------------
|
|
2551
|
+
**owner** | **String**| |
|
|
2552
|
+
**identifier** | **String**| |
|
|
2553
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
2554
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
2555
|
+
|
|
2556
|
+
### Return type
|
|
2557
|
+
|
|
2558
|
+
[**Array<HelmUpstream>**](HelmUpstream.md)
|
|
2559
|
+
|
|
2560
|
+
### Authorization
|
|
2561
|
+
|
|
2562
|
+
[apikey](../README.md#apikey)
|
|
2563
|
+
|
|
2564
|
+
### HTTP request headers
|
|
2565
|
+
|
|
2566
|
+
- **Content-Type**: application/json
|
|
2567
|
+
- **Accept**: application/json
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
# **repos_upstream_helm_partial_update**
|
|
2572
|
+
> HelmUpstream repos_upstream_helm_partial_update(owner, identifier, slug_perm, opts)
|
|
2573
|
+
|
|
2574
|
+
Partially update a Helm upstream config for this repository.
|
|
2575
|
+
|
|
2576
|
+
Partially update a Helm upstream config for this repository.
|
|
2577
|
+
|
|
2578
|
+
### Example
|
|
2579
|
+
```ruby
|
|
2580
|
+
# load the gem
|
|
2581
|
+
require 'cloudsmith-api'
|
|
2582
|
+
# setup authorization
|
|
2583
|
+
CloudsmithApi.configure do |config|
|
|
2584
|
+
# Configure API key authorization: apikey
|
|
2585
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2586
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2587
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2588
|
+
end
|
|
2589
|
+
|
|
2590
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2591
|
+
|
|
2592
|
+
owner = 'owner_example' # String |
|
|
2593
|
+
|
|
2594
|
+
identifier = 'identifier_example' # String |
|
|
2595
|
+
|
|
2596
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2597
|
+
|
|
2598
|
+
opts = {
|
|
2599
|
+
data: CloudsmithApi::HelmUpstreamRequestPatch.new # HelmUpstreamRequestPatch |
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
begin
|
|
2603
|
+
#Partially update a Helm upstream config for this repository.
|
|
2604
|
+
result = api_instance.repos_upstream_helm_partial_update(owner, identifier, slug_perm, opts)
|
|
2605
|
+
p result
|
|
2606
|
+
rescue CloudsmithApi::ApiError => e
|
|
2607
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_partial_update: #{e}"
|
|
2608
|
+
end
|
|
2609
|
+
```
|
|
2610
|
+
|
|
2611
|
+
### Parameters
|
|
2612
|
+
|
|
2613
|
+
Name | Type | Description | Notes
|
|
2614
|
+
------------- | ------------- | ------------- | -------------
|
|
2615
|
+
**owner** | **String**| |
|
|
2616
|
+
**identifier** | **String**| |
|
|
2617
|
+
**slug_perm** | **String**| |
|
|
2618
|
+
**data** | [**HelmUpstreamRequestPatch**](HelmUpstreamRequestPatch.md)| | [optional]
|
|
2619
|
+
|
|
2620
|
+
### Return type
|
|
2621
|
+
|
|
2622
|
+
[**HelmUpstream**](HelmUpstream.md)
|
|
2623
|
+
|
|
2624
|
+
### Authorization
|
|
2625
|
+
|
|
2626
|
+
[apikey](../README.md#apikey)
|
|
2627
|
+
|
|
2628
|
+
### HTTP request headers
|
|
2629
|
+
|
|
2630
|
+
- **Content-Type**: application/json
|
|
2631
|
+
- **Accept**: application/json
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
# **repos_upstream_helm_read**
|
|
2636
|
+
> HelmUpstream repos_upstream_helm_read(owner, identifier, slug_perm)
|
|
2637
|
+
|
|
2638
|
+
Retrieve a Helm upstream config for this repository.
|
|
2639
|
+
|
|
2640
|
+
Retrieve a Helm upstream config for this repository.
|
|
2641
|
+
|
|
2642
|
+
### Example
|
|
2643
|
+
```ruby
|
|
2644
|
+
# load the gem
|
|
2645
|
+
require 'cloudsmith-api'
|
|
2646
|
+
# setup authorization
|
|
2647
|
+
CloudsmithApi.configure do |config|
|
|
2648
|
+
# Configure API key authorization: apikey
|
|
2649
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2650
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2651
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2652
|
+
end
|
|
2653
|
+
|
|
2654
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2655
|
+
|
|
2656
|
+
owner = 'owner_example' # String |
|
|
2657
|
+
|
|
2658
|
+
identifier = 'identifier_example' # String |
|
|
2659
|
+
|
|
2660
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
begin
|
|
2664
|
+
#Retrieve a Helm upstream config for this repository.
|
|
2665
|
+
result = api_instance.repos_upstream_helm_read(owner, identifier, slug_perm)
|
|
2666
|
+
p result
|
|
2667
|
+
rescue CloudsmithApi::ApiError => e
|
|
2668
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_read: #{e}"
|
|
2669
|
+
end
|
|
2670
|
+
```
|
|
2671
|
+
|
|
2672
|
+
### Parameters
|
|
2673
|
+
|
|
2674
|
+
Name | Type | Description | Notes
|
|
2675
|
+
------------- | ------------- | ------------- | -------------
|
|
2676
|
+
**owner** | **String**| |
|
|
2677
|
+
**identifier** | **String**| |
|
|
2678
|
+
**slug_perm** | **String**| |
|
|
2679
|
+
|
|
2680
|
+
### Return type
|
|
2681
|
+
|
|
2682
|
+
[**HelmUpstream**](HelmUpstream.md)
|
|
2683
|
+
|
|
2684
|
+
### Authorization
|
|
2685
|
+
|
|
2686
|
+
[apikey](../README.md#apikey)
|
|
2687
|
+
|
|
2688
|
+
### HTTP request headers
|
|
2689
|
+
|
|
2690
|
+
- **Content-Type**: application/json
|
|
2691
|
+
- **Accept**: application/json
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
# **repos_upstream_helm_update**
|
|
2696
|
+
> HelmUpstream repos_upstream_helm_update(owner, identifier, slug_perm, opts)
|
|
2697
|
+
|
|
2698
|
+
Update a Helm upstream config for this repository.
|
|
2699
|
+
|
|
2700
|
+
Update a Helm upstream config for this repository.
|
|
2701
|
+
|
|
2702
|
+
### Example
|
|
2703
|
+
```ruby
|
|
2704
|
+
# load the gem
|
|
2705
|
+
require 'cloudsmith-api'
|
|
2706
|
+
# setup authorization
|
|
2707
|
+
CloudsmithApi.configure do |config|
|
|
2708
|
+
# Configure API key authorization: apikey
|
|
2709
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2710
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2711
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2712
|
+
end
|
|
2713
|
+
|
|
2714
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2715
|
+
|
|
2716
|
+
owner = 'owner_example' # String |
|
|
2717
|
+
|
|
2718
|
+
identifier = 'identifier_example' # String |
|
|
2719
|
+
|
|
2720
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2721
|
+
|
|
2722
|
+
opts = {
|
|
2723
|
+
data: CloudsmithApi::HelmUpstreamRequest.new # HelmUpstreamRequest |
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
begin
|
|
2727
|
+
#Update a Helm upstream config for this repository.
|
|
2728
|
+
result = api_instance.repos_upstream_helm_update(owner, identifier, slug_perm, opts)
|
|
2729
|
+
p result
|
|
2730
|
+
rescue CloudsmithApi::ApiError => e
|
|
2731
|
+
puts "Exception when calling ReposApi->repos_upstream_helm_update: #{e}"
|
|
2732
|
+
end
|
|
2733
|
+
```
|
|
2734
|
+
|
|
2735
|
+
### Parameters
|
|
2736
|
+
|
|
2737
|
+
Name | Type | Description | Notes
|
|
2738
|
+
------------- | ------------- | ------------- | -------------
|
|
2739
|
+
**owner** | **String**| |
|
|
2740
|
+
**identifier** | **String**| |
|
|
2741
|
+
**slug_perm** | **String**| |
|
|
2742
|
+
**data** | [**HelmUpstreamRequest**](HelmUpstreamRequest.md)| | [optional]
|
|
2743
|
+
|
|
2744
|
+
### Return type
|
|
2745
|
+
|
|
2746
|
+
[**HelmUpstream**](HelmUpstream.md)
|
|
2747
|
+
|
|
2748
|
+
### Authorization
|
|
2749
|
+
|
|
2750
|
+
[apikey](../README.md#apikey)
|
|
2751
|
+
|
|
2752
|
+
### HTTP request headers
|
|
2753
|
+
|
|
2754
|
+
- **Content-Type**: application/json
|
|
2755
|
+
- **Accept**: application/json
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
# **repos_upstream_maven_create**
|
|
2760
|
+
> MavenUpstream repos_upstream_maven_create(owner, identifier, opts)
|
|
2761
|
+
|
|
2762
|
+
Create a Maven upstream config for this repository.
|
|
2763
|
+
|
|
2764
|
+
Create a Maven upstream config for this repository.
|
|
2765
|
+
|
|
2766
|
+
### Example
|
|
2767
|
+
```ruby
|
|
2768
|
+
# load the gem
|
|
2769
|
+
require 'cloudsmith-api'
|
|
2770
|
+
# setup authorization
|
|
2771
|
+
CloudsmithApi.configure do |config|
|
|
2772
|
+
# Configure API key authorization: apikey
|
|
2773
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2774
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2775
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2776
|
+
end
|
|
2777
|
+
|
|
2778
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2779
|
+
|
|
2780
|
+
owner = 'owner_example' # String |
|
|
2781
|
+
|
|
2782
|
+
identifier = 'identifier_example' # String |
|
|
2783
|
+
|
|
2784
|
+
opts = {
|
|
2785
|
+
data: CloudsmithApi::MavenUpstreamRequest.new # MavenUpstreamRequest |
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
begin
|
|
2789
|
+
#Create a Maven upstream config for this repository.
|
|
2790
|
+
result = api_instance.repos_upstream_maven_create(owner, identifier, opts)
|
|
2791
|
+
p result
|
|
2792
|
+
rescue CloudsmithApi::ApiError => e
|
|
2793
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_create: #{e}"
|
|
2794
|
+
end
|
|
2795
|
+
```
|
|
2796
|
+
|
|
2797
|
+
### Parameters
|
|
2798
|
+
|
|
2799
|
+
Name | Type | Description | Notes
|
|
2800
|
+
------------- | ------------- | ------------- | -------------
|
|
2801
|
+
**owner** | **String**| |
|
|
2802
|
+
**identifier** | **String**| |
|
|
2803
|
+
**data** | [**MavenUpstreamRequest**](MavenUpstreamRequest.md)| | [optional]
|
|
2804
|
+
|
|
2805
|
+
### Return type
|
|
2806
|
+
|
|
2807
|
+
[**MavenUpstream**](MavenUpstream.md)
|
|
2808
|
+
|
|
2809
|
+
### Authorization
|
|
2810
|
+
|
|
2811
|
+
[apikey](../README.md#apikey)
|
|
2812
|
+
|
|
2813
|
+
### HTTP request headers
|
|
2814
|
+
|
|
2815
|
+
- **Content-Type**: application/json
|
|
2816
|
+
- **Accept**: application/json
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
# **repos_upstream_maven_delete**
|
|
2821
|
+
> repos_upstream_maven_delete(owner, identifier, slug_perm)
|
|
2822
|
+
|
|
2823
|
+
Delete a Maven upstream config for this repository.
|
|
2824
|
+
|
|
2825
|
+
Delete a Maven upstream config for this repository.
|
|
2826
|
+
|
|
2827
|
+
### Example
|
|
2828
|
+
```ruby
|
|
2829
|
+
# load the gem
|
|
2830
|
+
require 'cloudsmith-api'
|
|
2831
|
+
# setup authorization
|
|
2832
|
+
CloudsmithApi.configure do |config|
|
|
2833
|
+
# Configure API key authorization: apikey
|
|
2834
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2835
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2836
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2837
|
+
end
|
|
2838
|
+
|
|
2839
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2840
|
+
|
|
2841
|
+
owner = 'owner_example' # String |
|
|
2842
|
+
|
|
2843
|
+
identifier = 'identifier_example' # String |
|
|
2844
|
+
|
|
2845
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
begin
|
|
2849
|
+
#Delete a Maven upstream config for this repository.
|
|
2850
|
+
api_instance.repos_upstream_maven_delete(owner, identifier, slug_perm)
|
|
2851
|
+
rescue CloudsmithApi::ApiError => e
|
|
2852
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_delete: #{e}"
|
|
2853
|
+
end
|
|
2854
|
+
```
|
|
2855
|
+
|
|
2856
|
+
### Parameters
|
|
2857
|
+
|
|
2858
|
+
Name | Type | Description | Notes
|
|
2859
|
+
------------- | ------------- | ------------- | -------------
|
|
2860
|
+
**owner** | **String**| |
|
|
2861
|
+
**identifier** | **String**| |
|
|
2862
|
+
**slug_perm** | **String**| |
|
|
2863
|
+
|
|
2864
|
+
### Return type
|
|
2865
|
+
|
|
2866
|
+
nil (empty response body)
|
|
2867
|
+
|
|
2868
|
+
### Authorization
|
|
2869
|
+
|
|
2870
|
+
[apikey](../README.md#apikey)
|
|
2871
|
+
|
|
2872
|
+
### HTTP request headers
|
|
2873
|
+
|
|
2874
|
+
- **Content-Type**: application/json
|
|
2875
|
+
- **Accept**: application/json
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
# **repos_upstream_maven_list**
|
|
2880
|
+
> Array<MavenUpstream> repos_upstream_maven_list(owner, identifier, opts)
|
|
2881
|
+
|
|
2882
|
+
List Maven upstream configs for this repository.
|
|
2883
|
+
|
|
2884
|
+
List Maven upstream configs for this repository.
|
|
2885
|
+
|
|
2886
|
+
### Example
|
|
2887
|
+
```ruby
|
|
2888
|
+
# load the gem
|
|
2889
|
+
require 'cloudsmith-api'
|
|
2890
|
+
# setup authorization
|
|
2891
|
+
CloudsmithApi.configure do |config|
|
|
2892
|
+
# Configure API key authorization: apikey
|
|
2893
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2894
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2895
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2896
|
+
end
|
|
2897
|
+
|
|
2898
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2899
|
+
|
|
2900
|
+
owner = 'owner_example' # String |
|
|
2901
|
+
|
|
2902
|
+
identifier = 'identifier_example' # String |
|
|
2903
|
+
|
|
2904
|
+
opts = {
|
|
2905
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
2906
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
begin
|
|
2910
|
+
#List Maven upstream configs for this repository.
|
|
2911
|
+
result = api_instance.repos_upstream_maven_list(owner, identifier, opts)
|
|
2912
|
+
p result
|
|
2913
|
+
rescue CloudsmithApi::ApiError => e
|
|
2914
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_list: #{e}"
|
|
2915
|
+
end
|
|
2916
|
+
```
|
|
2917
|
+
|
|
2918
|
+
### Parameters
|
|
2919
|
+
|
|
2920
|
+
Name | Type | Description | Notes
|
|
2921
|
+
------------- | ------------- | ------------- | -------------
|
|
2922
|
+
**owner** | **String**| |
|
|
2923
|
+
**identifier** | **String**| |
|
|
2924
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
2925
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
2926
|
+
|
|
2927
|
+
### Return type
|
|
2928
|
+
|
|
2929
|
+
[**Array<MavenUpstream>**](MavenUpstream.md)
|
|
2930
|
+
|
|
2931
|
+
### Authorization
|
|
2932
|
+
|
|
2933
|
+
[apikey](../README.md#apikey)
|
|
2934
|
+
|
|
2935
|
+
### HTTP request headers
|
|
2936
|
+
|
|
2937
|
+
- **Content-Type**: application/json
|
|
2938
|
+
- **Accept**: application/json
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
# **repos_upstream_maven_partial_update**
|
|
2943
|
+
> MavenUpstream repos_upstream_maven_partial_update(owner, identifier, slug_perm, opts)
|
|
2944
|
+
|
|
2945
|
+
Partially update a Maven upstream config for this repository.
|
|
2946
|
+
|
|
2947
|
+
Partially update a Maven upstream config for this repository.
|
|
2948
|
+
|
|
2949
|
+
### Example
|
|
2950
|
+
```ruby
|
|
2951
|
+
# load the gem
|
|
2952
|
+
require 'cloudsmith-api'
|
|
2953
|
+
# setup authorization
|
|
2954
|
+
CloudsmithApi.configure do |config|
|
|
2955
|
+
# Configure API key authorization: apikey
|
|
2956
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
2957
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
2958
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
2959
|
+
end
|
|
2960
|
+
|
|
2961
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
2962
|
+
|
|
2963
|
+
owner = 'owner_example' # String |
|
|
2964
|
+
|
|
2965
|
+
identifier = 'identifier_example' # String |
|
|
2966
|
+
|
|
2967
|
+
slug_perm = 'slug_perm_example' # String |
|
|
2968
|
+
|
|
2969
|
+
opts = {
|
|
2970
|
+
data: CloudsmithApi::MavenUpstreamRequestPatch.new # MavenUpstreamRequestPatch |
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
begin
|
|
2974
|
+
#Partially update a Maven upstream config for this repository.
|
|
2975
|
+
result = api_instance.repos_upstream_maven_partial_update(owner, identifier, slug_perm, opts)
|
|
2976
|
+
p result
|
|
2977
|
+
rescue CloudsmithApi::ApiError => e
|
|
2978
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_partial_update: #{e}"
|
|
2979
|
+
end
|
|
2980
|
+
```
|
|
2981
|
+
|
|
2982
|
+
### Parameters
|
|
2983
|
+
|
|
2984
|
+
Name | Type | Description | Notes
|
|
2985
|
+
------------- | ------------- | ------------- | -------------
|
|
2986
|
+
**owner** | **String**| |
|
|
2987
|
+
**identifier** | **String**| |
|
|
2988
|
+
**slug_perm** | **String**| |
|
|
2989
|
+
**data** | [**MavenUpstreamRequestPatch**](MavenUpstreamRequestPatch.md)| | [optional]
|
|
2990
|
+
|
|
2991
|
+
### Return type
|
|
2992
|
+
|
|
2993
|
+
[**MavenUpstream**](MavenUpstream.md)
|
|
2994
|
+
|
|
2995
|
+
### Authorization
|
|
2996
|
+
|
|
2997
|
+
[apikey](../README.md#apikey)
|
|
2998
|
+
|
|
2999
|
+
### HTTP request headers
|
|
3000
|
+
|
|
3001
|
+
- **Content-Type**: application/json
|
|
3002
|
+
- **Accept**: application/json
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
# **repos_upstream_maven_read**
|
|
3007
|
+
> MavenUpstream repos_upstream_maven_read(owner, identifier, slug_perm)
|
|
3008
|
+
|
|
3009
|
+
Retrieve a Maven upstream config for this repository.
|
|
3010
|
+
|
|
3011
|
+
Retrieve a Maven upstream config for this repository.
|
|
3012
|
+
|
|
3013
|
+
### Example
|
|
3014
|
+
```ruby
|
|
3015
|
+
# load the gem
|
|
3016
|
+
require 'cloudsmith-api'
|
|
3017
|
+
# setup authorization
|
|
3018
|
+
CloudsmithApi.configure do |config|
|
|
3019
|
+
# Configure API key authorization: apikey
|
|
3020
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3021
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3022
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3023
|
+
end
|
|
3024
|
+
|
|
3025
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3026
|
+
|
|
3027
|
+
owner = 'owner_example' # String |
|
|
3028
|
+
|
|
3029
|
+
identifier = 'identifier_example' # String |
|
|
3030
|
+
|
|
3031
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
begin
|
|
3035
|
+
#Retrieve a Maven upstream config for this repository.
|
|
3036
|
+
result = api_instance.repos_upstream_maven_read(owner, identifier, slug_perm)
|
|
3037
|
+
p result
|
|
3038
|
+
rescue CloudsmithApi::ApiError => e
|
|
3039
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_read: #{e}"
|
|
3040
|
+
end
|
|
3041
|
+
```
|
|
3042
|
+
|
|
3043
|
+
### Parameters
|
|
3044
|
+
|
|
3045
|
+
Name | Type | Description | Notes
|
|
3046
|
+
------------- | ------------- | ------------- | -------------
|
|
3047
|
+
**owner** | **String**| |
|
|
3048
|
+
**identifier** | **String**| |
|
|
3049
|
+
**slug_perm** | **String**| |
|
|
3050
|
+
|
|
3051
|
+
### Return type
|
|
3052
|
+
|
|
3053
|
+
[**MavenUpstream**](MavenUpstream.md)
|
|
3054
|
+
|
|
3055
|
+
### Authorization
|
|
3056
|
+
|
|
3057
|
+
[apikey](../README.md#apikey)
|
|
3058
|
+
|
|
3059
|
+
### HTTP request headers
|
|
3060
|
+
|
|
3061
|
+
- **Content-Type**: application/json
|
|
3062
|
+
- **Accept**: application/json
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
|
|
3066
|
+
# **repos_upstream_maven_update**
|
|
3067
|
+
> MavenUpstream repos_upstream_maven_update(owner, identifier, slug_perm, opts)
|
|
3068
|
+
|
|
3069
|
+
Update a Maven upstream config for this repository.
|
|
3070
|
+
|
|
3071
|
+
Update a Maven upstream config for this repository.
|
|
3072
|
+
|
|
3073
|
+
### Example
|
|
3074
|
+
```ruby
|
|
3075
|
+
# load the gem
|
|
3076
|
+
require 'cloudsmith-api'
|
|
3077
|
+
# setup authorization
|
|
3078
|
+
CloudsmithApi.configure do |config|
|
|
3079
|
+
# Configure API key authorization: apikey
|
|
3080
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3081
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3082
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3083
|
+
end
|
|
3084
|
+
|
|
3085
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3086
|
+
|
|
3087
|
+
owner = 'owner_example' # String |
|
|
3088
|
+
|
|
3089
|
+
identifier = 'identifier_example' # String |
|
|
3090
|
+
|
|
3091
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3092
|
+
|
|
3093
|
+
opts = {
|
|
3094
|
+
data: CloudsmithApi::MavenUpstreamRequest.new # MavenUpstreamRequest |
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
begin
|
|
3098
|
+
#Update a Maven upstream config for this repository.
|
|
3099
|
+
result = api_instance.repos_upstream_maven_update(owner, identifier, slug_perm, opts)
|
|
3100
|
+
p result
|
|
3101
|
+
rescue CloudsmithApi::ApiError => e
|
|
3102
|
+
puts "Exception when calling ReposApi->repos_upstream_maven_update: #{e}"
|
|
3103
|
+
end
|
|
3104
|
+
```
|
|
3105
|
+
|
|
3106
|
+
### Parameters
|
|
3107
|
+
|
|
3108
|
+
Name | Type | Description | Notes
|
|
3109
|
+
------------- | ------------- | ------------- | -------------
|
|
3110
|
+
**owner** | **String**| |
|
|
3111
|
+
**identifier** | **String**| |
|
|
3112
|
+
**slug_perm** | **String**| |
|
|
3113
|
+
**data** | [**MavenUpstreamRequest**](MavenUpstreamRequest.md)| | [optional]
|
|
3114
|
+
|
|
3115
|
+
### Return type
|
|
3116
|
+
|
|
3117
|
+
[**MavenUpstream**](MavenUpstream.md)
|
|
3118
|
+
|
|
3119
|
+
### Authorization
|
|
3120
|
+
|
|
3121
|
+
[apikey](../README.md#apikey)
|
|
3122
|
+
|
|
3123
|
+
### HTTP request headers
|
|
3124
|
+
|
|
3125
|
+
- **Content-Type**: application/json
|
|
3126
|
+
- **Accept**: application/json
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
|
|
3130
|
+
# **repos_upstream_npm_create**
|
|
3131
|
+
> NpmUpstream repos_upstream_npm_create(owner, identifier, opts)
|
|
3132
|
+
|
|
3133
|
+
Create a npm upstream config for this repository.
|
|
3134
|
+
|
|
3135
|
+
Create a npm upstream config for this repository.
|
|
3136
|
+
|
|
3137
|
+
### Example
|
|
3138
|
+
```ruby
|
|
3139
|
+
# load the gem
|
|
3140
|
+
require 'cloudsmith-api'
|
|
3141
|
+
# setup authorization
|
|
3142
|
+
CloudsmithApi.configure do |config|
|
|
3143
|
+
# Configure API key authorization: apikey
|
|
3144
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3145
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3146
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3147
|
+
end
|
|
3148
|
+
|
|
3149
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3150
|
+
|
|
3151
|
+
owner = 'owner_example' # String |
|
|
3152
|
+
|
|
3153
|
+
identifier = 'identifier_example' # String |
|
|
3154
|
+
|
|
3155
|
+
opts = {
|
|
3156
|
+
data: CloudsmithApi::NpmUpstreamRequest.new # NpmUpstreamRequest |
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
begin
|
|
3160
|
+
#Create a npm upstream config for this repository.
|
|
3161
|
+
result = api_instance.repos_upstream_npm_create(owner, identifier, opts)
|
|
3162
|
+
p result
|
|
3163
|
+
rescue CloudsmithApi::ApiError => e
|
|
3164
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_create: #{e}"
|
|
3165
|
+
end
|
|
3166
|
+
```
|
|
3167
|
+
|
|
3168
|
+
### Parameters
|
|
3169
|
+
|
|
3170
|
+
Name | Type | Description | Notes
|
|
3171
|
+
------------- | ------------- | ------------- | -------------
|
|
3172
|
+
**owner** | **String**| |
|
|
3173
|
+
**identifier** | **String**| |
|
|
3174
|
+
**data** | [**NpmUpstreamRequest**](NpmUpstreamRequest.md)| | [optional]
|
|
3175
|
+
|
|
3176
|
+
### Return type
|
|
3177
|
+
|
|
3178
|
+
[**NpmUpstream**](NpmUpstream.md)
|
|
3179
|
+
|
|
3180
|
+
### Authorization
|
|
3181
|
+
|
|
3182
|
+
[apikey](../README.md#apikey)
|
|
3183
|
+
|
|
3184
|
+
### HTTP request headers
|
|
3185
|
+
|
|
3186
|
+
- **Content-Type**: application/json
|
|
3187
|
+
- **Accept**: application/json
|
|
3188
|
+
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
# **repos_upstream_npm_delete**
|
|
3192
|
+
> repos_upstream_npm_delete(owner, identifier, slug_perm)
|
|
3193
|
+
|
|
3194
|
+
Delete a npm upstream config for this repository.
|
|
3195
|
+
|
|
3196
|
+
Delete a npm upstream config for this repository.
|
|
3197
|
+
|
|
3198
|
+
### Example
|
|
3199
|
+
```ruby
|
|
3200
|
+
# load the gem
|
|
3201
|
+
require 'cloudsmith-api'
|
|
3202
|
+
# setup authorization
|
|
3203
|
+
CloudsmithApi.configure do |config|
|
|
3204
|
+
# Configure API key authorization: apikey
|
|
3205
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3206
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3207
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3208
|
+
end
|
|
3209
|
+
|
|
3210
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3211
|
+
|
|
3212
|
+
owner = 'owner_example' # String |
|
|
3213
|
+
|
|
3214
|
+
identifier = 'identifier_example' # String |
|
|
3215
|
+
|
|
3216
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
begin
|
|
3220
|
+
#Delete a npm upstream config for this repository.
|
|
3221
|
+
api_instance.repos_upstream_npm_delete(owner, identifier, slug_perm)
|
|
3222
|
+
rescue CloudsmithApi::ApiError => e
|
|
3223
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_delete: #{e}"
|
|
3224
|
+
end
|
|
3225
|
+
```
|
|
3226
|
+
|
|
3227
|
+
### Parameters
|
|
3228
|
+
|
|
3229
|
+
Name | Type | Description | Notes
|
|
3230
|
+
------------- | ------------- | ------------- | -------------
|
|
3231
|
+
**owner** | **String**| |
|
|
3232
|
+
**identifier** | **String**| |
|
|
3233
|
+
**slug_perm** | **String**| |
|
|
3234
|
+
|
|
3235
|
+
### Return type
|
|
3236
|
+
|
|
3237
|
+
nil (empty response body)
|
|
3238
|
+
|
|
3239
|
+
### Authorization
|
|
3240
|
+
|
|
3241
|
+
[apikey](../README.md#apikey)
|
|
3242
|
+
|
|
3243
|
+
### HTTP request headers
|
|
3244
|
+
|
|
3245
|
+
- **Content-Type**: application/json
|
|
3246
|
+
- **Accept**: application/json
|
|
3247
|
+
|
|
3248
|
+
|
|
3249
|
+
|
|
3250
|
+
# **repos_upstream_npm_list**
|
|
3251
|
+
> Array<NpmUpstream> repos_upstream_npm_list(owner, identifier, opts)
|
|
3252
|
+
|
|
3253
|
+
List npm upstream configs for this repository.
|
|
3254
|
+
|
|
3255
|
+
List npm upstream configs for this repository.
|
|
3256
|
+
|
|
3257
|
+
### Example
|
|
3258
|
+
```ruby
|
|
3259
|
+
# load the gem
|
|
3260
|
+
require 'cloudsmith-api'
|
|
3261
|
+
# setup authorization
|
|
3262
|
+
CloudsmithApi.configure do |config|
|
|
3263
|
+
# Configure API key authorization: apikey
|
|
3264
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3265
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3266
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3267
|
+
end
|
|
3268
|
+
|
|
3269
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3270
|
+
|
|
3271
|
+
owner = 'owner_example' # String |
|
|
3272
|
+
|
|
3273
|
+
identifier = 'identifier_example' # String |
|
|
3274
|
+
|
|
3275
|
+
opts = {
|
|
3276
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
3277
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
begin
|
|
3281
|
+
#List npm upstream configs for this repository.
|
|
3282
|
+
result = api_instance.repos_upstream_npm_list(owner, identifier, opts)
|
|
3283
|
+
p result
|
|
3284
|
+
rescue CloudsmithApi::ApiError => e
|
|
3285
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_list: #{e}"
|
|
3286
|
+
end
|
|
3287
|
+
```
|
|
3288
|
+
|
|
3289
|
+
### Parameters
|
|
3290
|
+
|
|
3291
|
+
Name | Type | Description | Notes
|
|
3292
|
+
------------- | ------------- | ------------- | -------------
|
|
3293
|
+
**owner** | **String**| |
|
|
3294
|
+
**identifier** | **String**| |
|
|
3295
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
3296
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
3297
|
+
|
|
3298
|
+
### Return type
|
|
3299
|
+
|
|
3300
|
+
[**Array<NpmUpstream>**](NpmUpstream.md)
|
|
3301
|
+
|
|
3302
|
+
### Authorization
|
|
3303
|
+
|
|
3304
|
+
[apikey](../README.md#apikey)
|
|
3305
|
+
|
|
3306
|
+
### HTTP request headers
|
|
3307
|
+
|
|
3308
|
+
- **Content-Type**: application/json
|
|
3309
|
+
- **Accept**: application/json
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
# **repos_upstream_npm_partial_update**
|
|
3314
|
+
> NpmUpstream repos_upstream_npm_partial_update(owner, identifier, slug_perm, opts)
|
|
3315
|
+
|
|
3316
|
+
Partially update a npm upstream config for this repository.
|
|
3317
|
+
|
|
3318
|
+
Partially update a npm upstream config for this repository.
|
|
3319
|
+
|
|
3320
|
+
### Example
|
|
3321
|
+
```ruby
|
|
3322
|
+
# load the gem
|
|
3323
|
+
require 'cloudsmith-api'
|
|
3324
|
+
# setup authorization
|
|
3325
|
+
CloudsmithApi.configure do |config|
|
|
3326
|
+
# Configure API key authorization: apikey
|
|
3327
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3328
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3329
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3330
|
+
end
|
|
3331
|
+
|
|
3332
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3333
|
+
|
|
3334
|
+
owner = 'owner_example' # String |
|
|
3335
|
+
|
|
3336
|
+
identifier = 'identifier_example' # String |
|
|
3337
|
+
|
|
3338
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3339
|
+
|
|
3340
|
+
opts = {
|
|
3341
|
+
data: CloudsmithApi::NpmUpstreamRequestPatch.new # NpmUpstreamRequestPatch |
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
begin
|
|
3345
|
+
#Partially update a npm upstream config for this repository.
|
|
3346
|
+
result = api_instance.repos_upstream_npm_partial_update(owner, identifier, slug_perm, opts)
|
|
3347
|
+
p result
|
|
3348
|
+
rescue CloudsmithApi::ApiError => e
|
|
3349
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_partial_update: #{e}"
|
|
3350
|
+
end
|
|
3351
|
+
```
|
|
3352
|
+
|
|
3353
|
+
### Parameters
|
|
3354
|
+
|
|
3355
|
+
Name | Type | Description | Notes
|
|
3356
|
+
------------- | ------------- | ------------- | -------------
|
|
3357
|
+
**owner** | **String**| |
|
|
3358
|
+
**identifier** | **String**| |
|
|
3359
|
+
**slug_perm** | **String**| |
|
|
3360
|
+
**data** | [**NpmUpstreamRequestPatch**](NpmUpstreamRequestPatch.md)| | [optional]
|
|
3361
|
+
|
|
3362
|
+
### Return type
|
|
3363
|
+
|
|
3364
|
+
[**NpmUpstream**](NpmUpstream.md)
|
|
3365
|
+
|
|
3366
|
+
### Authorization
|
|
3367
|
+
|
|
3368
|
+
[apikey](../README.md#apikey)
|
|
3369
|
+
|
|
3370
|
+
### HTTP request headers
|
|
3371
|
+
|
|
3372
|
+
- **Content-Type**: application/json
|
|
3373
|
+
- **Accept**: application/json
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
|
|
3377
|
+
# **repos_upstream_npm_read**
|
|
3378
|
+
> NpmUpstream repos_upstream_npm_read(owner, identifier, slug_perm)
|
|
3379
|
+
|
|
3380
|
+
Retrieve a npm upstream config for this repository.
|
|
3381
|
+
|
|
3382
|
+
Retrieve a npm upstream config for this repository.
|
|
3383
|
+
|
|
3384
|
+
### Example
|
|
3385
|
+
```ruby
|
|
3386
|
+
# load the gem
|
|
3387
|
+
require 'cloudsmith-api'
|
|
3388
|
+
# setup authorization
|
|
3389
|
+
CloudsmithApi.configure do |config|
|
|
3390
|
+
# Configure API key authorization: apikey
|
|
3391
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3392
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3393
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3394
|
+
end
|
|
3395
|
+
|
|
3396
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3397
|
+
|
|
3398
|
+
owner = 'owner_example' # String |
|
|
3399
|
+
|
|
3400
|
+
identifier = 'identifier_example' # String |
|
|
3401
|
+
|
|
3402
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
begin
|
|
3406
|
+
#Retrieve a npm upstream config for this repository.
|
|
3407
|
+
result = api_instance.repos_upstream_npm_read(owner, identifier, slug_perm)
|
|
3408
|
+
p result
|
|
3409
|
+
rescue CloudsmithApi::ApiError => e
|
|
3410
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_read: #{e}"
|
|
3411
|
+
end
|
|
3412
|
+
```
|
|
3413
|
+
|
|
3414
|
+
### Parameters
|
|
3415
|
+
|
|
3416
|
+
Name | Type | Description | Notes
|
|
3417
|
+
------------- | ------------- | ------------- | -------------
|
|
3418
|
+
**owner** | **String**| |
|
|
3419
|
+
**identifier** | **String**| |
|
|
3420
|
+
**slug_perm** | **String**| |
|
|
3421
|
+
|
|
3422
|
+
### Return type
|
|
3423
|
+
|
|
3424
|
+
[**NpmUpstream**](NpmUpstream.md)
|
|
3425
|
+
|
|
3426
|
+
### Authorization
|
|
3427
|
+
|
|
3428
|
+
[apikey](../README.md#apikey)
|
|
3429
|
+
|
|
3430
|
+
### HTTP request headers
|
|
3431
|
+
|
|
3432
|
+
- **Content-Type**: application/json
|
|
3433
|
+
- **Accept**: application/json
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
|
|
3437
|
+
# **repos_upstream_npm_update**
|
|
3438
|
+
> NpmUpstream repos_upstream_npm_update(owner, identifier, slug_perm, opts)
|
|
3439
|
+
|
|
3440
|
+
Update a npm upstream config for this repository.
|
|
3441
|
+
|
|
3442
|
+
Update a npm upstream config for this repository.
|
|
3443
|
+
|
|
3444
|
+
### Example
|
|
3445
|
+
```ruby
|
|
3446
|
+
# load the gem
|
|
3447
|
+
require 'cloudsmith-api'
|
|
3448
|
+
# setup authorization
|
|
3449
|
+
CloudsmithApi.configure do |config|
|
|
3450
|
+
# Configure API key authorization: apikey
|
|
3451
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3452
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3453
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3454
|
+
end
|
|
3455
|
+
|
|
3456
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3457
|
+
|
|
3458
|
+
owner = 'owner_example' # String |
|
|
3459
|
+
|
|
3460
|
+
identifier = 'identifier_example' # String |
|
|
3461
|
+
|
|
3462
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3463
|
+
|
|
3464
|
+
opts = {
|
|
3465
|
+
data: CloudsmithApi::NpmUpstreamRequest.new # NpmUpstreamRequest |
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
begin
|
|
3469
|
+
#Update a npm upstream config for this repository.
|
|
3470
|
+
result = api_instance.repos_upstream_npm_update(owner, identifier, slug_perm, opts)
|
|
3471
|
+
p result
|
|
3472
|
+
rescue CloudsmithApi::ApiError => e
|
|
3473
|
+
puts "Exception when calling ReposApi->repos_upstream_npm_update: #{e}"
|
|
3474
|
+
end
|
|
3475
|
+
```
|
|
3476
|
+
|
|
3477
|
+
### Parameters
|
|
3478
|
+
|
|
3479
|
+
Name | Type | Description | Notes
|
|
3480
|
+
------------- | ------------- | ------------- | -------------
|
|
3481
|
+
**owner** | **String**| |
|
|
3482
|
+
**identifier** | **String**| |
|
|
3483
|
+
**slug_perm** | **String**| |
|
|
3484
|
+
**data** | [**NpmUpstreamRequest**](NpmUpstreamRequest.md)| | [optional]
|
|
3485
|
+
|
|
3486
|
+
### Return type
|
|
3487
|
+
|
|
3488
|
+
[**NpmUpstream**](NpmUpstream.md)
|
|
3489
|
+
|
|
3490
|
+
### Authorization
|
|
3491
|
+
|
|
3492
|
+
[apikey](../README.md#apikey)
|
|
3493
|
+
|
|
3494
|
+
### HTTP request headers
|
|
3495
|
+
|
|
3496
|
+
- **Content-Type**: application/json
|
|
3497
|
+
- **Accept**: application/json
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
# **repos_upstream_nuget_create**
|
|
3502
|
+
> NugetUpstream repos_upstream_nuget_create(owner, identifier, opts)
|
|
3503
|
+
|
|
3504
|
+
Create a NuGet upstream config for this repository.
|
|
3505
|
+
|
|
3506
|
+
Create a NuGet upstream config for this repository.
|
|
3507
|
+
|
|
3508
|
+
### Example
|
|
3509
|
+
```ruby
|
|
3510
|
+
# load the gem
|
|
3511
|
+
require 'cloudsmith-api'
|
|
3512
|
+
# setup authorization
|
|
3513
|
+
CloudsmithApi.configure do |config|
|
|
3514
|
+
# Configure API key authorization: apikey
|
|
3515
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3516
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3517
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3518
|
+
end
|
|
3519
|
+
|
|
3520
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3521
|
+
|
|
3522
|
+
owner = 'owner_example' # String |
|
|
3523
|
+
|
|
3524
|
+
identifier = 'identifier_example' # String |
|
|
3525
|
+
|
|
3526
|
+
opts = {
|
|
3527
|
+
data: CloudsmithApi::NugetUpstreamRequest.new # NugetUpstreamRequest |
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3530
|
+
begin
|
|
3531
|
+
#Create a NuGet upstream config for this repository.
|
|
3532
|
+
result = api_instance.repos_upstream_nuget_create(owner, identifier, opts)
|
|
3533
|
+
p result
|
|
3534
|
+
rescue CloudsmithApi::ApiError => e
|
|
3535
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_create: #{e}"
|
|
3536
|
+
end
|
|
3537
|
+
```
|
|
3538
|
+
|
|
3539
|
+
### Parameters
|
|
3540
|
+
|
|
3541
|
+
Name | Type | Description | Notes
|
|
3542
|
+
------------- | ------------- | ------------- | -------------
|
|
3543
|
+
**owner** | **String**| |
|
|
3544
|
+
**identifier** | **String**| |
|
|
3545
|
+
**data** | [**NugetUpstreamRequest**](NugetUpstreamRequest.md)| | [optional]
|
|
3546
|
+
|
|
3547
|
+
### Return type
|
|
3548
|
+
|
|
3549
|
+
[**NugetUpstream**](NugetUpstream.md)
|
|
3550
|
+
|
|
3551
|
+
### Authorization
|
|
3552
|
+
|
|
3553
|
+
[apikey](../README.md#apikey)
|
|
3554
|
+
|
|
3555
|
+
### HTTP request headers
|
|
3556
|
+
|
|
3557
|
+
- **Content-Type**: application/json
|
|
3558
|
+
- **Accept**: application/json
|
|
3559
|
+
|
|
3560
|
+
|
|
3561
|
+
|
|
3562
|
+
# **repos_upstream_nuget_delete**
|
|
3563
|
+
> repos_upstream_nuget_delete(owner, identifier, slug_perm)
|
|
3564
|
+
|
|
3565
|
+
Delete a NuGet upstream config for this repository.
|
|
3566
|
+
|
|
3567
|
+
Delete a NuGet upstream config for this repository.
|
|
3568
|
+
|
|
3569
|
+
### Example
|
|
3570
|
+
```ruby
|
|
3571
|
+
# load the gem
|
|
3572
|
+
require 'cloudsmith-api'
|
|
3573
|
+
# setup authorization
|
|
3574
|
+
CloudsmithApi.configure do |config|
|
|
3575
|
+
# Configure API key authorization: apikey
|
|
3576
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3577
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3578
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3579
|
+
end
|
|
3580
|
+
|
|
3581
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3582
|
+
|
|
3583
|
+
owner = 'owner_example' # String |
|
|
3584
|
+
|
|
3585
|
+
identifier = 'identifier_example' # String |
|
|
3586
|
+
|
|
3587
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
begin
|
|
3591
|
+
#Delete a NuGet upstream config for this repository.
|
|
3592
|
+
api_instance.repos_upstream_nuget_delete(owner, identifier, slug_perm)
|
|
3593
|
+
rescue CloudsmithApi::ApiError => e
|
|
3594
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_delete: #{e}"
|
|
3595
|
+
end
|
|
3596
|
+
```
|
|
3597
|
+
|
|
3598
|
+
### Parameters
|
|
3599
|
+
|
|
3600
|
+
Name | Type | Description | Notes
|
|
3601
|
+
------------- | ------------- | ------------- | -------------
|
|
3602
|
+
**owner** | **String**| |
|
|
3603
|
+
**identifier** | **String**| |
|
|
3604
|
+
**slug_perm** | **String**| |
|
|
3605
|
+
|
|
3606
|
+
### Return type
|
|
3607
|
+
|
|
3608
|
+
nil (empty response body)
|
|
3609
|
+
|
|
3610
|
+
### Authorization
|
|
3611
|
+
|
|
3612
|
+
[apikey](../README.md#apikey)
|
|
3613
|
+
|
|
3614
|
+
### HTTP request headers
|
|
3615
|
+
|
|
3616
|
+
- **Content-Type**: application/json
|
|
3617
|
+
- **Accept**: application/json
|
|
3618
|
+
|
|
3619
|
+
|
|
3620
|
+
|
|
3621
|
+
# **repos_upstream_nuget_list**
|
|
3622
|
+
> Array<NugetUpstream> repos_upstream_nuget_list(owner, identifier, opts)
|
|
3623
|
+
|
|
3624
|
+
List NuGet upstream configs for this repository.
|
|
3625
|
+
|
|
3626
|
+
List NuGet upstream configs for this repository.
|
|
3627
|
+
|
|
3628
|
+
### Example
|
|
3629
|
+
```ruby
|
|
3630
|
+
# load the gem
|
|
3631
|
+
require 'cloudsmith-api'
|
|
3632
|
+
# setup authorization
|
|
3633
|
+
CloudsmithApi.configure do |config|
|
|
3634
|
+
# Configure API key authorization: apikey
|
|
3635
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3636
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3637
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3638
|
+
end
|
|
3639
|
+
|
|
3640
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3641
|
+
|
|
3642
|
+
owner = 'owner_example' # String |
|
|
3643
|
+
|
|
3644
|
+
identifier = 'identifier_example' # String |
|
|
3645
|
+
|
|
3646
|
+
opts = {
|
|
3647
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
3648
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
begin
|
|
3652
|
+
#List NuGet upstream configs for this repository.
|
|
3653
|
+
result = api_instance.repos_upstream_nuget_list(owner, identifier, opts)
|
|
3654
|
+
p result
|
|
3655
|
+
rescue CloudsmithApi::ApiError => e
|
|
3656
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_list: #{e}"
|
|
3657
|
+
end
|
|
3658
|
+
```
|
|
3659
|
+
|
|
3660
|
+
### Parameters
|
|
3661
|
+
|
|
3662
|
+
Name | Type | Description | Notes
|
|
3663
|
+
------------- | ------------- | ------------- | -------------
|
|
3664
|
+
**owner** | **String**| |
|
|
3665
|
+
**identifier** | **String**| |
|
|
3666
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
3667
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
3668
|
+
|
|
3669
|
+
### Return type
|
|
3670
|
+
|
|
3671
|
+
[**Array<NugetUpstream>**](NugetUpstream.md)
|
|
3672
|
+
|
|
3673
|
+
### Authorization
|
|
3674
|
+
|
|
3675
|
+
[apikey](../README.md#apikey)
|
|
3676
|
+
|
|
3677
|
+
### HTTP request headers
|
|
3678
|
+
|
|
3679
|
+
- **Content-Type**: application/json
|
|
3680
|
+
- **Accept**: application/json
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
|
|
3684
|
+
# **repos_upstream_nuget_partial_update**
|
|
3685
|
+
> NugetUpstream repos_upstream_nuget_partial_update(owner, identifier, slug_perm, opts)
|
|
3686
|
+
|
|
3687
|
+
Partially update a NuGet upstream config for this repository.
|
|
3688
|
+
|
|
3689
|
+
Partially update a NuGet upstream config for this repository.
|
|
3690
|
+
|
|
3691
|
+
### Example
|
|
3692
|
+
```ruby
|
|
3693
|
+
# load the gem
|
|
3694
|
+
require 'cloudsmith-api'
|
|
3695
|
+
# setup authorization
|
|
3696
|
+
CloudsmithApi.configure do |config|
|
|
3697
|
+
# Configure API key authorization: apikey
|
|
3698
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3699
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3700
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3701
|
+
end
|
|
3702
|
+
|
|
3703
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3704
|
+
|
|
3705
|
+
owner = 'owner_example' # String |
|
|
3706
|
+
|
|
3707
|
+
identifier = 'identifier_example' # String |
|
|
3708
|
+
|
|
3709
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3710
|
+
|
|
3711
|
+
opts = {
|
|
3712
|
+
data: CloudsmithApi::NugetUpstreamRequestPatch.new # NugetUpstreamRequestPatch |
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
begin
|
|
3716
|
+
#Partially update a NuGet upstream config for this repository.
|
|
3717
|
+
result = api_instance.repos_upstream_nuget_partial_update(owner, identifier, slug_perm, opts)
|
|
3718
|
+
p result
|
|
3719
|
+
rescue CloudsmithApi::ApiError => e
|
|
3720
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_partial_update: #{e}"
|
|
3721
|
+
end
|
|
3722
|
+
```
|
|
3723
|
+
|
|
3724
|
+
### Parameters
|
|
3725
|
+
|
|
3726
|
+
Name | Type | Description | Notes
|
|
3727
|
+
------------- | ------------- | ------------- | -------------
|
|
3728
|
+
**owner** | **String**| |
|
|
3729
|
+
**identifier** | **String**| |
|
|
3730
|
+
**slug_perm** | **String**| |
|
|
3731
|
+
**data** | [**NugetUpstreamRequestPatch**](NugetUpstreamRequestPatch.md)| | [optional]
|
|
3732
|
+
|
|
3733
|
+
### Return type
|
|
3734
|
+
|
|
3735
|
+
[**NugetUpstream**](NugetUpstream.md)
|
|
3736
|
+
|
|
3737
|
+
### Authorization
|
|
3738
|
+
|
|
3739
|
+
[apikey](../README.md#apikey)
|
|
3740
|
+
|
|
3741
|
+
### HTTP request headers
|
|
3742
|
+
|
|
3743
|
+
- **Content-Type**: application/json
|
|
3744
|
+
- **Accept**: application/json
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
|
|
3748
|
+
# **repos_upstream_nuget_read**
|
|
3749
|
+
> NugetUpstream repos_upstream_nuget_read(owner, identifier, slug_perm)
|
|
3750
|
+
|
|
3751
|
+
Retrieve a NuGet upstream config for this repository.
|
|
3752
|
+
|
|
3753
|
+
Retrieve a NuGet upstream config for this repository.
|
|
3754
|
+
|
|
3755
|
+
### Example
|
|
3756
|
+
```ruby
|
|
3757
|
+
# load the gem
|
|
3758
|
+
require 'cloudsmith-api'
|
|
3759
|
+
# setup authorization
|
|
3760
|
+
CloudsmithApi.configure do |config|
|
|
3761
|
+
# Configure API key authorization: apikey
|
|
3762
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3763
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3764
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3765
|
+
end
|
|
3766
|
+
|
|
3767
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3768
|
+
|
|
3769
|
+
owner = 'owner_example' # String |
|
|
3770
|
+
|
|
3771
|
+
identifier = 'identifier_example' # String |
|
|
3772
|
+
|
|
3773
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3774
|
+
|
|
3775
|
+
|
|
3776
|
+
begin
|
|
3777
|
+
#Retrieve a NuGet upstream config for this repository.
|
|
3778
|
+
result = api_instance.repos_upstream_nuget_read(owner, identifier, slug_perm)
|
|
3779
|
+
p result
|
|
3780
|
+
rescue CloudsmithApi::ApiError => e
|
|
3781
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_read: #{e}"
|
|
3782
|
+
end
|
|
3783
|
+
```
|
|
3784
|
+
|
|
3785
|
+
### Parameters
|
|
3786
|
+
|
|
3787
|
+
Name | Type | Description | Notes
|
|
3788
|
+
------------- | ------------- | ------------- | -------------
|
|
3789
|
+
**owner** | **String**| |
|
|
3790
|
+
**identifier** | **String**| |
|
|
3791
|
+
**slug_perm** | **String**| |
|
|
3792
|
+
|
|
3793
|
+
### Return type
|
|
3794
|
+
|
|
3795
|
+
[**NugetUpstream**](NugetUpstream.md)
|
|
3796
|
+
|
|
3797
|
+
### Authorization
|
|
3798
|
+
|
|
3799
|
+
[apikey](../README.md#apikey)
|
|
3800
|
+
|
|
3801
|
+
### HTTP request headers
|
|
3802
|
+
|
|
3803
|
+
- **Content-Type**: application/json
|
|
3804
|
+
- **Accept**: application/json
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
# **repos_upstream_nuget_update**
|
|
3809
|
+
> NugetUpstream repos_upstream_nuget_update(owner, identifier, slug_perm, opts)
|
|
3810
|
+
|
|
3811
|
+
Update a NuGet upstream config for this repository.
|
|
3812
|
+
|
|
3813
|
+
Update a NuGet upstream config for this repository.
|
|
3814
|
+
|
|
3815
|
+
### Example
|
|
3816
|
+
```ruby
|
|
3817
|
+
# load the gem
|
|
3818
|
+
require 'cloudsmith-api'
|
|
3819
|
+
# setup authorization
|
|
3820
|
+
CloudsmithApi.configure do |config|
|
|
3821
|
+
# Configure API key authorization: apikey
|
|
3822
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3823
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3824
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3825
|
+
end
|
|
3826
|
+
|
|
3827
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3828
|
+
|
|
3829
|
+
owner = 'owner_example' # String |
|
|
3830
|
+
|
|
3831
|
+
identifier = 'identifier_example' # String |
|
|
3832
|
+
|
|
3833
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3834
|
+
|
|
3835
|
+
opts = {
|
|
3836
|
+
data: CloudsmithApi::NugetUpstreamRequest.new # NugetUpstreamRequest |
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
begin
|
|
3840
|
+
#Update a NuGet upstream config for this repository.
|
|
3841
|
+
result = api_instance.repos_upstream_nuget_update(owner, identifier, slug_perm, opts)
|
|
3842
|
+
p result
|
|
3843
|
+
rescue CloudsmithApi::ApiError => e
|
|
3844
|
+
puts "Exception when calling ReposApi->repos_upstream_nuget_update: #{e}"
|
|
3845
|
+
end
|
|
3846
|
+
```
|
|
3847
|
+
|
|
3848
|
+
### Parameters
|
|
3849
|
+
|
|
3850
|
+
Name | Type | Description | Notes
|
|
3851
|
+
------------- | ------------- | ------------- | -------------
|
|
3852
|
+
**owner** | **String**| |
|
|
3853
|
+
**identifier** | **String**| |
|
|
3854
|
+
**slug_perm** | **String**| |
|
|
3855
|
+
**data** | [**NugetUpstreamRequest**](NugetUpstreamRequest.md)| | [optional]
|
|
3856
|
+
|
|
3857
|
+
### Return type
|
|
3858
|
+
|
|
3859
|
+
[**NugetUpstream**](NugetUpstream.md)
|
|
3860
|
+
|
|
3861
|
+
### Authorization
|
|
3862
|
+
|
|
3863
|
+
[apikey](../README.md#apikey)
|
|
3864
|
+
|
|
3865
|
+
### HTTP request headers
|
|
3866
|
+
|
|
3867
|
+
- **Content-Type**: application/json
|
|
3868
|
+
- **Accept**: application/json
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
|
|
3872
|
+
# **repos_upstream_python_create**
|
|
3873
|
+
> PythonUpstream repos_upstream_python_create(owner, identifier, opts)
|
|
3874
|
+
|
|
3875
|
+
Create a Python upstream config for this repository.
|
|
3876
|
+
|
|
3877
|
+
Create a Python upstream config for this repository.
|
|
3878
|
+
|
|
3879
|
+
### Example
|
|
3880
|
+
```ruby
|
|
3881
|
+
# load the gem
|
|
3882
|
+
require 'cloudsmith-api'
|
|
3883
|
+
# setup authorization
|
|
3884
|
+
CloudsmithApi.configure do |config|
|
|
3885
|
+
# Configure API key authorization: apikey
|
|
3886
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3887
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3888
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3889
|
+
end
|
|
3890
|
+
|
|
3891
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3892
|
+
|
|
3893
|
+
owner = 'owner_example' # String |
|
|
3894
|
+
|
|
3895
|
+
identifier = 'identifier_example' # String |
|
|
3896
|
+
|
|
3897
|
+
opts = {
|
|
3898
|
+
data: CloudsmithApi::PythonUpstreamRequest.new # PythonUpstreamRequest |
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
begin
|
|
3902
|
+
#Create a Python upstream config for this repository.
|
|
3903
|
+
result = api_instance.repos_upstream_python_create(owner, identifier, opts)
|
|
3904
|
+
p result
|
|
3905
|
+
rescue CloudsmithApi::ApiError => e
|
|
3906
|
+
puts "Exception when calling ReposApi->repos_upstream_python_create: #{e}"
|
|
3907
|
+
end
|
|
3908
|
+
```
|
|
3909
|
+
|
|
3910
|
+
### Parameters
|
|
3911
|
+
|
|
3912
|
+
Name | Type | Description | Notes
|
|
3913
|
+
------------- | ------------- | ------------- | -------------
|
|
3914
|
+
**owner** | **String**| |
|
|
3915
|
+
**identifier** | **String**| |
|
|
3916
|
+
**data** | [**PythonUpstreamRequest**](PythonUpstreamRequest.md)| | [optional]
|
|
3917
|
+
|
|
3918
|
+
### Return type
|
|
3919
|
+
|
|
3920
|
+
[**PythonUpstream**](PythonUpstream.md)
|
|
3921
|
+
|
|
3922
|
+
### Authorization
|
|
3923
|
+
|
|
3924
|
+
[apikey](../README.md#apikey)
|
|
3925
|
+
|
|
3926
|
+
### HTTP request headers
|
|
3927
|
+
|
|
3928
|
+
- **Content-Type**: application/json
|
|
3929
|
+
- **Accept**: application/json
|
|
3930
|
+
|
|
3931
|
+
|
|
3932
|
+
|
|
3933
|
+
# **repos_upstream_python_delete**
|
|
3934
|
+
> repos_upstream_python_delete(owner, identifier, slug_perm)
|
|
3935
|
+
|
|
3936
|
+
Delete a Python upstream config for this repository.
|
|
3937
|
+
|
|
3938
|
+
Delete a Python upstream config for this repository.
|
|
3939
|
+
|
|
3940
|
+
### Example
|
|
3941
|
+
```ruby
|
|
3942
|
+
# load the gem
|
|
3943
|
+
require 'cloudsmith-api'
|
|
3944
|
+
# setup authorization
|
|
3945
|
+
CloudsmithApi.configure do |config|
|
|
3946
|
+
# Configure API key authorization: apikey
|
|
3947
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
3948
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
3949
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
3950
|
+
end
|
|
3951
|
+
|
|
3952
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
3953
|
+
|
|
3954
|
+
owner = 'owner_example' # String |
|
|
3955
|
+
|
|
3956
|
+
identifier = 'identifier_example' # String |
|
|
3957
|
+
|
|
3958
|
+
slug_perm = 'slug_perm_example' # String |
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
begin
|
|
3962
|
+
#Delete a Python upstream config for this repository.
|
|
3963
|
+
api_instance.repos_upstream_python_delete(owner, identifier, slug_perm)
|
|
3964
|
+
rescue CloudsmithApi::ApiError => e
|
|
3965
|
+
puts "Exception when calling ReposApi->repos_upstream_python_delete: #{e}"
|
|
3966
|
+
end
|
|
3967
|
+
```
|
|
3968
|
+
|
|
3969
|
+
### Parameters
|
|
3970
|
+
|
|
3971
|
+
Name | Type | Description | Notes
|
|
3972
|
+
------------- | ------------- | ------------- | -------------
|
|
3973
|
+
**owner** | **String**| |
|
|
3974
|
+
**identifier** | **String**| |
|
|
3975
|
+
**slug_perm** | **String**| |
|
|
3976
|
+
|
|
3977
|
+
### Return type
|
|
3978
|
+
|
|
3979
|
+
nil (empty response body)
|
|
3980
|
+
|
|
3981
|
+
### Authorization
|
|
3982
|
+
|
|
3983
|
+
[apikey](../README.md#apikey)
|
|
3984
|
+
|
|
3985
|
+
### HTTP request headers
|
|
3986
|
+
|
|
3987
|
+
- **Content-Type**: application/json
|
|
3988
|
+
- **Accept**: application/json
|
|
3989
|
+
|
|
3990
|
+
|
|
3991
|
+
|
|
3992
|
+
# **repos_upstream_python_list**
|
|
3993
|
+
> Array<PythonUpstream> repos_upstream_python_list(owner, identifier, opts)
|
|
3994
|
+
|
|
3995
|
+
List Python upstream configs for this repository.
|
|
3996
|
+
|
|
3997
|
+
List Python upstream configs for this repository.
|
|
3998
|
+
|
|
3999
|
+
### Example
|
|
4000
|
+
```ruby
|
|
4001
|
+
# load the gem
|
|
4002
|
+
require 'cloudsmith-api'
|
|
4003
|
+
# setup authorization
|
|
4004
|
+
CloudsmithApi.configure do |config|
|
|
4005
|
+
# Configure API key authorization: apikey
|
|
4006
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4007
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4008
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4009
|
+
end
|
|
4010
|
+
|
|
4011
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4012
|
+
|
|
4013
|
+
owner = 'owner_example' # String |
|
|
4014
|
+
|
|
4015
|
+
identifier = 'identifier_example' # String |
|
|
4016
|
+
|
|
4017
|
+
opts = {
|
|
4018
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
4019
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
4020
|
+
}
|
|
4021
|
+
|
|
4022
|
+
begin
|
|
4023
|
+
#List Python upstream configs for this repository.
|
|
4024
|
+
result = api_instance.repos_upstream_python_list(owner, identifier, opts)
|
|
4025
|
+
p result
|
|
4026
|
+
rescue CloudsmithApi::ApiError => e
|
|
4027
|
+
puts "Exception when calling ReposApi->repos_upstream_python_list: #{e}"
|
|
4028
|
+
end
|
|
4029
|
+
```
|
|
4030
|
+
|
|
4031
|
+
### Parameters
|
|
4032
|
+
|
|
4033
|
+
Name | Type | Description | Notes
|
|
4034
|
+
------------- | ------------- | ------------- | -------------
|
|
4035
|
+
**owner** | **String**| |
|
|
4036
|
+
**identifier** | **String**| |
|
|
4037
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
4038
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
4039
|
+
|
|
4040
|
+
### Return type
|
|
4041
|
+
|
|
4042
|
+
[**Array<PythonUpstream>**](PythonUpstream.md)
|
|
4043
|
+
|
|
4044
|
+
### Authorization
|
|
4045
|
+
|
|
4046
|
+
[apikey](../README.md#apikey)
|
|
4047
|
+
|
|
4048
|
+
### HTTP request headers
|
|
4049
|
+
|
|
4050
|
+
- **Content-Type**: application/json
|
|
4051
|
+
- **Accept**: application/json
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
# **repos_upstream_python_partial_update**
|
|
4056
|
+
> PythonUpstream repos_upstream_python_partial_update(owner, identifier, slug_perm, opts)
|
|
4057
|
+
|
|
4058
|
+
Partially update a Python upstream config for this repository.
|
|
4059
|
+
|
|
4060
|
+
Partially update a Python upstream config for this repository.
|
|
4061
|
+
|
|
4062
|
+
### Example
|
|
4063
|
+
```ruby
|
|
4064
|
+
# load the gem
|
|
4065
|
+
require 'cloudsmith-api'
|
|
4066
|
+
# setup authorization
|
|
4067
|
+
CloudsmithApi.configure do |config|
|
|
4068
|
+
# Configure API key authorization: apikey
|
|
4069
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4070
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4071
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4072
|
+
end
|
|
4073
|
+
|
|
4074
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4075
|
+
|
|
4076
|
+
owner = 'owner_example' # String |
|
|
4077
|
+
|
|
4078
|
+
identifier = 'identifier_example' # String |
|
|
4079
|
+
|
|
4080
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4081
|
+
|
|
4082
|
+
opts = {
|
|
4083
|
+
data: CloudsmithApi::PythonUpstreamRequestPatch.new # PythonUpstreamRequestPatch |
|
|
4084
|
+
}
|
|
4085
|
+
|
|
4086
|
+
begin
|
|
4087
|
+
#Partially update a Python upstream config for this repository.
|
|
4088
|
+
result = api_instance.repos_upstream_python_partial_update(owner, identifier, slug_perm, opts)
|
|
4089
|
+
p result
|
|
4090
|
+
rescue CloudsmithApi::ApiError => e
|
|
4091
|
+
puts "Exception when calling ReposApi->repos_upstream_python_partial_update: #{e}"
|
|
4092
|
+
end
|
|
4093
|
+
```
|
|
4094
|
+
|
|
4095
|
+
### Parameters
|
|
4096
|
+
|
|
4097
|
+
Name | Type | Description | Notes
|
|
4098
|
+
------------- | ------------- | ------------- | -------------
|
|
4099
|
+
**owner** | **String**| |
|
|
4100
|
+
**identifier** | **String**| |
|
|
4101
|
+
**slug_perm** | **String**| |
|
|
4102
|
+
**data** | [**PythonUpstreamRequestPatch**](PythonUpstreamRequestPatch.md)| | [optional]
|
|
4103
|
+
|
|
4104
|
+
### Return type
|
|
4105
|
+
|
|
4106
|
+
[**PythonUpstream**](PythonUpstream.md)
|
|
4107
|
+
|
|
4108
|
+
### Authorization
|
|
4109
|
+
|
|
4110
|
+
[apikey](../README.md#apikey)
|
|
4111
|
+
|
|
4112
|
+
### HTTP request headers
|
|
4113
|
+
|
|
4114
|
+
- **Content-Type**: application/json
|
|
4115
|
+
- **Accept**: application/json
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
|
|
4119
|
+
# **repos_upstream_python_read**
|
|
4120
|
+
> PythonUpstream repos_upstream_python_read(owner, identifier, slug_perm)
|
|
4121
|
+
|
|
4122
|
+
Retrieve a Python upstream config for this repository.
|
|
4123
|
+
|
|
4124
|
+
Retrieve a Python upstream config for this repository.
|
|
4125
|
+
|
|
4126
|
+
### Example
|
|
4127
|
+
```ruby
|
|
4128
|
+
# load the gem
|
|
4129
|
+
require 'cloudsmith-api'
|
|
4130
|
+
# setup authorization
|
|
4131
|
+
CloudsmithApi.configure do |config|
|
|
4132
|
+
# Configure API key authorization: apikey
|
|
4133
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4134
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4135
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4136
|
+
end
|
|
4137
|
+
|
|
4138
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4139
|
+
|
|
4140
|
+
owner = 'owner_example' # String |
|
|
4141
|
+
|
|
4142
|
+
identifier = 'identifier_example' # String |
|
|
4143
|
+
|
|
4144
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4145
|
+
|
|
4146
|
+
|
|
4147
|
+
begin
|
|
4148
|
+
#Retrieve a Python upstream config for this repository.
|
|
4149
|
+
result = api_instance.repos_upstream_python_read(owner, identifier, slug_perm)
|
|
4150
|
+
p result
|
|
4151
|
+
rescue CloudsmithApi::ApiError => e
|
|
4152
|
+
puts "Exception when calling ReposApi->repos_upstream_python_read: #{e}"
|
|
4153
|
+
end
|
|
4154
|
+
```
|
|
4155
|
+
|
|
4156
|
+
### Parameters
|
|
4157
|
+
|
|
4158
|
+
Name | Type | Description | Notes
|
|
4159
|
+
------------- | ------------- | ------------- | -------------
|
|
4160
|
+
**owner** | **String**| |
|
|
4161
|
+
**identifier** | **String**| |
|
|
4162
|
+
**slug_perm** | **String**| |
|
|
4163
|
+
|
|
4164
|
+
### Return type
|
|
4165
|
+
|
|
4166
|
+
[**PythonUpstream**](PythonUpstream.md)
|
|
4167
|
+
|
|
4168
|
+
### Authorization
|
|
4169
|
+
|
|
4170
|
+
[apikey](../README.md#apikey)
|
|
4171
|
+
|
|
4172
|
+
### HTTP request headers
|
|
4173
|
+
|
|
4174
|
+
- **Content-Type**: application/json
|
|
4175
|
+
- **Accept**: application/json
|
|
4176
|
+
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
# **repos_upstream_python_update**
|
|
4180
|
+
> PythonUpstream repos_upstream_python_update(owner, identifier, slug_perm, opts)
|
|
4181
|
+
|
|
4182
|
+
Update a Python upstream config for this repository.
|
|
4183
|
+
|
|
4184
|
+
Update a Python upstream config for this repository.
|
|
4185
|
+
|
|
4186
|
+
### Example
|
|
4187
|
+
```ruby
|
|
4188
|
+
# load the gem
|
|
4189
|
+
require 'cloudsmith-api'
|
|
4190
|
+
# setup authorization
|
|
4191
|
+
CloudsmithApi.configure do |config|
|
|
4192
|
+
# Configure API key authorization: apikey
|
|
4193
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4194
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4195
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4196
|
+
end
|
|
4197
|
+
|
|
4198
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4199
|
+
|
|
4200
|
+
owner = 'owner_example' # String |
|
|
4201
|
+
|
|
4202
|
+
identifier = 'identifier_example' # String |
|
|
4203
|
+
|
|
4204
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4205
|
+
|
|
4206
|
+
opts = {
|
|
4207
|
+
data: CloudsmithApi::PythonUpstreamRequest.new # PythonUpstreamRequest |
|
|
4208
|
+
}
|
|
4209
|
+
|
|
4210
|
+
begin
|
|
4211
|
+
#Update a Python upstream config for this repository.
|
|
4212
|
+
result = api_instance.repos_upstream_python_update(owner, identifier, slug_perm, opts)
|
|
4213
|
+
p result
|
|
4214
|
+
rescue CloudsmithApi::ApiError => e
|
|
4215
|
+
puts "Exception when calling ReposApi->repos_upstream_python_update: #{e}"
|
|
4216
|
+
end
|
|
4217
|
+
```
|
|
4218
|
+
|
|
4219
|
+
### Parameters
|
|
4220
|
+
|
|
4221
|
+
Name | Type | Description | Notes
|
|
4222
|
+
------------- | ------------- | ------------- | -------------
|
|
4223
|
+
**owner** | **String**| |
|
|
4224
|
+
**identifier** | **String**| |
|
|
4225
|
+
**slug_perm** | **String**| |
|
|
4226
|
+
**data** | [**PythonUpstreamRequest**](PythonUpstreamRequest.md)| | [optional]
|
|
4227
|
+
|
|
4228
|
+
### Return type
|
|
4229
|
+
|
|
4230
|
+
[**PythonUpstream**](PythonUpstream.md)
|
|
4231
|
+
|
|
4232
|
+
### Authorization
|
|
4233
|
+
|
|
4234
|
+
[apikey](../README.md#apikey)
|
|
4235
|
+
|
|
4236
|
+
### HTTP request headers
|
|
4237
|
+
|
|
4238
|
+
- **Content-Type**: application/json
|
|
4239
|
+
- **Accept**: application/json
|
|
4240
|
+
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
# **repos_upstream_rpm_create**
|
|
4244
|
+
> RpmUpstream repos_upstream_rpm_create(owner, identifier, opts)
|
|
4245
|
+
|
|
4246
|
+
Create a RedHat upstream config for this repository.
|
|
4247
|
+
|
|
4248
|
+
Create a RedHat upstream config for this repository.
|
|
4249
|
+
|
|
4250
|
+
### Example
|
|
4251
|
+
```ruby
|
|
4252
|
+
# load the gem
|
|
4253
|
+
require 'cloudsmith-api'
|
|
4254
|
+
# setup authorization
|
|
4255
|
+
CloudsmithApi.configure do |config|
|
|
4256
|
+
# Configure API key authorization: apikey
|
|
4257
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4258
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4259
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4260
|
+
end
|
|
4261
|
+
|
|
4262
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4263
|
+
|
|
4264
|
+
owner = 'owner_example' # String |
|
|
4265
|
+
|
|
4266
|
+
identifier = 'identifier_example' # String |
|
|
4267
|
+
|
|
4268
|
+
opts = {
|
|
4269
|
+
data: CloudsmithApi::RpmUpstreamRequest.new # RpmUpstreamRequest |
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
begin
|
|
4273
|
+
#Create a RedHat upstream config for this repository.
|
|
4274
|
+
result = api_instance.repos_upstream_rpm_create(owner, identifier, opts)
|
|
4275
|
+
p result
|
|
4276
|
+
rescue CloudsmithApi::ApiError => e
|
|
4277
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_create: #{e}"
|
|
4278
|
+
end
|
|
4279
|
+
```
|
|
4280
|
+
|
|
4281
|
+
### Parameters
|
|
4282
|
+
|
|
4283
|
+
Name | Type | Description | Notes
|
|
4284
|
+
------------- | ------------- | ------------- | -------------
|
|
4285
|
+
**owner** | **String**| |
|
|
4286
|
+
**identifier** | **String**| |
|
|
4287
|
+
**data** | [**RpmUpstreamRequest**](RpmUpstreamRequest.md)| | [optional]
|
|
4288
|
+
|
|
4289
|
+
### Return type
|
|
4290
|
+
|
|
4291
|
+
[**RpmUpstream**](RpmUpstream.md)
|
|
4292
|
+
|
|
4293
|
+
### Authorization
|
|
4294
|
+
|
|
4295
|
+
[apikey](../README.md#apikey)
|
|
4296
|
+
|
|
4297
|
+
### HTTP request headers
|
|
4298
|
+
|
|
4299
|
+
- **Content-Type**: application/json
|
|
4300
|
+
- **Accept**: application/json
|
|
4301
|
+
|
|
4302
|
+
|
|
4303
|
+
|
|
4304
|
+
# **repos_upstream_rpm_delete**
|
|
4305
|
+
> repos_upstream_rpm_delete(owner, identifier, slug_perm)
|
|
4306
|
+
|
|
4307
|
+
Delete a RedHat upstream config for this repository.
|
|
4308
|
+
|
|
4309
|
+
Delete a RedHat upstream config for this repository.
|
|
4310
|
+
|
|
4311
|
+
### Example
|
|
4312
|
+
```ruby
|
|
4313
|
+
# load the gem
|
|
4314
|
+
require 'cloudsmith-api'
|
|
4315
|
+
# setup authorization
|
|
4316
|
+
CloudsmithApi.configure do |config|
|
|
4317
|
+
# Configure API key authorization: apikey
|
|
4318
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4319
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4320
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4321
|
+
end
|
|
4322
|
+
|
|
4323
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4324
|
+
|
|
4325
|
+
owner = 'owner_example' # String |
|
|
4326
|
+
|
|
4327
|
+
identifier = 'identifier_example' # String |
|
|
4328
|
+
|
|
4329
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
begin
|
|
4333
|
+
#Delete a RedHat upstream config for this repository.
|
|
4334
|
+
api_instance.repos_upstream_rpm_delete(owner, identifier, slug_perm)
|
|
4335
|
+
rescue CloudsmithApi::ApiError => e
|
|
4336
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_delete: #{e}"
|
|
4337
|
+
end
|
|
4338
|
+
```
|
|
4339
|
+
|
|
4340
|
+
### Parameters
|
|
4341
|
+
|
|
4342
|
+
Name | Type | Description | Notes
|
|
4343
|
+
------------- | ------------- | ------------- | -------------
|
|
4344
|
+
**owner** | **String**| |
|
|
4345
|
+
**identifier** | **String**| |
|
|
4346
|
+
**slug_perm** | **String**| |
|
|
4347
|
+
|
|
4348
|
+
### Return type
|
|
4349
|
+
|
|
4350
|
+
nil (empty response body)
|
|
4351
|
+
|
|
4352
|
+
### Authorization
|
|
4353
|
+
|
|
4354
|
+
[apikey](../README.md#apikey)
|
|
4355
|
+
|
|
4356
|
+
### HTTP request headers
|
|
4357
|
+
|
|
4358
|
+
- **Content-Type**: application/json
|
|
4359
|
+
- **Accept**: application/json
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
|
|
4363
|
+
# **repos_upstream_rpm_list**
|
|
4364
|
+
> Array<RpmUpstream> repos_upstream_rpm_list(owner, identifier, opts)
|
|
4365
|
+
|
|
4366
|
+
List RedHat upstream configs for this repository.
|
|
4367
|
+
|
|
4368
|
+
List RedHat upstream configs for this repository.
|
|
4369
|
+
|
|
4370
|
+
### Example
|
|
4371
|
+
```ruby
|
|
4372
|
+
# load the gem
|
|
4373
|
+
require 'cloudsmith-api'
|
|
4374
|
+
# setup authorization
|
|
4375
|
+
CloudsmithApi.configure do |config|
|
|
4376
|
+
# Configure API key authorization: apikey
|
|
4377
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4378
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4379
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4380
|
+
end
|
|
4381
|
+
|
|
4382
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4383
|
+
|
|
4384
|
+
owner = 'owner_example' # String |
|
|
4385
|
+
|
|
4386
|
+
identifier = 'identifier_example' # String |
|
|
4387
|
+
|
|
4388
|
+
opts = {
|
|
4389
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
4390
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
4391
|
+
}
|
|
4392
|
+
|
|
4393
|
+
begin
|
|
4394
|
+
#List RedHat upstream configs for this repository.
|
|
4395
|
+
result = api_instance.repos_upstream_rpm_list(owner, identifier, opts)
|
|
4396
|
+
p result
|
|
4397
|
+
rescue CloudsmithApi::ApiError => e
|
|
4398
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_list: #{e}"
|
|
4399
|
+
end
|
|
4400
|
+
```
|
|
4401
|
+
|
|
4402
|
+
### Parameters
|
|
4403
|
+
|
|
4404
|
+
Name | Type | Description | Notes
|
|
4405
|
+
------------- | ------------- | ------------- | -------------
|
|
4406
|
+
**owner** | **String**| |
|
|
4407
|
+
**identifier** | **String**| |
|
|
4408
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
4409
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
4410
|
+
|
|
4411
|
+
### Return type
|
|
4412
|
+
|
|
4413
|
+
[**Array<RpmUpstream>**](RpmUpstream.md)
|
|
4414
|
+
|
|
4415
|
+
### Authorization
|
|
4416
|
+
|
|
4417
|
+
[apikey](../README.md#apikey)
|
|
4418
|
+
|
|
4419
|
+
### HTTP request headers
|
|
4420
|
+
|
|
4421
|
+
- **Content-Type**: application/json
|
|
4422
|
+
- **Accept**: application/json
|
|
4423
|
+
|
|
4424
|
+
|
|
4425
|
+
|
|
4426
|
+
# **repos_upstream_rpm_partial_update**
|
|
4427
|
+
> RpmUpstream repos_upstream_rpm_partial_update(owner, identifier, slug_perm, opts)
|
|
4428
|
+
|
|
4429
|
+
Partially update a RedHat upstream config for this repository.
|
|
4430
|
+
|
|
4431
|
+
Partially update a RedHat upstream config for this repository.
|
|
4432
|
+
|
|
4433
|
+
### Example
|
|
4434
|
+
```ruby
|
|
4435
|
+
# load the gem
|
|
4436
|
+
require 'cloudsmith-api'
|
|
4437
|
+
# setup authorization
|
|
4438
|
+
CloudsmithApi.configure do |config|
|
|
4439
|
+
# Configure API key authorization: apikey
|
|
4440
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4441
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4442
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4443
|
+
end
|
|
4444
|
+
|
|
4445
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4446
|
+
|
|
4447
|
+
owner = 'owner_example' # String |
|
|
4448
|
+
|
|
4449
|
+
identifier = 'identifier_example' # String |
|
|
4450
|
+
|
|
4451
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4452
|
+
|
|
4453
|
+
opts = {
|
|
4454
|
+
data: CloudsmithApi::RpmUpstreamRequestPatch.new # RpmUpstreamRequestPatch |
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
begin
|
|
4458
|
+
#Partially update a RedHat upstream config for this repository.
|
|
4459
|
+
result = api_instance.repos_upstream_rpm_partial_update(owner, identifier, slug_perm, opts)
|
|
4460
|
+
p result
|
|
4461
|
+
rescue CloudsmithApi::ApiError => e
|
|
4462
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_partial_update: #{e}"
|
|
4463
|
+
end
|
|
4464
|
+
```
|
|
4465
|
+
|
|
4466
|
+
### Parameters
|
|
4467
|
+
|
|
4468
|
+
Name | Type | Description | Notes
|
|
4469
|
+
------------- | ------------- | ------------- | -------------
|
|
4470
|
+
**owner** | **String**| |
|
|
4471
|
+
**identifier** | **String**| |
|
|
4472
|
+
**slug_perm** | **String**| |
|
|
4473
|
+
**data** | [**RpmUpstreamRequestPatch**](RpmUpstreamRequestPatch.md)| | [optional]
|
|
4474
|
+
|
|
4475
|
+
### Return type
|
|
4476
|
+
|
|
4477
|
+
[**RpmUpstream**](RpmUpstream.md)
|
|
4478
|
+
|
|
4479
|
+
### Authorization
|
|
4480
|
+
|
|
4481
|
+
[apikey](../README.md#apikey)
|
|
4482
|
+
|
|
4483
|
+
### HTTP request headers
|
|
4484
|
+
|
|
4485
|
+
- **Content-Type**: application/json
|
|
4486
|
+
- **Accept**: application/json
|
|
4487
|
+
|
|
4488
|
+
|
|
4489
|
+
|
|
4490
|
+
# **repos_upstream_rpm_read**
|
|
4491
|
+
> RpmUpstream repos_upstream_rpm_read(owner, identifier, slug_perm)
|
|
4492
|
+
|
|
4493
|
+
Retrieve a RedHat upstream config for this repository.
|
|
4494
|
+
|
|
4495
|
+
Retrieve a RedHat upstream config for this repository.
|
|
4496
|
+
|
|
4497
|
+
### Example
|
|
4498
|
+
```ruby
|
|
4499
|
+
# load the gem
|
|
4500
|
+
require 'cloudsmith-api'
|
|
4501
|
+
# setup authorization
|
|
4502
|
+
CloudsmithApi.configure do |config|
|
|
4503
|
+
# Configure API key authorization: apikey
|
|
4504
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4505
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4506
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4507
|
+
end
|
|
4508
|
+
|
|
4509
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4510
|
+
|
|
4511
|
+
owner = 'owner_example' # String |
|
|
4512
|
+
|
|
4513
|
+
identifier = 'identifier_example' # String |
|
|
4514
|
+
|
|
4515
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4516
|
+
|
|
4517
|
+
|
|
4518
|
+
begin
|
|
4519
|
+
#Retrieve a RedHat upstream config for this repository.
|
|
4520
|
+
result = api_instance.repos_upstream_rpm_read(owner, identifier, slug_perm)
|
|
4521
|
+
p result
|
|
4522
|
+
rescue CloudsmithApi::ApiError => e
|
|
4523
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_read: #{e}"
|
|
4524
|
+
end
|
|
4525
|
+
```
|
|
4526
|
+
|
|
4527
|
+
### Parameters
|
|
4528
|
+
|
|
4529
|
+
Name | Type | Description | Notes
|
|
4530
|
+
------------- | ------------- | ------------- | -------------
|
|
4531
|
+
**owner** | **String**| |
|
|
4532
|
+
**identifier** | **String**| |
|
|
4533
|
+
**slug_perm** | **String**| |
|
|
4534
|
+
|
|
4535
|
+
### Return type
|
|
4536
|
+
|
|
4537
|
+
[**RpmUpstream**](RpmUpstream.md)
|
|
4538
|
+
|
|
4539
|
+
### Authorization
|
|
4540
|
+
|
|
4541
|
+
[apikey](../README.md#apikey)
|
|
4542
|
+
|
|
4543
|
+
### HTTP request headers
|
|
4544
|
+
|
|
4545
|
+
- **Content-Type**: application/json
|
|
4546
|
+
- **Accept**: application/json
|
|
4547
|
+
|
|
4548
|
+
|
|
4549
|
+
|
|
4550
|
+
# **repos_upstream_rpm_update**
|
|
4551
|
+
> RpmUpstream repos_upstream_rpm_update(owner, identifier, slug_perm, opts)
|
|
4552
|
+
|
|
4553
|
+
Update a RedHat upstream config for this repository.
|
|
4554
|
+
|
|
4555
|
+
Update a RedHat upstream config for this repository.
|
|
4556
|
+
|
|
4557
|
+
### Example
|
|
4558
|
+
```ruby
|
|
4559
|
+
# load the gem
|
|
4560
|
+
require 'cloudsmith-api'
|
|
4561
|
+
# setup authorization
|
|
4562
|
+
CloudsmithApi.configure do |config|
|
|
4563
|
+
# Configure API key authorization: apikey
|
|
4564
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4565
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4566
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4567
|
+
end
|
|
4568
|
+
|
|
4569
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4570
|
+
|
|
4571
|
+
owner = 'owner_example' # String |
|
|
4572
|
+
|
|
4573
|
+
identifier = 'identifier_example' # String |
|
|
4574
|
+
|
|
4575
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4576
|
+
|
|
4577
|
+
opts = {
|
|
4578
|
+
data: CloudsmithApi::RpmUpstreamRequest.new # RpmUpstreamRequest |
|
|
4579
|
+
}
|
|
4580
|
+
|
|
4581
|
+
begin
|
|
4582
|
+
#Update a RedHat upstream config for this repository.
|
|
4583
|
+
result = api_instance.repos_upstream_rpm_update(owner, identifier, slug_perm, opts)
|
|
4584
|
+
p result
|
|
4585
|
+
rescue CloudsmithApi::ApiError => e
|
|
4586
|
+
puts "Exception when calling ReposApi->repos_upstream_rpm_update: #{e}"
|
|
4587
|
+
end
|
|
4588
|
+
```
|
|
4589
|
+
|
|
4590
|
+
### Parameters
|
|
4591
|
+
|
|
4592
|
+
Name | Type | Description | Notes
|
|
4593
|
+
------------- | ------------- | ------------- | -------------
|
|
4594
|
+
**owner** | **String**| |
|
|
4595
|
+
**identifier** | **String**| |
|
|
4596
|
+
**slug_perm** | **String**| |
|
|
4597
|
+
**data** | [**RpmUpstreamRequest**](RpmUpstreamRequest.md)| | [optional]
|
|
4598
|
+
|
|
4599
|
+
### Return type
|
|
4600
|
+
|
|
4601
|
+
[**RpmUpstream**](RpmUpstream.md)
|
|
4602
|
+
|
|
4603
|
+
### Authorization
|
|
4604
|
+
|
|
4605
|
+
[apikey](../README.md#apikey)
|
|
4606
|
+
|
|
4607
|
+
### HTTP request headers
|
|
4608
|
+
|
|
4609
|
+
- **Content-Type**: application/json
|
|
4610
|
+
- **Accept**: application/json
|
|
4611
|
+
|
|
4612
|
+
|
|
4613
|
+
|
|
4614
|
+
# **repos_upstream_ruby_create**
|
|
4615
|
+
> RubyUpstream repos_upstream_ruby_create(owner, identifier, opts)
|
|
4616
|
+
|
|
4617
|
+
Create a Ruby upstream config for this repository.
|
|
4618
|
+
|
|
4619
|
+
Create a Ruby upstream config for this repository.
|
|
4620
|
+
|
|
4621
|
+
### Example
|
|
4622
|
+
```ruby
|
|
4623
|
+
# load the gem
|
|
4624
|
+
require 'cloudsmith-api'
|
|
4625
|
+
# setup authorization
|
|
4626
|
+
CloudsmithApi.configure do |config|
|
|
4627
|
+
# Configure API key authorization: apikey
|
|
4628
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4629
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4630
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4631
|
+
end
|
|
4632
|
+
|
|
4633
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4634
|
+
|
|
4635
|
+
owner = 'owner_example' # String |
|
|
4636
|
+
|
|
4637
|
+
identifier = 'identifier_example' # String |
|
|
4638
|
+
|
|
4639
|
+
opts = {
|
|
4640
|
+
data: CloudsmithApi::RubyUpstreamRequest.new # RubyUpstreamRequest |
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
begin
|
|
4644
|
+
#Create a Ruby upstream config for this repository.
|
|
4645
|
+
result = api_instance.repos_upstream_ruby_create(owner, identifier, opts)
|
|
4646
|
+
p result
|
|
4647
|
+
rescue CloudsmithApi::ApiError => e
|
|
4648
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_create: #{e}"
|
|
4649
|
+
end
|
|
4650
|
+
```
|
|
4651
|
+
|
|
4652
|
+
### Parameters
|
|
4653
|
+
|
|
4654
|
+
Name | Type | Description | Notes
|
|
4655
|
+
------------- | ------------- | ------------- | -------------
|
|
4656
|
+
**owner** | **String**| |
|
|
4657
|
+
**identifier** | **String**| |
|
|
4658
|
+
**data** | [**RubyUpstreamRequest**](RubyUpstreamRequest.md)| | [optional]
|
|
4659
|
+
|
|
4660
|
+
### Return type
|
|
4661
|
+
|
|
4662
|
+
[**RubyUpstream**](RubyUpstream.md)
|
|
4663
|
+
|
|
4664
|
+
### Authorization
|
|
4665
|
+
|
|
4666
|
+
[apikey](../README.md#apikey)
|
|
4667
|
+
|
|
4668
|
+
### HTTP request headers
|
|
4669
|
+
|
|
4670
|
+
- **Content-Type**: application/json
|
|
4671
|
+
- **Accept**: application/json
|
|
4672
|
+
|
|
4673
|
+
|
|
4674
|
+
|
|
4675
|
+
# **repos_upstream_ruby_delete**
|
|
4676
|
+
> repos_upstream_ruby_delete(owner, identifier, slug_perm)
|
|
4677
|
+
|
|
4678
|
+
Delete a Ruby upstream config for this repository.
|
|
4679
|
+
|
|
4680
|
+
Delete a Ruby upstream config for this repository.
|
|
4681
|
+
|
|
4682
|
+
### Example
|
|
4683
|
+
```ruby
|
|
4684
|
+
# load the gem
|
|
4685
|
+
require 'cloudsmith-api'
|
|
4686
|
+
# setup authorization
|
|
4687
|
+
CloudsmithApi.configure do |config|
|
|
4688
|
+
# Configure API key authorization: apikey
|
|
4689
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4690
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4691
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4692
|
+
end
|
|
4693
|
+
|
|
4694
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4695
|
+
|
|
4696
|
+
owner = 'owner_example' # String |
|
|
4697
|
+
|
|
4698
|
+
identifier = 'identifier_example' # String |
|
|
4699
|
+
|
|
4700
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4701
|
+
|
|
4702
|
+
|
|
4703
|
+
begin
|
|
4704
|
+
#Delete a Ruby upstream config for this repository.
|
|
4705
|
+
api_instance.repos_upstream_ruby_delete(owner, identifier, slug_perm)
|
|
4706
|
+
rescue CloudsmithApi::ApiError => e
|
|
4707
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_delete: #{e}"
|
|
4708
|
+
end
|
|
4709
|
+
```
|
|
4710
|
+
|
|
4711
|
+
### Parameters
|
|
4712
|
+
|
|
4713
|
+
Name | Type | Description | Notes
|
|
4714
|
+
------------- | ------------- | ------------- | -------------
|
|
4715
|
+
**owner** | **String**| |
|
|
4716
|
+
**identifier** | **String**| |
|
|
4717
|
+
**slug_perm** | **String**| |
|
|
4718
|
+
|
|
4719
|
+
### Return type
|
|
4720
|
+
|
|
4721
|
+
nil (empty response body)
|
|
4722
|
+
|
|
4723
|
+
### Authorization
|
|
4724
|
+
|
|
4725
|
+
[apikey](../README.md#apikey)
|
|
4726
|
+
|
|
4727
|
+
### HTTP request headers
|
|
4728
|
+
|
|
4729
|
+
- **Content-Type**: application/json
|
|
4730
|
+
- **Accept**: application/json
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
|
|
4734
|
+
# **repos_upstream_ruby_list**
|
|
4735
|
+
> Array<RubyUpstream> repos_upstream_ruby_list(owner, identifier, opts)
|
|
4736
|
+
|
|
4737
|
+
List Ruby upstream configs for this repository.
|
|
4738
|
+
|
|
4739
|
+
List Ruby upstream configs for this repository.
|
|
4740
|
+
|
|
4741
|
+
### Example
|
|
4742
|
+
```ruby
|
|
4743
|
+
# load the gem
|
|
4744
|
+
require 'cloudsmith-api'
|
|
4745
|
+
# setup authorization
|
|
4746
|
+
CloudsmithApi.configure do |config|
|
|
4747
|
+
# Configure API key authorization: apikey
|
|
4748
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4749
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4750
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4751
|
+
end
|
|
4752
|
+
|
|
4753
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4754
|
+
|
|
4755
|
+
owner = 'owner_example' # String |
|
|
4756
|
+
|
|
4757
|
+
identifier = 'identifier_example' # String |
|
|
4758
|
+
|
|
4759
|
+
opts = {
|
|
4760
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
4761
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
4762
|
+
}
|
|
4763
|
+
|
|
4764
|
+
begin
|
|
4765
|
+
#List Ruby upstream configs for this repository.
|
|
4766
|
+
result = api_instance.repos_upstream_ruby_list(owner, identifier, opts)
|
|
4767
|
+
p result
|
|
4768
|
+
rescue CloudsmithApi::ApiError => e
|
|
4769
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_list: #{e}"
|
|
4770
|
+
end
|
|
4771
|
+
```
|
|
4772
|
+
|
|
4773
|
+
### Parameters
|
|
4774
|
+
|
|
4775
|
+
Name | Type | Description | Notes
|
|
4776
|
+
------------- | ------------- | ------------- | -------------
|
|
4777
|
+
**owner** | **String**| |
|
|
4778
|
+
**identifier** | **String**| |
|
|
4779
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
4780
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
4781
|
+
|
|
4782
|
+
### Return type
|
|
4783
|
+
|
|
4784
|
+
[**Array<RubyUpstream>**](RubyUpstream.md)
|
|
4785
|
+
|
|
4786
|
+
### Authorization
|
|
4787
|
+
|
|
4788
|
+
[apikey](../README.md#apikey)
|
|
4789
|
+
|
|
4790
|
+
### HTTP request headers
|
|
4791
|
+
|
|
4792
|
+
- **Content-Type**: application/json
|
|
4793
|
+
- **Accept**: application/json
|
|
4794
|
+
|
|
4795
|
+
|
|
4796
|
+
|
|
4797
|
+
# **repos_upstream_ruby_partial_update**
|
|
4798
|
+
> RubyUpstream repos_upstream_ruby_partial_update(owner, identifier, slug_perm, opts)
|
|
4799
|
+
|
|
4800
|
+
Partially update a Ruby upstream config for this repository.
|
|
4801
|
+
|
|
4802
|
+
Partially update a Ruby upstream config for this repository.
|
|
4803
|
+
|
|
4804
|
+
### Example
|
|
4805
|
+
```ruby
|
|
4806
|
+
# load the gem
|
|
4807
|
+
require 'cloudsmith-api'
|
|
4808
|
+
# setup authorization
|
|
4809
|
+
CloudsmithApi.configure do |config|
|
|
4810
|
+
# Configure API key authorization: apikey
|
|
4811
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4812
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4813
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4814
|
+
end
|
|
4815
|
+
|
|
4816
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4817
|
+
|
|
4818
|
+
owner = 'owner_example' # String |
|
|
4819
|
+
|
|
4820
|
+
identifier = 'identifier_example' # String |
|
|
4821
|
+
|
|
4822
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4823
|
+
|
|
4824
|
+
opts = {
|
|
4825
|
+
data: CloudsmithApi::RubyUpstreamRequestPatch.new # RubyUpstreamRequestPatch |
|
|
4826
|
+
}
|
|
4827
|
+
|
|
4828
|
+
begin
|
|
4829
|
+
#Partially update a Ruby upstream config for this repository.
|
|
4830
|
+
result = api_instance.repos_upstream_ruby_partial_update(owner, identifier, slug_perm, opts)
|
|
4831
|
+
p result
|
|
4832
|
+
rescue CloudsmithApi::ApiError => e
|
|
4833
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_partial_update: #{e}"
|
|
4834
|
+
end
|
|
4835
|
+
```
|
|
4836
|
+
|
|
4837
|
+
### Parameters
|
|
4838
|
+
|
|
4839
|
+
Name | Type | Description | Notes
|
|
4840
|
+
------------- | ------------- | ------------- | -------------
|
|
4841
|
+
**owner** | **String**| |
|
|
4842
|
+
**identifier** | **String**| |
|
|
4843
|
+
**slug_perm** | **String**| |
|
|
4844
|
+
**data** | [**RubyUpstreamRequestPatch**](RubyUpstreamRequestPatch.md)| | [optional]
|
|
4845
|
+
|
|
4846
|
+
### Return type
|
|
4847
|
+
|
|
4848
|
+
[**RubyUpstream**](RubyUpstream.md)
|
|
4849
|
+
|
|
4850
|
+
### Authorization
|
|
4851
|
+
|
|
4852
|
+
[apikey](../README.md#apikey)
|
|
4853
|
+
|
|
4854
|
+
### HTTP request headers
|
|
4855
|
+
|
|
4856
|
+
- **Content-Type**: application/json
|
|
4857
|
+
- **Accept**: application/json
|
|
4858
|
+
|
|
4859
|
+
|
|
4860
|
+
|
|
4861
|
+
# **repos_upstream_ruby_read**
|
|
4862
|
+
> RubyUpstream repos_upstream_ruby_read(owner, identifier, slug_perm)
|
|
4863
|
+
|
|
4864
|
+
Retrieve a Ruby upstream config for this repository.
|
|
4865
|
+
|
|
4866
|
+
Retrieve a Ruby upstream config for this repository.
|
|
4867
|
+
|
|
4868
|
+
### Example
|
|
4869
|
+
```ruby
|
|
4870
|
+
# load the gem
|
|
4871
|
+
require 'cloudsmith-api'
|
|
4872
|
+
# setup authorization
|
|
4873
|
+
CloudsmithApi.configure do |config|
|
|
4874
|
+
# Configure API key authorization: apikey
|
|
4875
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4876
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4877
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4878
|
+
end
|
|
4879
|
+
|
|
4880
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4881
|
+
|
|
4882
|
+
owner = 'owner_example' # String |
|
|
4883
|
+
|
|
4884
|
+
identifier = 'identifier_example' # String |
|
|
4885
|
+
|
|
4886
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4887
|
+
|
|
4888
|
+
|
|
4889
|
+
begin
|
|
4890
|
+
#Retrieve a Ruby upstream config for this repository.
|
|
4891
|
+
result = api_instance.repos_upstream_ruby_read(owner, identifier, slug_perm)
|
|
4892
|
+
p result
|
|
4893
|
+
rescue CloudsmithApi::ApiError => e
|
|
4894
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_read: #{e}"
|
|
4895
|
+
end
|
|
4896
|
+
```
|
|
4897
|
+
|
|
4898
|
+
### Parameters
|
|
4899
|
+
|
|
4900
|
+
Name | Type | Description | Notes
|
|
4901
|
+
------------- | ------------- | ------------- | -------------
|
|
4902
|
+
**owner** | **String**| |
|
|
4903
|
+
**identifier** | **String**| |
|
|
4904
|
+
**slug_perm** | **String**| |
|
|
4905
|
+
|
|
4906
|
+
### Return type
|
|
4907
|
+
|
|
4908
|
+
[**RubyUpstream**](RubyUpstream.md)
|
|
4909
|
+
|
|
4910
|
+
### Authorization
|
|
4911
|
+
|
|
4912
|
+
[apikey](../README.md#apikey)
|
|
4913
|
+
|
|
4914
|
+
### HTTP request headers
|
|
4915
|
+
|
|
4916
|
+
- **Content-Type**: application/json
|
|
4917
|
+
- **Accept**: application/json
|
|
4918
|
+
|
|
4919
|
+
|
|
4920
|
+
|
|
4921
|
+
# **repos_upstream_ruby_update**
|
|
4922
|
+
> RubyUpstream repos_upstream_ruby_update(owner, identifier, slug_perm, opts)
|
|
4923
|
+
|
|
4924
|
+
Update a Ruby upstream config for this repository.
|
|
4925
|
+
|
|
4926
|
+
Update a Ruby upstream config for this repository.
|
|
4927
|
+
|
|
4928
|
+
### Example
|
|
4929
|
+
```ruby
|
|
4930
|
+
# load the gem
|
|
4931
|
+
require 'cloudsmith-api'
|
|
4932
|
+
# setup authorization
|
|
4933
|
+
CloudsmithApi.configure do |config|
|
|
4934
|
+
# Configure API key authorization: apikey
|
|
4935
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
4936
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
4937
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
4938
|
+
end
|
|
4939
|
+
|
|
4940
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
4941
|
+
|
|
4942
|
+
owner = 'owner_example' # String |
|
|
4943
|
+
|
|
4944
|
+
identifier = 'identifier_example' # String |
|
|
4945
|
+
|
|
4946
|
+
slug_perm = 'slug_perm_example' # String |
|
|
4947
|
+
|
|
4948
|
+
opts = {
|
|
4949
|
+
data: CloudsmithApi::RubyUpstreamRequest.new # RubyUpstreamRequest |
|
|
4950
|
+
}
|
|
4951
|
+
|
|
4952
|
+
begin
|
|
4953
|
+
#Update a Ruby upstream config for this repository.
|
|
4954
|
+
result = api_instance.repos_upstream_ruby_update(owner, identifier, slug_perm, opts)
|
|
4955
|
+
p result
|
|
4956
|
+
rescue CloudsmithApi::ApiError => e
|
|
4957
|
+
puts "Exception when calling ReposApi->repos_upstream_ruby_update: #{e}"
|
|
4958
|
+
end
|
|
4959
|
+
```
|
|
4960
|
+
|
|
4961
|
+
### Parameters
|
|
4962
|
+
|
|
4963
|
+
Name | Type | Description | Notes
|
|
4964
|
+
------------- | ------------- | ------------- | -------------
|
|
4965
|
+
**owner** | **String**| |
|
|
4966
|
+
**identifier** | **String**| |
|
|
4967
|
+
**slug_perm** | **String**| |
|
|
4968
|
+
**data** | [**RubyUpstreamRequest**](RubyUpstreamRequest.md)| | [optional]
|
|
4969
|
+
|
|
4970
|
+
### Return type
|
|
4971
|
+
|
|
4972
|
+
[**RubyUpstream**](RubyUpstream.md)
|
|
4973
|
+
|
|
4974
|
+
### Authorization
|
|
4975
|
+
|
|
4976
|
+
[apikey](../README.md#apikey)
|
|
4977
|
+
|
|
4978
|
+
### HTTP request headers
|
|
4979
|
+
|
|
4980
|
+
- **Content-Type**: application/json
|
|
4981
|
+
- **Accept**: application/json
|
|
4982
|
+
|
|
4983
|
+
|
|
4984
|
+
|
|
1215
4985
|
# **repos_user_list**
|
|
1216
4986
|
> Array<Repository> repos_user_list(opts)
|
|
1217
4987
|
|