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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CloudsmithApi::RepositoryEd25519KeyCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**ed25519_passphrase** | **String** | The Ed25519 passphrase used for signing. | [optional]
|
|
7
|
+
**ed25519_private_key** | **String** | The Ed25519 private key. |
|
|
8
|
+
|
|
9
|
+
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**move_own** | **BOOLEAN** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional]
|
|
24
24
|
**move_packages** | **String** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to 'Admin']
|
|
25
25
|
**name** | **String** | A descriptive name for the repository. | [optional]
|
|
26
|
+
**npm_upstream_tags_take_precedence** | **BOOLEAN** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
|
|
26
27
|
**nuget_native_signing_enabled** | **BOOLEAN** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
|
|
27
28
|
**open_source_license** | **String** | The SPDX identifier of the open source license. | [optional]
|
|
28
29
|
**open_source_project_url** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional]
|
data/docs/RpmPackageUpload.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/RubyPackageUpload.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/ServiceTeams.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**name** | **String** | The name of the team | [optional]
|
|
6
7
|
**role** | **String** | The team role associated with the service | [optional] [default to 'Manager']
|
|
7
8
|
**slug** | **String** | The teams associated with the service |
|
|
8
9
|
|
data/docs/SwiftPackageUpload.md
CHANGED
|
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
|
|
|
33
33
|
**is_copyable** | **BOOLEAN** | | [optional]
|
|
34
34
|
**is_deleteable** | **BOOLEAN** | | [optional]
|
|
35
35
|
**is_downloadable** | **BOOLEAN** | | [optional]
|
|
36
|
+
**is_hidden** | **BOOLEAN** | | [optional]
|
|
36
37
|
**is_moveable** | **BOOLEAN** | | [optional]
|
|
37
38
|
**is_quarantinable** | **BOOLEAN** | | [optional]
|
|
38
39
|
**is_quarantined** | **BOOLEAN** | | [optional]
|
|
@@ -51,6 +52,7 @@ Name | Type | Description | Notes
|
|
|
51
52
|
**num_files** | **Integer** | | [optional]
|
|
52
53
|
**origin_repository** | **String** | | [optional]
|
|
53
54
|
**origin_repository_url** | **String** | | [optional]
|
|
55
|
+
**osi_approved** | **BOOLEAN** | Whether the package's SPDX license is OSI-approved. | [optional]
|
|
54
56
|
**package_type** | **Integer** | The type of package contents. | [optional]
|
|
55
57
|
**policy_violated** | **BOOLEAN** | Whether or not the package has violated any policy. | [optional]
|
|
56
58
|
**raw_license** | **String** | The raw license string. | [optional]
|
|
@@ -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/UserApi.md
CHANGED
|
@@ -170,7 +170,7 @@ This endpoint does not need any parameter.
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
# **user_tokens_list**
|
|
173
|
-
>
|
|
173
|
+
> InlineResponse2002 user_tokens_list(opts)
|
|
174
174
|
|
|
175
175
|
Retrieve the API key assigned to the user that is currently authenticated.
|
|
176
176
|
|
|
@@ -217,7 +217,7 @@ Name | Type | Description | Notes
|
|
|
217
217
|
|
|
218
218
|
### Return type
|
|
219
219
|
|
|
220
|
-
[**
|
|
220
|
+
[**InlineResponse2002**](InlineResponse2002.md)
|
|
221
221
|
|
|
222
222
|
### Authorization
|
|
223
223
|
|
|
@@ -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
|
**provider** | **String** | The virtual machine provider for the box. |
|
data/docs/VsxPackageUpload.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]
|
|
@@ -289,6 +289,7 @@ module CloudsmithApi
|
|
|
289
289
|
# @option opts [BOOLEAN] :show_tokens Show entitlement token strings in results (default to false)
|
|
290
290
|
# @option opts [String] :query A search term for querying names of entitlements.
|
|
291
291
|
# @option opts [BOOLEAN] :active If true, only include active tokens (default to false)
|
|
292
|
+
# @option opts [BOOLEAN] :exclude_other_user_tokens If true, exclude user tokens that belong to other users (default to false)
|
|
292
293
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name. (default to name)
|
|
293
294
|
# @return [Array<RepositoryToken>]
|
|
294
295
|
def entitlements_list(owner, repo, opts = {})
|
|
@@ -306,6 +307,7 @@ module CloudsmithApi
|
|
|
306
307
|
# @option opts [BOOLEAN] :show_tokens Show entitlement token strings in results
|
|
307
308
|
# @option opts [String] :query A search term for querying names of entitlements.
|
|
308
309
|
# @option opts [BOOLEAN] :active If true, only include active tokens
|
|
310
|
+
# @option opts [BOOLEAN] :exclude_other_user_tokens If true, exclude user tokens that belong to other users
|
|
309
311
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name.
|
|
310
312
|
# @return [Array<(Array<RepositoryToken>, Fixnum, Hash)>] Array<RepositoryToken> data, response status code and response headers
|
|
311
313
|
def entitlements_list_with_http_info(owner, repo, opts = {})
|
|
@@ -330,6 +332,7 @@ module CloudsmithApi
|
|
|
330
332
|
query_params[:'show_tokens'] = opts[:'show_tokens'] if !opts[:'show_tokens'].nil?
|
|
331
333
|
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
332
334
|
query_params[:'active'] = opts[:'active'] if !opts[:'active'].nil?
|
|
335
|
+
query_params[:'exclude_other_user_tokens'] = opts[:'exclude_other_user_tokens'] if !opts[:'exclude_other_user_tokens'].nil?
|
|
333
336
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
334
337
|
|
|
335
338
|
# header parameters
|
|
@@ -19,6 +19,66 @@ module CloudsmithApi
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
+
# Get the details for all custom domains.
|
|
23
|
+
# Get the details for all custom domains.
|
|
24
|
+
# @param org
|
|
25
|
+
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
27
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
28
|
+
# @return [Array<OrganizationCustomDomains>]
|
|
29
|
+
def orgs_custom_domains_list(org, opts = {})
|
|
30
|
+
data, _status_code, _headers = orgs_custom_domains_list_with_http_info(org, opts)
|
|
31
|
+
data
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Get the details for all custom domains.
|
|
35
|
+
# Get the details for all custom domains.
|
|
36
|
+
# @param org
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
39
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
40
|
+
# @return [Array<(Array<OrganizationCustomDomains>, Fixnum, Hash)>] Array<OrganizationCustomDomains> data, response status code and response headers
|
|
41
|
+
def orgs_custom_domains_list_with_http_info(org, opts = {})
|
|
42
|
+
if @api_client.config.debugging
|
|
43
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_custom_domains_list ...'
|
|
44
|
+
end
|
|
45
|
+
# verify the required parameter 'org' is set
|
|
46
|
+
if @api_client.config.client_side_validation && org.nil?
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_custom_domains_list"
|
|
48
|
+
end
|
|
49
|
+
# resource path
|
|
50
|
+
local_var_path = '/orgs/{org}/custom-domains/'.sub('{' + 'org' + '}', org.to_s)
|
|
51
|
+
|
|
52
|
+
# query parameters
|
|
53
|
+
query_params = {}
|
|
54
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
55
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
56
|
+
|
|
57
|
+
# header parameters
|
|
58
|
+
header_params = {}
|
|
59
|
+
# HTTP header 'Accept' (if needed)
|
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
|
+
# HTTP header 'Content-Type'
|
|
62
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
63
|
+
|
|
64
|
+
# form parameters
|
|
65
|
+
form_params = {}
|
|
66
|
+
|
|
67
|
+
# http body (model)
|
|
68
|
+
post_body = nil
|
|
69
|
+
auth_names = ['apikey', 'basic']
|
|
70
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
71
|
+
:header_params => header_params,
|
|
72
|
+
:query_params => query_params,
|
|
73
|
+
:form_params => form_params,
|
|
74
|
+
:body => post_body,
|
|
75
|
+
:auth_names => auth_names,
|
|
76
|
+
:return_type => 'Array<OrganizationCustomDomains>')
|
|
77
|
+
if @api_client.config.debugging
|
|
78
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_custom_domains_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
79
|
+
end
|
|
80
|
+
return data, status_code, headers
|
|
81
|
+
end
|
|
22
82
|
# Delete the specified organization.
|
|
23
83
|
# Delete the specified organization.
|
|
24
84
|
# @param org
|
|
@@ -1406,6 +1466,7 @@ module CloudsmithApi
|
|
|
1406
1466
|
# @param [Hash] opts the optional parameters
|
|
1407
1467
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1408
1468
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1469
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug. (default to name)
|
|
1409
1470
|
# @return [Array<Organization>]
|
|
1410
1471
|
def orgs_list(opts = {})
|
|
1411
1472
|
data, _status_code, _headers = orgs_list_with_http_info(opts)
|
|
@@ -1417,6 +1478,7 @@ module CloudsmithApi
|
|
|
1417
1478
|
# @param [Hash] opts the optional parameters
|
|
1418
1479
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
1419
1480
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
1481
|
+
# @option opts [String] :sort A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-name`). Available options: name, created_at, slug.
|
|
1420
1482
|
# @return [Array<(Array<Organization>, Fixnum, Hash)>] Array<Organization> data, response status code and response headers
|
|
1421
1483
|
def orgs_list_with_http_info(opts = {})
|
|
1422
1484
|
if @api_client.config.debugging
|
|
@@ -1429,6 +1491,7 @@ module CloudsmithApi
|
|
|
1429
1491
|
query_params = {}
|
|
1430
1492
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1431
1493
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
1494
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
1432
1495
|
|
|
1433
1496
|
# header parameters
|
|
1434
1497
|
header_params = {}
|
|
@@ -158,6 +158,7 @@ module CloudsmithApi
|
|
|
158
158
|
# @param repo
|
|
159
159
|
# @param identifier
|
|
160
160
|
# @param [Hash] opts the optional parameters
|
|
161
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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. (default to false)
|
|
161
162
|
# @return [PackageDependencies]
|
|
162
163
|
def packages_dependencies(owner, repo, identifier, opts = {})
|
|
163
164
|
data, _status_code, _headers = packages_dependencies_with_http_info(owner, repo, identifier, opts)
|
|
@@ -170,6 +171,7 @@ module CloudsmithApi
|
|
|
170
171
|
# @param repo
|
|
171
172
|
# @param identifier
|
|
172
173
|
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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.
|
|
173
175
|
# @return [Array<(PackageDependencies, Fixnum, Hash)>] PackageDependencies data, response status code and response headers
|
|
174
176
|
def packages_dependencies_with_http_info(owner, repo, identifier, opts = {})
|
|
175
177
|
if @api_client.config.debugging
|
|
@@ -192,6 +194,7 @@ module CloudsmithApi
|
|
|
192
194
|
|
|
193
195
|
# query parameters
|
|
194
196
|
query_params = {}
|
|
197
|
+
query_params[:'include_connected_repositories'] = opts[:'include_connected_repositories'] if !opts[:'include_connected_repositories'].nil?
|
|
195
198
|
|
|
196
199
|
# header parameters
|
|
197
200
|
header_params = {}
|
|
@@ -227,6 +230,7 @@ module CloudsmithApi
|
|
|
227
230
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
228
231
|
# @option opts [String] :group_by A field to group packages by. Available options: name, backend_kind. (default to name)
|
|
229
232
|
# @option opts [BOOLEAN] :hide_subcomponents Whether to hide packages which are subcomponents of another package in the results (default to false)
|
|
233
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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. (default to false)
|
|
230
234
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages. (default to )
|
|
231
235
|
# @option opts [String] :sort 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. (default to name)
|
|
232
236
|
# @return [InlineResponse200]
|
|
@@ -244,6 +248,7 @@ module CloudsmithApi
|
|
|
244
248
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
245
249
|
# @option opts [String] :group_by A field to group packages by. Available options: name, backend_kind.
|
|
246
250
|
# @option opts [BOOLEAN] :hide_subcomponents Whether to hide packages which are subcomponents of another package in the results
|
|
251
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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.
|
|
247
252
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats, or statuses of packages.
|
|
248
253
|
# @option opts [String] :sort 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.
|
|
249
254
|
# @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
|
|
@@ -268,6 +273,7 @@ module CloudsmithApi
|
|
|
268
273
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
269
274
|
query_params[:'group_by'] = opts[:'group_by'] if !opts[:'group_by'].nil?
|
|
270
275
|
query_params[:'hide_subcomponents'] = opts[:'hide_subcomponents'] if !opts[:'hide_subcomponents'].nil?
|
|
276
|
+
query_params[:'include_connected_repositories'] = opts[:'include_connected_repositories'] if !opts[:'include_connected_repositories'].nil?
|
|
271
277
|
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
272
278
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
273
279
|
|
|
@@ -303,6 +309,7 @@ module CloudsmithApi
|
|
|
303
309
|
# @param [Hash] opts the optional parameters
|
|
304
310
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
305
311
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
312
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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. (default to false)
|
|
306
313
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. (default to )
|
|
307
314
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order. (default to -date)
|
|
308
315
|
# @return [Array<Package>]
|
|
@@ -318,6 +325,7 @@ module CloudsmithApi
|
|
|
318
325
|
# @param [Hash] opts the optional parameters
|
|
319
326
|
# @option opts [Integer] :page A page number within the paginated result set.
|
|
320
327
|
# @option opts [Integer] :page_size Number of results to return per page.
|
|
328
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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.
|
|
321
329
|
# @option opts [String] :query A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages.
|
|
322
330
|
# @option opts [String] :sort A field for sorting objects in ascending or descending order.
|
|
323
331
|
# @return [Array<(Array<Package>, Fixnum, Hash)>] Array<Package> data, response status code and response headers
|
|
@@ -340,6 +348,7 @@ module CloudsmithApi
|
|
|
340
348
|
query_params = {}
|
|
341
349
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
342
350
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
351
|
+
query_params[:'include_connected_repositories'] = opts[:'include_connected_repositories'] if !opts[:'include_connected_repositories'].nil?
|
|
343
352
|
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
|
344
353
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
|
345
354
|
|
|
@@ -510,6 +519,7 @@ module CloudsmithApi
|
|
|
510
519
|
# @param repo
|
|
511
520
|
# @param identifier
|
|
512
521
|
# @param [Hash] opts the optional parameters
|
|
522
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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. (default to false)
|
|
513
523
|
# @return [Package]
|
|
514
524
|
def packages_read(owner, repo, identifier, opts = {})
|
|
515
525
|
data, _status_code, _headers = packages_read_with_http_info(owner, repo, identifier, opts)
|
|
@@ -522,6 +532,7 @@ module CloudsmithApi
|
|
|
522
532
|
# @param repo
|
|
523
533
|
# @param identifier
|
|
524
534
|
# @param [Hash] opts the optional parameters
|
|
535
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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.
|
|
525
536
|
# @return [Array<(Package, Fixnum, Hash)>] Package data, response status code and response headers
|
|
526
537
|
def packages_read_with_http_info(owner, repo, identifier, opts = {})
|
|
527
538
|
if @api_client.config.debugging
|
|
@@ -544,6 +555,7 @@ module CloudsmithApi
|
|
|
544
555
|
|
|
545
556
|
# query parameters
|
|
546
557
|
query_params = {}
|
|
558
|
+
query_params[:'include_connected_repositories'] = opts[:'include_connected_repositories'] if !opts[:'include_connected_repositories'].nil?
|
|
547
559
|
|
|
548
560
|
# header parameters
|
|
549
561
|
header_params = {}
|
|
@@ -708,6 +720,7 @@ module CloudsmithApi
|
|
|
708
720
|
# @param repo
|
|
709
721
|
# @param identifier
|
|
710
722
|
# @param [Hash] opts the optional parameters
|
|
723
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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. (default to false)
|
|
711
724
|
# @return [PackageStatus]
|
|
712
725
|
def packages_status(owner, repo, identifier, opts = {})
|
|
713
726
|
data, _status_code, _headers = packages_status_with_http_info(owner, repo, identifier, opts)
|
|
@@ -720,6 +733,7 @@ module CloudsmithApi
|
|
|
720
733
|
# @param repo
|
|
721
734
|
# @param identifier
|
|
722
735
|
# @param [Hash] opts the optional parameters
|
|
736
|
+
# @option opts [BOOLEAN] :include_connected_repositories 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.
|
|
723
737
|
# @return [Array<(PackageStatus, Fixnum, Hash)>] PackageStatus data, response status code and response headers
|
|
724
738
|
def packages_status_with_http_info(owner, repo, identifier, opts = {})
|
|
725
739
|
if @api_client.config.debugging
|
|
@@ -742,6 +756,7 @@ module CloudsmithApi
|
|
|
742
756
|
|
|
743
757
|
# query parameters
|
|
744
758
|
query_params = {}
|
|
759
|
+
query_params[:'include_connected_repositories'] = opts[:'include_connected_repositories'] if !opts[:'include_connected_repositories'].nil?
|
|
745
760
|
|
|
746
761
|
# header parameters
|
|
747
762
|
header_params = {}
|
|
@@ -19,43 +19,34 @@ module CloudsmithApi
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
23
|
-
# Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
22
|
+
# 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.
|
|
24
23
|
# @param owner
|
|
25
24
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [
|
|
27
|
-
# @
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
def recycle_bin_list(owner, opts = {})
|
|
31
|
-
data, _status_code, _headers = recycle_bin_list_with_http_info(owner, opts)
|
|
25
|
+
# @option opts [PackageRecycleBin] :data
|
|
26
|
+
# @return [PackageBulkActionResponse]
|
|
27
|
+
def recycle_bin_action(owner, opts = {})
|
|
28
|
+
data, _status_code, _headers = recycle_bin_action_with_http_info(owner, opts)
|
|
32
29
|
data
|
|
33
30
|
end
|
|
34
31
|
|
|
35
|
-
#
|
|
36
|
-
# Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
32
|
+
# 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.
|
|
37
33
|
# @param owner
|
|
38
34
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [
|
|
40
|
-
# @
|
|
41
|
-
|
|
42
|
-
# @return [Array<(Array<RecycleBinPackage>, Fixnum, Hash)>] Array<RecycleBinPackage> data, response status code and response headers
|
|
43
|
-
def recycle_bin_list_with_http_info(owner, opts = {})
|
|
35
|
+
# @option opts [PackageRecycleBin] :data
|
|
36
|
+
# @return [Array<(PackageBulkActionResponse, Fixnum, Hash)>] PackageBulkActionResponse data, response status code and response headers
|
|
37
|
+
def recycle_bin_action_with_http_info(owner, opts = {})
|
|
44
38
|
if @api_client.config.debugging
|
|
45
|
-
@api_client.config.logger.debug 'Calling API: RecycleBinApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: RecycleBinApi.recycle_bin_action ...'
|
|
46
40
|
end
|
|
47
41
|
# verify the required parameter 'owner' is set
|
|
48
42
|
if @api_client.config.client_side_validation && owner.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling RecycleBinApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling RecycleBinApi.recycle_bin_action"
|
|
50
44
|
end
|
|
51
45
|
# resource path
|
|
52
|
-
local_var_path = '/recycle-bin/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
|
46
|
+
local_var_path = '/recycle-bin/{owner}/action/'.sub('{' + 'owner' + '}', owner.to_s)
|
|
53
47
|
|
|
54
48
|
# query parameters
|
|
55
49
|
query_params = {}
|
|
56
|
-
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
57
|
-
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
58
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
59
50
|
|
|
60
51
|
# header parameters
|
|
61
52
|
header_params = {}
|
|
@@ -68,48 +59,57 @@ module CloudsmithApi
|
|
|
68
59
|
form_params = {}
|
|
69
60
|
|
|
70
61
|
# http body (model)
|
|
71
|
-
post_body =
|
|
62
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
|
72
63
|
auth_names = ['apikey', 'basic']
|
|
73
|
-
data, status_code, headers = @api_client.call_api(:
|
|
64
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
74
65
|
:header_params => header_params,
|
|
75
66
|
:query_params => query_params,
|
|
76
67
|
:form_params => form_params,
|
|
77
68
|
:body => post_body,
|
|
78
69
|
:auth_names => auth_names,
|
|
79
|
-
:return_type => '
|
|
70
|
+
:return_type => 'PackageBulkActionResponse')
|
|
80
71
|
if @api_client.config.debugging
|
|
81
|
-
@api_client.config.logger.debug "API called: RecycleBinApi#
|
|
72
|
+
@api_client.config.logger.debug "API called: RecycleBinApi#recycle_bin_action\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
73
|
end
|
|
83
74
|
return data, status_code, headers
|
|
84
75
|
end
|
|
85
|
-
#
|
|
76
|
+
# List soft-deleted packages in recycle bin
|
|
77
|
+
# Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
86
78
|
# @param owner
|
|
87
79
|
# @param [Hash] opts the optional parameters
|
|
88
|
-
# @option opts [
|
|
89
|
-
# @
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
81
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
82
|
+
# @option opts [String] :repository Filter packages by repository slug
|
|
83
|
+
# @return [Array<RecycleBinPackage>]
|
|
84
|
+
def recycle_bin_list(owner, opts = {})
|
|
85
|
+
data, _status_code, _headers = recycle_bin_list_with_http_info(owner, opts)
|
|
92
86
|
data
|
|
93
87
|
end
|
|
94
88
|
|
|
95
|
-
#
|
|
89
|
+
# List soft-deleted packages in recycle bin
|
|
90
|
+
# Retrieve all soft-deleted packages in the workspace. Optionally filter by repository using the 'repository' query parameter.
|
|
96
91
|
# @param owner
|
|
97
92
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [
|
|
99
|
-
# @
|
|
100
|
-
|
|
93
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
|
94
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
|
95
|
+
# @option opts [String] :repository Filter packages by repository slug
|
|
96
|
+
# @return [Array<(Array<RecycleBinPackage>, Fixnum, Hash)>] Array<RecycleBinPackage> data, response status code and response headers
|
|
97
|
+
def recycle_bin_list_with_http_info(owner, opts = {})
|
|
101
98
|
if @api_client.config.debugging
|
|
102
|
-
@api_client.config.logger.debug 'Calling API: RecycleBinApi.
|
|
99
|
+
@api_client.config.logger.debug 'Calling API: RecycleBinApi.recycle_bin_list ...'
|
|
103
100
|
end
|
|
104
101
|
# verify the required parameter 'owner' is set
|
|
105
102
|
if @api_client.config.client_side_validation && owner.nil?
|
|
106
|
-
fail ArgumentError, "Missing the required parameter 'owner' when calling RecycleBinApi.
|
|
103
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling RecycleBinApi.recycle_bin_list"
|
|
107
104
|
end
|
|
108
105
|
# resource path
|
|
109
|
-
local_var_path = '/recycle-bin/{owner}/
|
|
106
|
+
local_var_path = '/recycle-bin/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
|
110
107
|
|
|
111
108
|
# query parameters
|
|
112
109
|
query_params = {}
|
|
110
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
111
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
112
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
113
113
|
|
|
114
114
|
# header parameters
|
|
115
115
|
header_params = {}
|
|
@@ -122,17 +122,17 @@ module CloudsmithApi
|
|
|
122
122
|
form_params = {}
|
|
123
123
|
|
|
124
124
|
# http body (model)
|
|
125
|
-
post_body =
|
|
125
|
+
post_body = nil
|
|
126
126
|
auth_names = ['apikey', 'basic']
|
|
127
|
-
data, status_code, headers = @api_client.call_api(:
|
|
127
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
128
128
|
:header_params => header_params,
|
|
129
129
|
:query_params => query_params,
|
|
130
130
|
:form_params => form_params,
|
|
131
131
|
:body => post_body,
|
|
132
132
|
:auth_names => auth_names,
|
|
133
|
-
:return_type => '
|
|
133
|
+
:return_type => 'Array<RecycleBinPackage>')
|
|
134
134
|
if @api_client.config.debugging
|
|
135
|
-
@api_client.config.logger.debug "API called: RecycleBinApi#
|
|
135
|
+
@api_client.config.logger.debug "API called: RecycleBinApi#recycle_bin_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
136
136
|
end
|
|
137
137
|
return data, status_code, headers
|
|
138
138
|
end
|