cloudsmith-api 2.0.26 → 2.0.29
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 +1 -1
- data/README.md +24 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/CargoPackageUpload.md +2 -0
- data/docs/CocoapodsPackageUpload.md +2 -0
- data/docs/ComposerPackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/CondaPackageUpload.md +2 -0
- data/docs/ConnectedRepository.md +14 -0
- data/docs/ConnectedRepositoryRequest.md +10 -0
- data/docs/ConnectedRepositoryRequestPatch.md +10 -0
- data/docs/CranPackageUpload.md +2 -0
- data/docs/DartPackageUpload.md +2 -0
- data/docs/DebPackageUpload.md +2 -0
- data/docs/DockerPackageUpload.md +2 -0
- data/docs/EntitlementsApi.md +2 -0
- data/docs/FormatSupportUpstream.md +1 -0
- data/docs/GenericPackageUpload.md +2 -0
- data/docs/GoPackageUpload.md +2 -0
- data/docs/HelmPackageUpload.md +2 -0
- data/docs/HexPackageUpload.md +2 -0
- data/docs/HuggingfacePackageUpload.md +2 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +8 -0
- data/docs/LuarocksPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/McpPackageUpload.md +2 -0
- data/docs/MemberTeams.md +10 -0
- data/docs/NpmPackageUpload.md +2 -0
- data/docs/NugetPackageUpload.md +2 -0
- data/docs/OrganizationCustomDomainNestedRepo.md +9 -0
- data/docs/OrganizationCustomDomains.md +25 -0
- data/docs/OrganizationMembership.md +1 -0
- data/docs/OrganizationSAMLAuth.md +2 -0
- data/docs/OrganizationSAMLAuthRequestPatch.md +2 -0
- data/docs/OrgsApi.md +68 -1
- data/docs/P2PackageUpload.md +2 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackageQuarantine.md +2 -0
- data/docs/PackageResync.md +2 -0
- data/docs/PackageStatus.md +1 -0
- data/docs/PackageTag.md +2 -0
- data/docs/PackagesApi.md +22 -6
- data/docs/PythonPackageUpload.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/RecycleBinApi.md +24 -24
- data/docs/ReposApi.md +594 -3
- data/docs/Repository.md +2 -0
- data/docs/RepositoryCreate.md +2 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryEd25519Key.md +14 -0
- data/docs/RepositoryEd25519KeyCreate.md +9 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +2 -0
- data/docs/RubyPackageUpload.md +2 -0
- data/docs/ServiceTeams.md +1 -0
- data/docs/SwiftPackageUpload.md +2 -0
- data/docs/TerraformPackageUpload.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +2 -0
- data/docs/VsxPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/entitlements_api.rb +3 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +63 -0
- data/lib/cloudsmith-api/api/packages_api.rb +15 -0
- data/lib/cloudsmith-api/api/recycle_bin_api.rb +41 -41
- data/lib/cloudsmith-api/api/repos_api.rb +581 -4
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cargo_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/composer_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/conan_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/conda_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/connected_repository.rb +285 -0
- data/lib/cloudsmith-api/models/connected_repository_request.rb +211 -0
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +206 -0
- data/lib/cloudsmith-api/models/cran_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cran_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/cran_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/dart_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/dart_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/dart_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/deb_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/deb_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/deb_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/docker_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/format_support_upstream.rb +16 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/generic_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/generic_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/go_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/helm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/hex_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/hex_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/hex_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/member_teams.rb +238 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/npm_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/npm_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/nuget_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/nuget_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +195 -0
- data/lib/cloudsmith-api/models/organization_custom_domains.rb +355 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +12 -1
- data/lib/cloudsmith-api/models/organization_saml_auth.rb +24 -4
- data/lib/cloudsmith-api/models/organization_saml_auth_request_patch.rb +24 -4
- data/lib/cloudsmith-api/models/p2_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/package.rb +20 -1
- data/lib/cloudsmith-api/models/package_copy.rb +20 -1
- data/lib/cloudsmith-api/models/package_move.rb +20 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
- data/lib/cloudsmith-api/models/package_resync.rb +20 -1
- data/lib/cloudsmith-api/models/package_status.rb +10 -1
- data/lib/cloudsmith-api/models/package_tag.rb +20 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/python_upstream.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request.rb +2 -2
- data/lib/cloudsmith-api/models/python_upstream_request_patch.rb +2 -2
- data/lib/cloudsmith-api/models/raw_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/repository.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create.rb +21 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key.rb +243 -0
- data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/service_teams.rb +11 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +20 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +9 -0
- data/spec/api/entitlements_api_spec.rb +1 -0
- data/spec/api/orgs_api_spec.rb +15 -0
- data/spec/api/packages_api_spec.rb +5 -0
- data/spec/api/recycle_bin_api_spec.rb +12 -12
- data/spec/api/repos_api_spec.rb +129 -2
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +12 -0
- data/spec/models/cargo_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cargo_upstream_request_spec.rb +1 -1
- data/spec/models/cargo_upstream_spec.rb +1 -1
- data/spec/models/cocoapods_package_upload_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +12 -0
- data/spec/models/composer_upstream_request_patch_spec.rb +1 -1
- data/spec/models/composer_upstream_request_spec.rb +1 -1
- data/spec/models/composer_upstream_spec.rb +1 -1
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +12 -0
- data/spec/models/conda_upstream_request_patch_spec.rb +1 -1
- data/spec/models/conda_upstream_request_spec.rb +1 -1
- data/spec/models/conda_upstream_spec.rb +1 -1
- data/spec/models/connected_repository_request_patch_spec.rb +53 -0
- data/spec/models/connected_repository_request_spec.rb +53 -0
- data/spec/models/connected_repository_spec.rb +81 -0
- data/spec/models/cran_package_upload_spec.rb +12 -0
- data/spec/models/cran_upstream_request_patch_spec.rb +1 -1
- data/spec/models/cran_upstream_request_spec.rb +1 -1
- data/spec/models/cran_upstream_spec.rb +1 -1
- data/spec/models/dart_package_upload_spec.rb +12 -0
- data/spec/models/dart_upstream_request_patch_spec.rb +1 -1
- data/spec/models/dart_upstream_request_spec.rb +1 -1
- data/spec/models/dart_upstream_spec.rb +1 -1
- data/spec/models/deb_package_upload_spec.rb +12 -0
- data/spec/models/deb_upstream_request_patch_spec.rb +1 -1
- data/spec/models/deb_upstream_request_spec.rb +1 -1
- data/spec/models/deb_upstream_spec.rb +1 -1
- data/spec/models/docker_package_upload_spec.rb +12 -0
- data/spec/models/format_support_upstream_spec.rb +6 -0
- data/spec/models/generic_package_upload_spec.rb +12 -0
- data/spec/models/generic_upstream_request_patch_spec.rb +1 -1
- data/spec/models/generic_upstream_request_spec.rb +1 -1
- data/spec/models/generic_upstream_spec.rb +1 -1
- data/spec/models/go_package_upload_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +12 -0
- data/spec/models/helm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/helm_upstream_request_spec.rb +1 -1
- data/spec/models/helm_upstream_spec.rb +1 -1
- data/spec/models/hex_package_upload_spec.rb +12 -0
- data/spec/models/hex_upstream_request_patch_spec.rb +1 -1
- data/spec/models/hex_upstream_request_spec.rb +1 -1
- data/spec/models/hex_upstream_spec.rb +1 -1
- data/spec/models/huggingface_package_upload_spec.rb +12 -0
- data/spec/models/inline_response_200_2_spec.rb +41 -0
- data/spec/models/luarocks_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +12 -0
- data/spec/models/member_teams_spec.rb +57 -0
- data/spec/models/npm_package_upload_spec.rb +12 -0
- data/spec/models/npm_upstream_request_patch_spec.rb +1 -1
- data/spec/models/npm_upstream_request_spec.rb +1 -1
- data/spec/models/npm_upstream_spec.rb +1 -1
- data/spec/models/nuget_package_upload_spec.rb +12 -0
- data/spec/models/nuget_upstream_request_patch_spec.rb +1 -1
- data/spec/models/nuget_upstream_request_spec.rb +1 -1
- data/spec/models/nuget_upstream_spec.rb +1 -1
- data/spec/models/organization_custom_domain_nested_repo_spec.rb +47 -0
- data/spec/models/organization_custom_domains_spec.rb +143 -0
- data/spec/models/organization_membership_spec.rb +6 -0
- data/spec/models/organization_saml_auth_request_patch_spec.rb +12 -0
- data/spec/models/organization_saml_auth_spec.rb +12 -0
- data/spec/models/p2_package_upload_spec.rb +12 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +12 -0
- data/spec/models/package_resync_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/package_status_spec.rb +6 -0
- data/spec/models/package_tag_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +12 -0
- data/spec/models/python_upstream_request_patch_spec.rb +1 -1
- data/spec/models/python_upstream_request_spec.rb +1 -1
- data/spec/models/python_upstream_spec.rb +1 -1
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +12 -0
- data/spec/models/repository_ed25519_key_create_spec.rb +47 -0
- data/spec/models/repository_ed25519_key_spec.rb +77 -0
- data/spec/models/repository_request_patch_spec.rb +6 -0
- data/spec/models/repository_spec.rb +12 -0
- data/spec/models/rpm_package_upload_spec.rb +12 -0
- data/spec/models/ruby_package_upload_spec.rb +12 -0
- data/spec/models/service_teams_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- metadata +41 -5
|
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
**saml_auth_enabled** | **BOOLEAN** | |
|
|
7
7
|
**saml_auth_enforced** | **BOOLEAN** | |
|
|
8
8
|
**saml_metadata_inline** | **String** | If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. | [optional]
|
|
9
|
+
**saml_metadata_inline_webapp** | **String** | When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional]
|
|
9
10
|
**saml_metadata_url** | **String** | If configured, SAML metadata be retrieved from a remote URL. | [optional]
|
|
11
|
+
**saml_metadata_url_webapp** | **String** | When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional]
|
|
10
12
|
|
|
11
13
|
|
|
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
**saml_auth_enabled** | **BOOLEAN** | | [optional]
|
|
7
7
|
**saml_auth_enforced** | **BOOLEAN** | | [optional]
|
|
8
8
|
**saml_metadata_inline** | **String** | If configured, SAML metadata will be used as entered instead of retrieved from a remote URL. | [optional]
|
|
9
|
+
**saml_metadata_inline_webapp** | **String** | When configured, this inline SAML metadata is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional]
|
|
9
10
|
**saml_metadata_url** | **String** | If configured, SAML metadata be retrieved from a remote URL. | [optional]
|
|
11
|
+
**saml_metadata_url_webapp** | **String** | When configured, this SAML metadata URL is used instead of the legacy app SAML configuration when signing into the new Cloudsmith web application. | [optional]
|
|
10
12
|
|
|
11
13
|
|
data/docs/OrgsApi.md
CHANGED
|
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.cloudsmith.io*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**orgs_custom_domains_list**](OrgsApi.md#orgs_custom_domains_list) | **GET** /orgs/{org}/custom-domains/ | Get the details for all custom domains.
|
|
7
8
|
[**orgs_delete**](OrgsApi.md#orgs_delete) | **DELETE** /orgs/{org}/ | Delete the specified organization.
|
|
8
9
|
[**orgs_deny_policy_create**](OrgsApi.md#orgs_deny_policy_create) | **POST** /orgs/{org}/deny-policy/ | Create a package deny policy.
|
|
9
10
|
[**orgs_deny_policy_delete**](OrgsApi.md#orgs_deny_policy_delete) | **DELETE** /orgs/{org}/deny-policy/{slug_perm}/ | Delete a package deny policy.
|
|
@@ -79,6 +80,70 @@ Method | HTTP request | Description
|
|
|
79
80
|
[**orgs_vulnerability_policy_violation_list**](OrgsApi.md#orgs_vulnerability_policy_violation_list) | **GET** /orgs/{org}/vulnerability-policy-violation/ | List all current vulnerability policy violations for this Organization.
|
|
80
81
|
|
|
81
82
|
|
|
83
|
+
# **orgs_custom_domains_list**
|
|
84
|
+
> Array<OrganizationCustomDomains> orgs_custom_domains_list(org, opts)
|
|
85
|
+
|
|
86
|
+
Get the details for all custom domains.
|
|
87
|
+
|
|
88
|
+
Get the details for all custom domains.
|
|
89
|
+
|
|
90
|
+
### Example
|
|
91
|
+
```ruby
|
|
92
|
+
# load the gem
|
|
93
|
+
require 'cloudsmith-api'
|
|
94
|
+
# setup authorization
|
|
95
|
+
CloudsmithApi.configure do |config|
|
|
96
|
+
# Configure API key authorization: apikey
|
|
97
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
98
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
99
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
100
|
+
|
|
101
|
+
# Configure HTTP basic authorization: basic
|
|
102
|
+
config.username = 'YOUR USERNAME'
|
|
103
|
+
config.password = 'YOUR PASSWORD'
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
|
107
|
+
|
|
108
|
+
org = 'org_example' # String |
|
|
109
|
+
|
|
110
|
+
opts = {
|
|
111
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
112
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
begin
|
|
116
|
+
#Get the details for all custom domains.
|
|
117
|
+
result = api_instance.orgs_custom_domains_list(org, opts)
|
|
118
|
+
p result
|
|
119
|
+
rescue CloudsmithApi::ApiError => e
|
|
120
|
+
puts "Exception when calling OrgsApi->orgs_custom_domains_list: #{e}"
|
|
121
|
+
end
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
### Parameters
|
|
125
|
+
|
|
126
|
+
Name | Type | Description | Notes
|
|
127
|
+
------------- | ------------- | ------------- | -------------
|
|
128
|
+
**org** | **String**| |
|
|
129
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
130
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
131
|
+
|
|
132
|
+
### Return type
|
|
133
|
+
|
|
134
|
+
[**Array<OrganizationCustomDomains>**](OrganizationCustomDomains.md)
|
|
135
|
+
|
|
136
|
+
### Authorization
|
|
137
|
+
|
|
138
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
139
|
+
|
|
140
|
+
### HTTP request headers
|
|
141
|
+
|
|
142
|
+
- **Content-Type**: application/json
|
|
143
|
+
- **Accept**: application/json
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
82
147
|
# **orgs_delete**
|
|
83
148
|
> orgs_delete(org)
|
|
84
149
|
|
|
@@ -1550,7 +1615,8 @@ api_instance = CloudsmithApi::OrgsApi.new
|
|
|
1550
1615
|
|
|
1551
1616
|
opts = {
|
|
1552
1617
|
page: 56, # Integer | A page number within the paginated result set.
|
|
1553
|
-
page_size: 56 # Integer | Number of results to return per page.
|
|
1618
|
+
page_size: 56, # Integer | Number of results to return per page.
|
|
1619
|
+
sort: 'name' # String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug.
|
|
1554
1620
|
}
|
|
1555
1621
|
|
|
1556
1622
|
begin
|
|
@@ -1568,6 +1634,7 @@ Name | Type | Description | Notes
|
|
|
1568
1634
|
------------- | ------------- | ------------- | -------------
|
|
1569
1635
|
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
1570
1636
|
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
1637
|
+
**sort** | **String**| A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug. | [optional] [default to name]
|
|
1571
1638
|
|
|
1572
1639
|
### Return type
|
|
1573
1640
|
|
data/docs/P2PackageUpload.md
CHANGED
|
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
34
35
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -48,6 +49,7 @@ Name | Type | Description | Notes
|
|
|
48
49
|
**num_files** | **Integer** | | [optional]
|
|
49
50
|
**origin_repository** | **String** | | [optional]
|
|
50
51
|
**origin_repository_url** | **String** | | [optional]
|
|
52
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
51
53
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
52
54
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
53
55
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/Package.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
|
49
50
|
**num_files** | **Integer** | | [optional]
|
|
50
51
|
**origin_repository** | **String** | | [optional]
|
|
51
52
|
**origin_repository_url** | **String** | | [optional]
|
|
53
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
52
54
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
53
55
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
54
56
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackageCopy.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
|
49
50
|
**num_files** | **Integer** | | [optional]
|
|
50
51
|
**origin_repository** | **String** | | [optional]
|
|
51
52
|
**origin_repository_url** | **String** | | [optional]
|
|
53
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
52
54
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
53
55
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
54
56
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackageMove.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
|
49
50
|
**num_files** | **Integer** | | [optional]
|
|
50
51
|
**origin_repository** | **String** | | [optional]
|
|
51
52
|
**origin_repository_url** | **String** | | [optional]
|
|
53
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
52
54
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
53
55
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
54
56
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackageQuarantine.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
|
49
50
|
**num_files** | **Integer** | | [optional]
|
|
50
51
|
**origin_repository** | **String** | | [optional]
|
|
51
52
|
**origin_repository_url** | **String** | | [optional]
|
|
53
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
52
54
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
53
55
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
54
56
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackageResync.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -49,6 +50,7 @@ Name | Type | Description | Notes
|
|
|
49
50
|
**num_files** | **Integer** | | [optional]
|
|
50
51
|
**origin_repository** | **String** | | [optional]
|
|
51
52
|
**origin_repository_url** | **String** | | [optional]
|
|
53
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
52
54
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
53
55
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
54
56
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackageStatus.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
8
8
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
9
9
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
10
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
10
11
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
11
12
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
12
13
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
data/docs/PackageTag.md
CHANGED
|
@@ -32,6 +32,7 @@ Name | Type | Description | Notes
|
|
|
32
32
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
35
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_immutable** | **BOOLEAN** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] [default to false]
|
|
36
37
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
@@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
|
|
50
51
|
**num_files** | **Integer** | | [optional]
|
|
51
52
|
**origin_repository** | **String** | | [optional]
|
|
52
53
|
**origin_repository_url** | **String** | | [optional]
|
|
54
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
53
55
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
54
56
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
55
57
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/PackagesApi.md
CHANGED
|
@@ -209,7 +209,7 @@ nil (empty response body)
|
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
# **packages_dependencies**
|
|
212
|
-
> PackageDependencies packages_dependencies(owner, repo, identifier)
|
|
212
|
+
> PackageDependencies packages_dependencies(owner, repo, identifier, opts)
|
|
213
213
|
|
|
214
214
|
Get the list of dependencies for a package. Transitive dependencies are included where supported.
|
|
215
215
|
|
|
@@ -239,10 +239,13 @@ repo = 'repo_example' # String |
|
|
|
239
239
|
|
|
240
240
|
identifier = 'identifier_example' # String |
|
|
241
241
|
|
|
242
|
+
opts = {
|
|
243
|
+
include_connected_repositories: false # BOOLEAN | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
244
|
+
}
|
|
242
245
|
|
|
243
246
|
begin
|
|
244
247
|
#Get the list of dependencies for a package. Transitive dependencies are included where supported.
|
|
245
|
-
result = api_instance.packages_dependencies(owner, repo, identifier)
|
|
248
|
+
result = api_instance.packages_dependencies(owner, repo, identifier, opts)
|
|
246
249
|
p result
|
|
247
250
|
rescue CloudsmithApi::ApiError => e
|
|
248
251
|
puts "Exception when calling PackagesApi->packages_dependencies: #{e}"
|
|
@@ -256,6 +259,7 @@ Name | Type | Description | Notes
|
|
|
256
259
|
**owner** | **String**| |
|
|
257
260
|
**repo** | **String**| |
|
|
258
261
|
**identifier** | **String**| |
|
|
262
|
+
**include_connected_repositories** | **BOOLEAN**| If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [optional] [default to false]
|
|
259
263
|
|
|
260
264
|
### Return type
|
|
261
265
|
|
|
@@ -306,6 +310,7 @@ opts = {
|
|
|
306
310
|
page_size: 56, # Integer | Number of results to return per page.
|
|
307
311
|
group_by: 'name', # String | A field to group packages by. Available options: name, backend_kind.
|
|
308
312
|
hide_subcomponents: false, # BOOLEAN | Whether to hide packages which are subcomponents of another package in the results
|
|
313
|
+
include_connected_repositories: false, # BOOLEAN | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false.
|
|
309
314
|
query: '', # String | A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
|
|
310
315
|
sort: 'name' # String | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind.
|
|
311
316
|
}
|
|
@@ -329,6 +334,7 @@ Name | Type | Description | Notes
|
|
|
329
334
|
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
330
335
|
**group_by** | **String**| A field to group packages by. Available options: name, backend_kind. | [optional] [default to name]
|
|
331
336
|
**hide_subcomponents** | **BOOLEAN**| Whether to hide packages which are subcomponents of another package in the results | [optional] [default to false]
|
|
337
|
+
**include_connected_repositories** | **BOOLEAN**| If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. | [optional] [default to false]
|
|
332
338
|
**query** | **String**| A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. | [optional] [default to ]
|
|
333
339
|
**sort** | **String**| A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, count, num_downloads, size, last_push, backend_kind. | [optional] [default to name]
|
|
334
340
|
|
|
@@ -379,6 +385,7 @@ repo = 'repo_example' # String |
|
|
|
379
385
|
opts = {
|
|
380
386
|
page: 56, # Integer | A page number within the paginated result set.
|
|
381
387
|
page_size: 56, # Integer | Number of results to return per page.
|
|
388
|
+
include_connected_repositories: false, # BOOLEAN | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
382
389
|
query: '', # String | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages.
|
|
383
390
|
sort: '-date' # String | A field for sorting objects in ascending or descending order.
|
|
384
391
|
}
|
|
@@ -400,6 +407,7 @@ Name | Type | Description | Notes
|
|
|
400
407
|
**repo** | **String**| |
|
|
401
408
|
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
402
409
|
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
410
|
+
**include_connected_repositories** | **BOOLEAN**| If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [optional] [default to false]
|
|
403
411
|
**query** | **String**| A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. | [optional] [default to ]
|
|
404
412
|
**sort** | **String**| A field for sorting objects in ascending or descending order. | [optional] [default to -date]
|
|
405
413
|
|
|
@@ -555,7 +563,7 @@ Name | Type | Description | Notes
|
|
|
555
563
|
|
|
556
564
|
|
|
557
565
|
# **packages_read**
|
|
558
|
-
> Package packages_read(owner, repo, identifier)
|
|
566
|
+
> Package packages_read(owner, repo, identifier, opts)
|
|
559
567
|
|
|
560
568
|
Get a specific package in a repository.
|
|
561
569
|
|
|
@@ -585,10 +593,13 @@ repo = 'repo_example' # String |
|
|
|
585
593
|
|
|
586
594
|
identifier = 'identifier_example' # String |
|
|
587
595
|
|
|
596
|
+
opts = {
|
|
597
|
+
include_connected_repositories: false # BOOLEAN | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
598
|
+
}
|
|
588
599
|
|
|
589
600
|
begin
|
|
590
601
|
#Get a specific package in a repository.
|
|
591
|
-
result = api_instance.packages_read(owner, repo, identifier)
|
|
602
|
+
result = api_instance.packages_read(owner, repo, identifier, opts)
|
|
592
603
|
p result
|
|
593
604
|
rescue CloudsmithApi::ApiError => e
|
|
594
605
|
puts "Exception when calling PackagesApi->packages_read: #{e}"
|
|
@@ -602,6 +613,7 @@ Name | Type | Description | Notes
|
|
|
602
613
|
**owner** | **String**| |
|
|
603
614
|
**repo** | **String**| |
|
|
604
615
|
**identifier** | **String**| |
|
|
616
|
+
**include_connected_repositories** | **BOOLEAN**| If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [optional] [default to false]
|
|
605
617
|
|
|
606
618
|
### Return type
|
|
607
619
|
|
|
@@ -747,7 +759,7 @@ Name | Type | Description | Notes
|
|
|
747
759
|
|
|
748
760
|
|
|
749
761
|
# **packages_status**
|
|
750
|
-
> PackageStatus packages_status(owner, repo, identifier)
|
|
762
|
+
> PackageStatus packages_status(owner, repo, identifier, opts)
|
|
751
763
|
|
|
752
764
|
Get the synchronization status for a package.
|
|
753
765
|
|
|
@@ -777,10 +789,13 @@ repo = 'repo_example' # String |
|
|
|
777
789
|
|
|
778
790
|
identifier = 'identifier_example' # String |
|
|
779
791
|
|
|
792
|
+
opts = {
|
|
793
|
+
include_connected_repositories: false # BOOLEAN | If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in.
|
|
794
|
+
}
|
|
780
795
|
|
|
781
796
|
begin
|
|
782
797
|
#Get the synchronization status for a package.
|
|
783
|
-
result = api_instance.packages_status(owner, repo, identifier)
|
|
798
|
+
result = api_instance.packages_status(owner, repo, identifier, opts)
|
|
784
799
|
p result
|
|
785
800
|
rescue CloudsmithApi::ApiError => e
|
|
786
801
|
puts "Exception when calling PackagesApi->packages_status: #{e}"
|
|
@@ -794,6 +809,7 @@ Name | Type | Description | Notes
|
|
|
794
809
|
**owner** | **String**| |
|
|
795
810
|
**repo** | **String**| |
|
|
796
811
|
**identifier** | **String**| |
|
|
812
|
+
**include_connected_repositories** | **BOOLEAN**| If true, include packages from active connected target repositories in addition to packages from this repository. Has no effect if the repository has no active connections. Defaults to false. Note: download-related URLs on returned packages (e.g. cdn_url, signature_url) are rewritten to point at the requesting repository, not the connected target repository the package physically lives in. | [optional] [default to false]
|
|
797
813
|
|
|
798
814
|
### Return type
|
|
799
815
|
|
data/docs/PythonPackageUpload.md
CHANGED
|
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
34
35
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -48,6 +49,7 @@ Name | Type | Description | Notes
|
|
|
48
49
|
**num_files** | **Integer** | | [optional]
|
|
49
50
|
**origin_repository** | **String** | | [optional]
|
|
50
51
|
**origin_repository_url** | **String** | | [optional]
|
|
52
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
51
53
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
52
54
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
53
55
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/RawPackageUpload.md
CHANGED
|
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
|
31
31
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
32
32
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
33
33
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
34
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
34
35
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
35
36
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -48,6 +49,7 @@ Name | Type | Description | Notes
|
|
|
48
49
|
**num_files** | **Integer** | | [optional]
|
|
49
50
|
**origin_repository** | **String** | | [optional]
|
|
50
51
|
**origin_repository_url** | **String** | | [optional]
|
|
52
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
51
53
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
52
54
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
53
55
|
**raw_license** | **String** | The raw license string. | [optional]
|
data/docs/RecycleBinApi.md
CHANGED
|
@@ -4,16 +4,16 @@ All URIs are relative to *https://api.cloudsmith.io*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**recycle_bin_action**](RecycleBinApi.md#recycle_bin_action) | **POST** /recycle-bin/{owner}/action/ |
|
|
7
8
|
[**recycle_bin_list**](RecycleBinApi.md#recycle_bin_list) | **GET** /recycle-bin/{owner}/ | List soft-deleted packages in recycle bin
|
|
8
|
-
[**recycle_bin_recycle_bin_action**](RecycleBinApi.md#recycle_bin_recycle_bin_action) | **POST** /recycle-bin/{owner}/action/ |
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
# **
|
|
12
|
-
>
|
|
11
|
+
# **recycle_bin_action**
|
|
12
|
+
> PackageBulkActionResponse recycle_bin_action(owner, opts)
|
|
13
13
|
|
|
14
|
-
List soft-deleted packages in recycle bin
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
|
|
16
|
+
Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
```ruby
|
|
@@ -36,17 +36,14 @@ api_instance = CloudsmithApi::RecycleBinApi.new
|
|
|
36
36
|
owner = 'owner_example' # String |
|
|
37
37
|
|
|
38
38
|
opts = {
|
|
39
|
-
|
|
40
|
-
page_size: 56, # Integer | Number of results to return per page.
|
|
41
|
-
repository: 'repository_example' # String | Filter packages by repository slug
|
|
39
|
+
data: CloudsmithApi::PackageRecycleBin.new # PackageRecycleBin |
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
begin
|
|
45
|
-
|
|
46
|
-
result = api_instance.recycle_bin_list(owner, opts)
|
|
43
|
+
result = api_instance.recycle_bin_action(owner, opts)
|
|
47
44
|
p result
|
|
48
45
|
rescue CloudsmithApi::ApiError => e
|
|
49
|
-
puts "Exception when calling RecycleBinApi->
|
|
46
|
+
puts "Exception when calling RecycleBinApi->recycle_bin_action: #{e}"
|
|
50
47
|
end
|
|
51
48
|
```
|
|
52
49
|
|
|
@@ -55,13 +52,11 @@ end
|
|
|
55
52
|
Name | Type | Description | Notes
|
|
56
53
|
------------- | ------------- | ------------- | -------------
|
|
57
54
|
**owner** | **String**| |
|
|
58
|
-
**
|
|
59
|
-
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
60
|
-
**repository** | **String**| Filter packages by repository slug | [optional]
|
|
55
|
+
**data** | [**PackageRecycleBin**](PackageRecycleBin.md)| | [optional]
|
|
61
56
|
|
|
62
57
|
### Return type
|
|
63
58
|
|
|
64
|
-
[**
|
|
59
|
+
[**PackageBulkActionResponse**](PackageBulkActionResponse.md)
|
|
65
60
|
|
|
66
61
|
### Authorization
|
|
67
62
|
|
|
@@ -74,12 +69,12 @@ Name | Type | Description | Notes
|
|
|
74
69
|
|
|
75
70
|
|
|
76
71
|
|
|
77
|
-
# **
|
|
78
|
-
>
|
|
79
|
-
|
|
72
|
+
# **recycle_bin_list**
|
|
73
|
+
> Array<RecycleBinPackage> recycle_bin_list(owner, opts)
|
|
80
74
|
|
|
75
|
+
List soft-deleted packages in recycle bin
|
|
81
76
|
|
|
82
|
-
|
|
77
|
+
Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
83
78
|
|
|
84
79
|
### Example
|
|
85
80
|
```ruby
|
|
@@ -102,14 +97,17 @@ api_instance = CloudsmithApi::RecycleBinApi.new
|
|
|
102
97
|
owner = 'owner_example' # String |
|
|
103
98
|
|
|
104
99
|
opts = {
|
|
105
|
-
|
|
100
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
101
|
+
page_size: 56, # Integer | Number of results to return per page.
|
|
102
|
+
repository: 'repository_example' # String | Filter packages by repository slug
|
|
106
103
|
}
|
|
107
104
|
|
|
108
105
|
begin
|
|
109
|
-
|
|
106
|
+
#List soft-deleted packages in recycle bin
|
|
107
|
+
result = api_instance.recycle_bin_list(owner, opts)
|
|
110
108
|
p result
|
|
111
109
|
rescue CloudsmithApi::ApiError => e
|
|
112
|
-
puts "Exception when calling RecycleBinApi->
|
|
110
|
+
puts "Exception when calling RecycleBinApi->recycle_bin_list: #{e}"
|
|
113
111
|
end
|
|
114
112
|
```
|
|
115
113
|
|
|
@@ -118,11 +116,13 @@ end
|
|
|
118
116
|
Name | Type | Description | Notes
|
|
119
117
|
------------- | ------------- | ------------- | -------------
|
|
120
118
|
**owner** | **String**| |
|
|
121
|
-
**
|
|
119
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
120
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
121
|
+
**repository** | **String**| Filter packages by repository slug | [optional]
|
|
122
122
|
|
|
123
123
|
### Return type
|
|
124
124
|
|
|
125
|
-
[**
|
|
125
|
+
[**Array<RecycleBinPackage>**](RecycleBinPackage.md)
|
|
126
126
|
|
|
127
127
|
### Authorization
|
|
128
128
|
|