cloudsmith-api 2.0.11 → 2.0.12
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 +4 -4
- data/README.md +13 -4
- data/build.json +1 -1
- data/docs/ReposApi.md +377 -0
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +1 -1
- data/docs/SwiftPackageUploadRequest.md +1 -0
- data/docs/SwiftUpstream.md +23 -0
- data/docs/SwiftUpstreamRequest.md +20 -0
- data/docs/SwiftUpstreamRequestPatch.md +20 -0
- data/lib/cloudsmith-api/api/repos_api.rb +395 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +5 -0
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +16 -1
- data/lib/cloudsmith-api/models/swift_upstream.rb +393 -0
- data/lib/cloudsmith-api/models/swift_upstream_request.rb +365 -0
- data/lib/cloudsmith-api/models/swift_upstream_request_patch.rb +355 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +3 -0
- data/spec/api/repos_api_spec.rb +87 -0
- data/spec/models/swift_package_upload_request_spec.rb +6 -0
- data/spec/models/swift_upstream_request_patch_spec.rb +121 -0
- data/spec/models/swift_upstream_request_spec.rb +121 -0
- data/spec/models/swift_upstream_spec.rb +139 -0
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.7.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.2.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.21/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/{gems/bigdecimal-3.1.6/ext/bigdecimal → extensions/x86_64-linux/2.6.0/bigdecimal-3.1.7}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem_make.out +6 -6
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/mkmf.log +10 -10
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.16.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/mkmf.log +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.c +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6/lib → bigdecimal-3.1.7/ext/bigdecimal}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/2.6.0/{extensions/x86_64-linux/2.6.0/bigdecimal-3.1.6 → gems/bigdecimal-3.1.7/lib}/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/README.md +0 -9
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.c +36 -6
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/ostruct.rb +5 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/common.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/generic_object.rb +6 -2
- data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/CHANGELOG.md +7 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/LICENSE.txt +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/README.md +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/data/list.txt +239 -80
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/domain.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/errors.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/list.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/rule.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix/version.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/lib/public_suffix.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/{bigdecimal-3.1.6.gemspec → bigdecimal-3.1.7.gemspec} +3 -3
- data/vendor/bundle/ruby/2.6.0/specifications/{json-2.7.1.gemspec → json-2.7.2.gemspec} +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{public_suffix-5.0.4.gemspec → public_suffix-5.0.5.gemspec} +4 -4
- metadata +116 -104
- data/vendor/bundle/ruby/2.6.0/cache/bigdecimal-3.1.6.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/json-2.7.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/public_suffix-5.0.4.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.1/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.1/lib/json/ext/parser.so +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{json-2.7.1 → json-2.7.2}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/bigdecimal.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bigdecimal.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/bits.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/feature.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing/dtoa.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/missing.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/ext/bigdecimal/static_assert.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/jacobian.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/ludcmp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/math.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/newton.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal/util.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/lib/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/linear.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/nlsolve.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{bigdecimal-3.1.6 → bigdecimal-3.1.7}/sample/pi.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/CHANGES.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/LICENSE +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/fbuffer/fbuffer.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/generator/generator.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/depend +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.c +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.h +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/ext/parser/parser.rl +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/ext/json/extconf.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/json.gemspec +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/bigdecimal.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/complex.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/core.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/date_time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/exception.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/range.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/rational.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/regexp.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/set.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/struct.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/symbol.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/add/time.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/ext.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/generator.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure/parser.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json/pure.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{json-2.7.1 → json-2.7.2}/lib/json.rb +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/.yardopts +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/2.0-Upgrade.md +0 -0
- /data/vendor/bundle/ruby/2.6.0/gems/{public_suffix-5.0.4 → public_suffix-5.0.5}/SECURITY.md +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c833c768d004ed32d3a579f34686a60652ef5a154028842fae6dd212a6771f9
|
|
4
|
+
data.tar.gz: ba253220086c37759f0a53f702deddd3bf451cddb2f9615c13189566bc304f64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b88b2fdbbee0fb349a42f7bed6755753de18228e7a36561182785a298006b4976c22eea104377bb47cf49fd192f044dd8d04ea90f491d07a8ce096e7d9083ca6
|
|
7
|
+
data.tar.gz: 1472980c29c5ea8251dfc1239ae9ac0e6bf9e359a318a27ec6eba224b9280f01394e8bf91115ce8805c056ce3fc5817fb156572aec832b003b99b5942a3ad595
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
cloudsmith-api (2.0.
|
|
4
|
+
cloudsmith-api (2.0.12)
|
|
5
5
|
addressable (~> 2.3, >= 2.3.0)
|
|
6
6
|
json (~> 2.1, >= 2.1.0)
|
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
@@ -18,7 +18,7 @@ GEM
|
|
|
18
18
|
sys-uname
|
|
19
19
|
autotest-growl (0.2.16)
|
|
20
20
|
autotest-rails-pure (4.1.2)
|
|
21
|
-
bigdecimal (3.1.
|
|
21
|
+
bigdecimal (3.1.7)
|
|
22
22
|
crack (1.0.0)
|
|
23
23
|
bigdecimal
|
|
24
24
|
rexml
|
|
@@ -27,8 +27,8 @@ GEM
|
|
|
27
27
|
ffi (>= 1.15.0)
|
|
28
28
|
ffi (1.16.3)
|
|
29
29
|
hashdiff (1.1.0)
|
|
30
|
-
json (2.7.
|
|
31
|
-
public_suffix (5.0.
|
|
30
|
+
json (2.7.2)
|
|
31
|
+
public_suffix (5.0.5)
|
|
32
32
|
rake (12.3.3)
|
|
33
33
|
rexml (3.2.6)
|
|
34
34
|
rspec (3.13.0)
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: v1
|
|
10
|
-
- Package version: 2.0.
|
|
10
|
+
- Package version: 2.0.12
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
|
|
13
13
|
|
|
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./cloudsmith-api-2.0.
|
|
27
|
+
gem install ./cloudsmith-api-2.0.12.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-2.0.
|
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-2.0.12.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'cloudsmith-api', '~> 2.0.
|
|
35
|
+
gem 'cloudsmith-api', '~> 2.0.12'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -324,6 +324,12 @@ Class | Method | HTTP request | Description
|
|
|
324
324
|
*CloudsmithApi::ReposApi* | [**repos_upstream_ruby_partial_update**](docs/ReposApi.md#repos_upstream_ruby_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository.
|
|
325
325
|
*CloudsmithApi::ReposApi* | [**repos_upstream_ruby_read**](docs/ReposApi.md#repos_upstream_ruby_read) | **GET** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository.
|
|
326
326
|
*CloudsmithApi::ReposApi* | [**repos_upstream_ruby_update**](docs/ReposApi.md#repos_upstream_ruby_update) | **PUT** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository.
|
|
327
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_create**](docs/ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
|
|
328
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_delete**](docs/ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
|
|
329
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_list**](docs/ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
|
|
330
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_partial_update**](docs/ReposApi.md#repos_upstream_swift_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Partially update a Swift upstream config for this repository.
|
|
331
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_read**](docs/ReposApi.md#repos_upstream_swift_read) | **GET** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository.
|
|
332
|
+
*CloudsmithApi::ReposApi* | [**repos_upstream_swift_update**](docs/ReposApi.md#repos_upstream_swift_update) | **PUT** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository.
|
|
327
333
|
*CloudsmithApi::ReposApi* | [**repos_user_list**](docs/ReposApi.md#repos_user_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
|
|
328
334
|
*CloudsmithApi::StatusApi* | [**status_check_basic**](docs/StatusApi.md#status_check_basic) | **GET** /status/check/basic/ | Endpoint to check basic API connectivity.
|
|
329
335
|
*CloudsmithApi::StorageRegionsApi* | [**storage_regions_list**](docs/StorageRegionsApi.md#storage_regions_list) | **GET** /storage-regions/ | Get a list of all available storage regions.
|
|
@@ -548,6 +554,9 @@ Class | Method | HTTP request | Description
|
|
|
548
554
|
- [CloudsmithApi::StorageUsageRaw](docs/StorageUsageRaw.md)
|
|
549
555
|
- [CloudsmithApi::SwiftPackageUpload](docs/SwiftPackageUpload.md)
|
|
550
556
|
- [CloudsmithApi::SwiftPackageUploadRequest](docs/SwiftPackageUploadRequest.md)
|
|
557
|
+
- [CloudsmithApi::SwiftUpstream](docs/SwiftUpstream.md)
|
|
558
|
+
- [CloudsmithApi::SwiftUpstreamRequest](docs/SwiftUpstreamRequest.md)
|
|
559
|
+
- [CloudsmithApi::SwiftUpstreamRequestPatch](docs/SwiftUpstreamRequestPatch.md)
|
|
551
560
|
- [CloudsmithApi::Tags](docs/Tags.md)
|
|
552
561
|
- [CloudsmithApi::TerraformPackageUpload](docs/TerraformPackageUpload.md)
|
|
553
562
|
- [CloudsmithApi::TerraformPackageUploadRequest](docs/TerraformPackageUploadRequest.md)
|
data/build.json
CHANGED
data/docs/ReposApi.md
CHANGED
|
@@ -90,6 +90,12 @@ Method | HTTP request | Description
|
|
|
90
90
|
[**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.
|
|
91
91
|
[**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.
|
|
92
92
|
[**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.
|
|
93
|
+
[**repos_upstream_swift_create**](ReposApi.md#repos_upstream_swift_create) | **POST** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository.
|
|
94
|
+
[**repos_upstream_swift_delete**](ReposApi.md#repos_upstream_swift_delete) | **DELETE** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository.
|
|
95
|
+
[**repos_upstream_swift_list**](ReposApi.md#repos_upstream_swift_list) | **GET** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository.
|
|
96
|
+
[**repos_upstream_swift_partial_update**](ReposApi.md#repos_upstream_swift_partial_update) | **PATCH** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Partially update a Swift upstream config for this repository.
|
|
97
|
+
[**repos_upstream_swift_read**](ReposApi.md#repos_upstream_swift_read) | **GET** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository.
|
|
98
|
+
[**repos_upstream_swift_update**](ReposApi.md#repos_upstream_swift_update) | **PUT** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository.
|
|
93
99
|
[**repos_user_list**](ReposApi.md#repos_user_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
|
|
94
100
|
|
|
95
101
|
|
|
@@ -5359,6 +5365,377 @@ Name | Type | Description | Notes
|
|
|
5359
5365
|
|
|
5360
5366
|
|
|
5361
5367
|
|
|
5368
|
+
# **repos_upstream_swift_create**
|
|
5369
|
+
> SwiftUpstream repos_upstream_swift_create(owner, identifier, opts)
|
|
5370
|
+
|
|
5371
|
+
Create a Swift upstream config for this repository.
|
|
5372
|
+
|
|
5373
|
+
Create a Swift upstream config for this repository.
|
|
5374
|
+
|
|
5375
|
+
### Example
|
|
5376
|
+
```ruby
|
|
5377
|
+
# load the gem
|
|
5378
|
+
require 'cloudsmith-api'
|
|
5379
|
+
# setup authorization
|
|
5380
|
+
CloudsmithApi.configure do |config|
|
|
5381
|
+
# Configure API key authorization: apikey
|
|
5382
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5383
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5384
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5385
|
+
end
|
|
5386
|
+
|
|
5387
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5388
|
+
|
|
5389
|
+
owner = 'owner_example' # String |
|
|
5390
|
+
|
|
5391
|
+
identifier = 'identifier_example' # String |
|
|
5392
|
+
|
|
5393
|
+
opts = {
|
|
5394
|
+
data: CloudsmithApi::SwiftUpstreamRequest.new # SwiftUpstreamRequest |
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
begin
|
|
5398
|
+
#Create a Swift upstream config for this repository.
|
|
5399
|
+
result = api_instance.repos_upstream_swift_create(owner, identifier, opts)
|
|
5400
|
+
p result
|
|
5401
|
+
rescue CloudsmithApi::ApiError => e
|
|
5402
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_create: #{e}"
|
|
5403
|
+
end
|
|
5404
|
+
```
|
|
5405
|
+
|
|
5406
|
+
### Parameters
|
|
5407
|
+
|
|
5408
|
+
Name | Type | Description | Notes
|
|
5409
|
+
------------- | ------------- | ------------- | -------------
|
|
5410
|
+
**owner** | **String**| |
|
|
5411
|
+
**identifier** | **String**| |
|
|
5412
|
+
**data** | [**SwiftUpstreamRequest**](SwiftUpstreamRequest.md)| | [optional]
|
|
5413
|
+
|
|
5414
|
+
### Return type
|
|
5415
|
+
|
|
5416
|
+
[**SwiftUpstream**](SwiftUpstream.md)
|
|
5417
|
+
|
|
5418
|
+
### Authorization
|
|
5419
|
+
|
|
5420
|
+
[apikey](../README.md#apikey)
|
|
5421
|
+
|
|
5422
|
+
### HTTP request headers
|
|
5423
|
+
|
|
5424
|
+
- **Content-Type**: application/json
|
|
5425
|
+
- **Accept**: application/json
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
# **repos_upstream_swift_delete**
|
|
5430
|
+
> repos_upstream_swift_delete(owner, identifier, slug_perm)
|
|
5431
|
+
|
|
5432
|
+
Delete a Swift upstream config for this repository.
|
|
5433
|
+
|
|
5434
|
+
Delete a Swift upstream config for this repository.
|
|
5435
|
+
|
|
5436
|
+
### Example
|
|
5437
|
+
```ruby
|
|
5438
|
+
# load the gem
|
|
5439
|
+
require 'cloudsmith-api'
|
|
5440
|
+
# setup authorization
|
|
5441
|
+
CloudsmithApi.configure do |config|
|
|
5442
|
+
# Configure API key authorization: apikey
|
|
5443
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5444
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5445
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5446
|
+
end
|
|
5447
|
+
|
|
5448
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5449
|
+
|
|
5450
|
+
owner = 'owner_example' # String |
|
|
5451
|
+
|
|
5452
|
+
identifier = 'identifier_example' # String |
|
|
5453
|
+
|
|
5454
|
+
slug_perm = 'slug_perm_example' # String |
|
|
5455
|
+
|
|
5456
|
+
|
|
5457
|
+
begin
|
|
5458
|
+
#Delete a Swift upstream config for this repository.
|
|
5459
|
+
api_instance.repos_upstream_swift_delete(owner, identifier, slug_perm)
|
|
5460
|
+
rescue CloudsmithApi::ApiError => e
|
|
5461
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_delete: #{e}"
|
|
5462
|
+
end
|
|
5463
|
+
```
|
|
5464
|
+
|
|
5465
|
+
### Parameters
|
|
5466
|
+
|
|
5467
|
+
Name | Type | Description | Notes
|
|
5468
|
+
------------- | ------------- | ------------- | -------------
|
|
5469
|
+
**owner** | **String**| |
|
|
5470
|
+
**identifier** | **String**| |
|
|
5471
|
+
**slug_perm** | **String**| |
|
|
5472
|
+
|
|
5473
|
+
### Return type
|
|
5474
|
+
|
|
5475
|
+
nil (empty response body)
|
|
5476
|
+
|
|
5477
|
+
### Authorization
|
|
5478
|
+
|
|
5479
|
+
[apikey](../README.md#apikey)
|
|
5480
|
+
|
|
5481
|
+
### HTTP request headers
|
|
5482
|
+
|
|
5483
|
+
- **Content-Type**: application/json
|
|
5484
|
+
- **Accept**: application/json
|
|
5485
|
+
|
|
5486
|
+
|
|
5487
|
+
|
|
5488
|
+
# **repos_upstream_swift_list**
|
|
5489
|
+
> Array<SwiftUpstream> repos_upstream_swift_list(owner, identifier, opts)
|
|
5490
|
+
|
|
5491
|
+
List Swift upstream configs for this repository.
|
|
5492
|
+
|
|
5493
|
+
List Swift upstream configs for this repository.
|
|
5494
|
+
|
|
5495
|
+
### Example
|
|
5496
|
+
```ruby
|
|
5497
|
+
# load the gem
|
|
5498
|
+
require 'cloudsmith-api'
|
|
5499
|
+
# setup authorization
|
|
5500
|
+
CloudsmithApi.configure do |config|
|
|
5501
|
+
# Configure API key authorization: apikey
|
|
5502
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5503
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5504
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5505
|
+
end
|
|
5506
|
+
|
|
5507
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5508
|
+
|
|
5509
|
+
owner = 'owner_example' # String |
|
|
5510
|
+
|
|
5511
|
+
identifier = 'identifier_example' # String |
|
|
5512
|
+
|
|
5513
|
+
opts = {
|
|
5514
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
5515
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
begin
|
|
5519
|
+
#List Swift upstream configs for this repository.
|
|
5520
|
+
result = api_instance.repos_upstream_swift_list(owner, identifier, opts)
|
|
5521
|
+
p result
|
|
5522
|
+
rescue CloudsmithApi::ApiError => e
|
|
5523
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_list: #{e}"
|
|
5524
|
+
end
|
|
5525
|
+
```
|
|
5526
|
+
|
|
5527
|
+
### Parameters
|
|
5528
|
+
|
|
5529
|
+
Name | Type | Description | Notes
|
|
5530
|
+
------------- | ------------- | ------------- | -------------
|
|
5531
|
+
**owner** | **String**| |
|
|
5532
|
+
**identifier** | **String**| |
|
|
5533
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
5534
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
5535
|
+
|
|
5536
|
+
### Return type
|
|
5537
|
+
|
|
5538
|
+
[**Array<SwiftUpstream>**](SwiftUpstream.md)
|
|
5539
|
+
|
|
5540
|
+
### Authorization
|
|
5541
|
+
|
|
5542
|
+
[apikey](../README.md#apikey)
|
|
5543
|
+
|
|
5544
|
+
### HTTP request headers
|
|
5545
|
+
|
|
5546
|
+
- **Content-Type**: application/json
|
|
5547
|
+
- **Accept**: application/json
|
|
5548
|
+
|
|
5549
|
+
|
|
5550
|
+
|
|
5551
|
+
# **repos_upstream_swift_partial_update**
|
|
5552
|
+
> SwiftUpstream repos_upstream_swift_partial_update(owner, identifier, slug_perm, opts)
|
|
5553
|
+
|
|
5554
|
+
Partially update a Swift upstream config for this repository.
|
|
5555
|
+
|
|
5556
|
+
Partially update a Swift upstream config for this repository.
|
|
5557
|
+
|
|
5558
|
+
### Example
|
|
5559
|
+
```ruby
|
|
5560
|
+
# load the gem
|
|
5561
|
+
require 'cloudsmith-api'
|
|
5562
|
+
# setup authorization
|
|
5563
|
+
CloudsmithApi.configure do |config|
|
|
5564
|
+
# Configure API key authorization: apikey
|
|
5565
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5566
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5567
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5568
|
+
end
|
|
5569
|
+
|
|
5570
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5571
|
+
|
|
5572
|
+
owner = 'owner_example' # String |
|
|
5573
|
+
|
|
5574
|
+
identifier = 'identifier_example' # String |
|
|
5575
|
+
|
|
5576
|
+
slug_perm = 'slug_perm_example' # String |
|
|
5577
|
+
|
|
5578
|
+
opts = {
|
|
5579
|
+
data: CloudsmithApi::SwiftUpstreamRequestPatch.new # SwiftUpstreamRequestPatch |
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
begin
|
|
5583
|
+
#Partially update a Swift upstream config for this repository.
|
|
5584
|
+
result = api_instance.repos_upstream_swift_partial_update(owner, identifier, slug_perm, opts)
|
|
5585
|
+
p result
|
|
5586
|
+
rescue CloudsmithApi::ApiError => e
|
|
5587
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_partial_update: #{e}"
|
|
5588
|
+
end
|
|
5589
|
+
```
|
|
5590
|
+
|
|
5591
|
+
### Parameters
|
|
5592
|
+
|
|
5593
|
+
Name | Type | Description | Notes
|
|
5594
|
+
------------- | ------------- | ------------- | -------------
|
|
5595
|
+
**owner** | **String**| |
|
|
5596
|
+
**identifier** | **String**| |
|
|
5597
|
+
**slug_perm** | **String**| |
|
|
5598
|
+
**data** | [**SwiftUpstreamRequestPatch**](SwiftUpstreamRequestPatch.md)| | [optional]
|
|
5599
|
+
|
|
5600
|
+
### Return type
|
|
5601
|
+
|
|
5602
|
+
[**SwiftUpstream**](SwiftUpstream.md)
|
|
5603
|
+
|
|
5604
|
+
### Authorization
|
|
5605
|
+
|
|
5606
|
+
[apikey](../README.md#apikey)
|
|
5607
|
+
|
|
5608
|
+
### HTTP request headers
|
|
5609
|
+
|
|
5610
|
+
- **Content-Type**: application/json
|
|
5611
|
+
- **Accept**: application/json
|
|
5612
|
+
|
|
5613
|
+
|
|
5614
|
+
|
|
5615
|
+
# **repos_upstream_swift_read**
|
|
5616
|
+
> SwiftUpstream repos_upstream_swift_read(owner, identifier, slug_perm)
|
|
5617
|
+
|
|
5618
|
+
Retrieve a Swift upstream config for this repository.
|
|
5619
|
+
|
|
5620
|
+
Retrieve a Swift upstream config for this repository.
|
|
5621
|
+
|
|
5622
|
+
### Example
|
|
5623
|
+
```ruby
|
|
5624
|
+
# load the gem
|
|
5625
|
+
require 'cloudsmith-api'
|
|
5626
|
+
# setup authorization
|
|
5627
|
+
CloudsmithApi.configure do |config|
|
|
5628
|
+
# Configure API key authorization: apikey
|
|
5629
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5630
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5631
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5632
|
+
end
|
|
5633
|
+
|
|
5634
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5635
|
+
|
|
5636
|
+
owner = 'owner_example' # String |
|
|
5637
|
+
|
|
5638
|
+
identifier = 'identifier_example' # String |
|
|
5639
|
+
|
|
5640
|
+
slug_perm = 'slug_perm_example' # String |
|
|
5641
|
+
|
|
5642
|
+
|
|
5643
|
+
begin
|
|
5644
|
+
#Retrieve a Swift upstream config for this repository.
|
|
5645
|
+
result = api_instance.repos_upstream_swift_read(owner, identifier, slug_perm)
|
|
5646
|
+
p result
|
|
5647
|
+
rescue CloudsmithApi::ApiError => e
|
|
5648
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_read: #{e}"
|
|
5649
|
+
end
|
|
5650
|
+
```
|
|
5651
|
+
|
|
5652
|
+
### Parameters
|
|
5653
|
+
|
|
5654
|
+
Name | Type | Description | Notes
|
|
5655
|
+
------------- | ------------- | ------------- | -------------
|
|
5656
|
+
**owner** | **String**| |
|
|
5657
|
+
**identifier** | **String**| |
|
|
5658
|
+
**slug_perm** | **String**| |
|
|
5659
|
+
|
|
5660
|
+
### Return type
|
|
5661
|
+
|
|
5662
|
+
[**SwiftUpstream**](SwiftUpstream.md)
|
|
5663
|
+
|
|
5664
|
+
### Authorization
|
|
5665
|
+
|
|
5666
|
+
[apikey](../README.md#apikey)
|
|
5667
|
+
|
|
5668
|
+
### HTTP request headers
|
|
5669
|
+
|
|
5670
|
+
- **Content-Type**: application/json
|
|
5671
|
+
- **Accept**: application/json
|
|
5672
|
+
|
|
5673
|
+
|
|
5674
|
+
|
|
5675
|
+
# **repos_upstream_swift_update**
|
|
5676
|
+
> SwiftUpstream repos_upstream_swift_update(owner, identifier, slug_perm, opts)
|
|
5677
|
+
|
|
5678
|
+
Update a Swift upstream config for this repository.
|
|
5679
|
+
|
|
5680
|
+
Update a Swift upstream config for this repository.
|
|
5681
|
+
|
|
5682
|
+
### Example
|
|
5683
|
+
```ruby
|
|
5684
|
+
# load the gem
|
|
5685
|
+
require 'cloudsmith-api'
|
|
5686
|
+
# setup authorization
|
|
5687
|
+
CloudsmithApi.configure do |config|
|
|
5688
|
+
# Configure API key authorization: apikey
|
|
5689
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
5690
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
5691
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
5692
|
+
end
|
|
5693
|
+
|
|
5694
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
5695
|
+
|
|
5696
|
+
owner = 'owner_example' # String |
|
|
5697
|
+
|
|
5698
|
+
identifier = 'identifier_example' # String |
|
|
5699
|
+
|
|
5700
|
+
slug_perm = 'slug_perm_example' # String |
|
|
5701
|
+
|
|
5702
|
+
opts = {
|
|
5703
|
+
data: CloudsmithApi::SwiftUpstreamRequest.new # SwiftUpstreamRequest |
|
|
5704
|
+
}
|
|
5705
|
+
|
|
5706
|
+
begin
|
|
5707
|
+
#Update a Swift upstream config for this repository.
|
|
5708
|
+
result = api_instance.repos_upstream_swift_update(owner, identifier, slug_perm, opts)
|
|
5709
|
+
p result
|
|
5710
|
+
rescue CloudsmithApi::ApiError => e
|
|
5711
|
+
puts "Exception when calling ReposApi->repos_upstream_swift_update: #{e}"
|
|
5712
|
+
end
|
|
5713
|
+
```
|
|
5714
|
+
|
|
5715
|
+
### Parameters
|
|
5716
|
+
|
|
5717
|
+
Name | Type | Description | Notes
|
|
5718
|
+
------------- | ------------- | ------------- | -------------
|
|
5719
|
+
**owner** | **String**| |
|
|
5720
|
+
**identifier** | **String**| |
|
|
5721
|
+
**slug_perm** | **String**| |
|
|
5722
|
+
**data** | [**SwiftUpstreamRequest**](SwiftUpstreamRequest.md)| | [optional]
|
|
5723
|
+
|
|
5724
|
+
### Return type
|
|
5725
|
+
|
|
5726
|
+
[**SwiftUpstream**](SwiftUpstream.md)
|
|
5727
|
+
|
|
5728
|
+
### Authorization
|
|
5729
|
+
|
|
5730
|
+
[apikey](../README.md#apikey)
|
|
5731
|
+
|
|
5732
|
+
### HTTP request headers
|
|
5733
|
+
|
|
5734
|
+
- **Content-Type**: application/json
|
|
5735
|
+
- **Accept**: application/json
|
|
5736
|
+
|
|
5737
|
+
|
|
5738
|
+
|
|
5362
5739
|
# **repos_user_list**
|
|
5363
5740
|
> Array<Repository> repos_user_list(opts)
|
|
5364
5741
|
|
data/docs/StatusBasic.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
|
|
7
|
-
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.
|
|
7
|
+
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.389.2']
|
|
8
8
|
|
|
9
9
|
|
data/docs/SwiftPackageUpload.md
CHANGED
|
@@ -34,7 +34,7 @@ Name | Type | Description | Notes
|
|
|
34
34
|
**is_sync_in_progress** | **BOOLEAN** | | [optional]
|
|
35
35
|
**license** | **String** | The license of this package. | [optional]
|
|
36
36
|
**license_url** | **String** | The license URL of this package. | [optional]
|
|
37
|
-
**name** | **String** | The name of this package. |
|
|
37
|
+
**name** | **String** | The name of this package. |
|
|
38
38
|
**namespace** | **String** | | [optional]
|
|
39
39
|
**namespace_url** | **String** | | [optional]
|
|
40
40
|
**num_files** | **Integer** | | [optional]
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
**author_name** | **String** | The name of the author of the package. | [optional]
|
|
7
7
|
**author_org** | **String** | The organization of the author. | [optional]
|
|
8
8
|
**license_url** | **String** | The license URL of this package. | [optional]
|
|
9
|
+
**name** | **String** | The name of this package. |
|
|
9
10
|
**package_file** | **String** | The primary file for the package. |
|
|
10
11
|
**readme_url** | **String** | The URL of the readme for the package. | [optional]
|
|
11
12
|
**repository_url** | **String** | The URL of the SCM repository for the package. | [optional]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# CloudsmithApi::SwiftUpstream
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
|
|
7
|
+
**auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
|
|
8
|
+
**auth_username** | **String** | Username to provide with requests to upstream. | [optional]
|
|
9
|
+
**created_at** | **DateTime** | The datetime the upstream source was created. | [optional]
|
|
10
|
+
**extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
|
|
11
|
+
**extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
|
|
12
|
+
**extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
13
|
+
**extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
14
|
+
**is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
|
|
15
|
+
**mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
|
|
16
|
+
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
|
|
17
|
+
**priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
|
|
18
|
+
**slug_perm** | **String** | | [optional]
|
|
19
|
+
**updated_at** | **DateTime** | | [optional]
|
|
20
|
+
**upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
|
|
21
|
+
**verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
|
|
22
|
+
|
|
23
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CloudsmithApi::SwiftUpstreamRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
|
|
7
|
+
**auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
|
|
8
|
+
**auth_username** | **String** | Username to provide with requests to upstream. | [optional]
|
|
9
|
+
**extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
|
|
10
|
+
**extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
|
|
11
|
+
**extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
12
|
+
**extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
13
|
+
**is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
|
|
14
|
+
**mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
|
|
15
|
+
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. |
|
|
16
|
+
**priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
|
|
17
|
+
**upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. |
|
|
18
|
+
**verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
|
|
19
|
+
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# CloudsmithApi::SwiftUpstreamRequestPatch
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**auth_mode** | **String** | The authentication mode to use when accessing this upstream. | [optional] [default to 'None']
|
|
7
|
+
**auth_secret** | **String** | Secret to provide with requests to upstream. | [optional]
|
|
8
|
+
**auth_username** | **String** | Username to provide with requests to upstream. | [optional]
|
|
9
|
+
**extra_header_1** | **String** | The key for extra header #1 to send to upstream. | [optional]
|
|
10
|
+
**extra_header_2** | **String** | The key for extra header #2 to send to upstream. | [optional]
|
|
11
|
+
**extra_value_1** | **String** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
12
|
+
**extra_value_2** | **String** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional]
|
|
13
|
+
**is_active** | **BOOLEAN** | Whether or not this upstream is active and ready for requests. | [optional]
|
|
14
|
+
**mode** | **String** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to 'Proxy Only']
|
|
15
|
+
**name** | **String** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional]
|
|
16
|
+
**priority** | **Integer** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional]
|
|
17
|
+
**upstream_url** | **String** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional]
|
|
18
|
+
**verify_ssl** | **BOOLEAN** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional]
|
|
19
|
+
|
|
20
|
+
|