cloudsmith-api 1.61.3 → 1.120.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +51 -30
- data/build.json +1 -1
- data/docs/AuditLogApi.md +137 -0
- data/docs/FilesApi.md +13 -6
- data/docs/NamespaceAuditLog.md +23 -0
- data/docs/OrganizationGroupSync.md +12 -0
- data/docs/OrganizationInvite.md +16 -0
- data/docs/OrganizationTeam.md +12 -0
- data/docs/OrgsApi.md +713 -0
- data/docs/OrgsInvitesCreate.md +12 -0
- data/docs/OrgsInvitesExtend.md +11 -0
- data/docs/OrgsSamlgroupsyncCreate.md +12 -0
- data/docs/OrgsTeamsCreate.md +11 -0
- data/docs/OrgsTeamsPartialUpdate.md +11 -0
- data/docs/ReposApi.md +586 -0
- data/docs/ReposCreate.md +29 -1
- data/docs/ReposGpgCreate.md +9 -0
- data/docs/ReposPartialUpdate.md +28 -0
- data/docs/ReposRsaCreate.md +9 -0
- data/docs/Repository.md +28 -0
- data/docs/RepositoryAuditLog.md +20 -0
- data/docs/RepositoryCreate.md +29 -1
- data/docs/RepositoryGpgKey.md +14 -0
- data/docs/RepositoryPrivilegeList.md +8 -0
- data/docs/RepositoryRsaKey.md +13 -0
- data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
- data/lib/cloudsmith-api/api/files_api.rb +17 -7
- data/lib/cloudsmith-api/api/orgs_api.rb +671 -0
- data/lib/cloudsmith-api/api/repos_api.rb +566 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/files_abort.rb +34 -0
- data/lib/cloudsmith-api/models/files_complete.rb +34 -0
- data/lib/cloudsmith-api/models/files_create.rb +34 -0
- data/lib/cloudsmith-api/models/files_validate.rb +34 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
- data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
- data/lib/cloudsmith-api/models/organization_team.rb +264 -0
- data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
- data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
- data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
- data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
- data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
- data/lib/cloudsmith-api/models/package.rb +34 -0
- data/lib/cloudsmith-api/models/package_copy.rb +34 -0
- data/lib/cloudsmith-api/models/package_move.rb +34 -0
- data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/repos_create.rb +403 -5
- data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +414 -4
- data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository.rb +414 -4
- data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
- data/lib/cloudsmith-api/models/repository_create.rb +403 -5
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
- data/lib/cloudsmith-api/models/repository_privilege_list.rb +185 -0
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +46 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +16 -0
- data/spec/api/audit_log_api_spec.rb +66 -0
- data/spec/api/files_api_spec.rb +4 -2
- data/spec/api/orgs_api_spec.rb +161 -0
- data/spec/api/repos_api_spec.rb +132 -0
- data/spec/models/alpine_package_upload_spec.rb +4 -0
- data/spec/models/conan_package_upload_spec.rb +4 -0
- data/spec/models/entitlements_create_spec.rb +8 -0
- data/spec/models/entitlements_partial_update_spec.rb +8 -0
- data/spec/models/entitlements_refresh_spec.rb +8 -0
- data/spec/models/files_abort_spec.rb +4 -0
- data/spec/models/files_complete_spec.rb +4 -0
- data/spec/models/files_create_spec.rb +4 -0
- data/spec/models/files_validate_spec.rb +4 -0
- data/spec/models/maven_package_upload_spec.rb +4 -0
- data/spec/models/namespace_audit_log_spec.rb +131 -0
- data/spec/models/organization_group_sync_spec.rb +65 -0
- data/spec/models/organization_invite_spec.rb +93 -0
- data/spec/models/organization_membership_spec.rb +8 -0
- data/spec/models/organization_team_spec.rb +69 -0
- data/spec/models/orgs_invites_create_spec.rb +69 -0
- data/spec/models/orgs_invites_extend_spec.rb +63 -0
- data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
- data/spec/models/orgs_teams_create_spec.rb +63 -0
- data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +4 -0
- data/spec/models/package_move_spec.rb +4 -0
- data/spec/models/package_spec.rb +4 -0
- data/spec/models/packages_tag_spec.rb +4 -0
- data/spec/models/raw_package_upload_spec.rb +4 -0
- data/spec/models/repos_create_spec.rb +200 -0
- data/spec/models/repos_gpg_create_spec.rb +47 -0
- data/spec/models/repos_partial_update_spec.rb +204 -0
- data/spec/models/repos_rsa_create_spec.rb +47 -0
- data/spec/models/repository_audit_log_spec.rb +113 -0
- data/spec/models/repository_create_spec.rb +200 -0
- data/spec/models/repository_gpg_key_spec.rb +77 -0
- data/spec/models/repository_privilege_list_spec.rb +41 -0
- data/spec/models/repository_rsa_key_spec.rb +71 -0
- data/spec/models/repository_spec.rb +204 -0
- data/spec/models/repository_token_refresh_spec.rb +8 -0
- data/spec/models/repository_token_spec.rb +8 -0
- data/spec/models/vagrant_package_upload_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_spec.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
- data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-4.0.7.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
- metadata +85 -21
data/docs/ReposCreate.md
CHANGED
@@ -3,11 +3,39 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional]
|
7
|
+
**copy_own** | **BOOLEAN** | If checked, users can copy 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]
|
8
|
+
**copy_packages** | **String** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional]
|
9
|
+
**default_privilege** | **String** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional]
|
10
|
+
**delete_own** | **BOOLEAN** | If checked, users can delete 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]
|
11
|
+
**delete_packages** | **String** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional]
|
6
12
|
**description** | **String** | A description of the repository's purpose/contents. | [optional]
|
13
|
+
**docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional]
|
7
14
|
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
15
|
+
**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]
|
16
|
+
**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]
|
8
17
|
**name** | **String** | A descriptive name for the repository. |
|
9
|
-
**
|
18
|
+
**proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
19
|
+
**proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
20
|
+
**raw_package_index_enabled** | **BOOLEAN** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional]
|
21
|
+
**raw_package_index_signatures_enabled** | **BOOLEAN** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional]
|
22
|
+
**replace_packages** | **String** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional]
|
23
|
+
**replace_packages_by_default** | **BOOLEAN** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional]
|
24
|
+
**repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
|
25
|
+
**resync_own** | **BOOLEAN** | If checked, users can resync 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]
|
26
|
+
**resync_packages** | **String** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional]
|
27
|
+
**scan_own** | **BOOLEAN** | If checked, users can scan 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]
|
28
|
+
**scan_packages** | **String** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional]
|
29
|
+
**show_setup_all** | **BOOLEAN** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional]
|
10
30
|
**slug** | **String** | The slug identifies the repository in URIs. | [optional]
|
11
31
|
**storage_region** | **String** | The Cloudsmith region in which package files are stored. | [optional]
|
32
|
+
**strict_npm_validation** | **BOOLEAN** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional]
|
33
|
+
**use_debian_labels** | **BOOLEAN** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional]
|
34
|
+
**use_default_cargo_upstream** | **BOOLEAN** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional]
|
35
|
+
**use_noarch_packages** | **BOOLEAN** | If checked, noarch packages (if supported) are enabled in installations/configurations. A noarch package is one that is not tied to specific system architecture (like i686). | [optional]
|
36
|
+
**use_source_packages** | **BOOLEAN** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional]
|
37
|
+
**use_vulnerability_scanning** | **BOOLEAN** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional]
|
38
|
+
**user_entitlements_enabled** | **BOOLEAN** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional]
|
39
|
+
**view_statistics** | **String** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional]
|
12
40
|
|
13
41
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudsmithApi::ReposGpgCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**gpg_passphrase** | **String** | The GPG passphrase used for signing. | [optional]
|
7
|
+
**gpg_private_key** | **String** | The GPG private key. |
|
8
|
+
|
9
|
+
|
data/docs/ReposPartialUpdate.md
CHANGED
@@ -3,10 +3,38 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional]
|
7
|
+
**copy_own** | **BOOLEAN** | If checked, users can copy 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]
|
8
|
+
**copy_packages** | **String** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional]
|
9
|
+
**default_privilege** | **String** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional]
|
10
|
+
**delete_own** | **BOOLEAN** | If checked, users can delete 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]
|
11
|
+
**delete_packages** | **String** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional]
|
6
12
|
**description** | **String** | A description of the repository's purpose/contents. | [optional]
|
13
|
+
**docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional]
|
7
14
|
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
15
|
+
**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]
|
16
|
+
**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]
|
8
17
|
**name** | **String** | A descriptive name for the repository. | [optional]
|
18
|
+
**proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
19
|
+
**proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
20
|
+
**raw_package_index_enabled** | **BOOLEAN** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional]
|
21
|
+
**raw_package_index_signatures_enabled** | **BOOLEAN** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional]
|
22
|
+
**replace_packages** | **String** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional]
|
23
|
+
**replace_packages_by_default** | **BOOLEAN** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional]
|
9
24
|
**repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
|
25
|
+
**resync_own** | **BOOLEAN** | If checked, users can resync 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]
|
26
|
+
**resync_packages** | **String** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional]
|
27
|
+
**scan_own** | **BOOLEAN** | If checked, users can scan 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]
|
28
|
+
**scan_packages** | **String** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional]
|
29
|
+
**show_setup_all** | **BOOLEAN** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional]
|
10
30
|
**slug** | **String** | The slug identifies the repository in URIs. | [optional]
|
31
|
+
**strict_npm_validation** | **BOOLEAN** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional]
|
32
|
+
**use_debian_labels** | **BOOLEAN** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional]
|
33
|
+
**use_default_cargo_upstream** | **BOOLEAN** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional]
|
34
|
+
**use_noarch_packages** | **BOOLEAN** | If checked, noarch packages (if supported) are enabled in installations/configurations. A noarch package is one that is not tied to specific system architecture (like i686). | [optional]
|
35
|
+
**use_source_packages** | **BOOLEAN** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional]
|
36
|
+
**use_vulnerability_scanning** | **BOOLEAN** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional]
|
37
|
+
**user_entitlements_enabled** | **BOOLEAN** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional]
|
38
|
+
**view_statistics** | **String** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional]
|
11
39
|
|
12
40
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# CloudsmithApi::ReposRsaCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**rsa_passphrase** | **String** | The RSA passphrase used for signing. | [optional]
|
7
|
+
**rsa_private_key** | **String** | The RSA private key. |
|
8
|
+
|
9
|
+
|
data/docs/Repository.md
CHANGED
@@ -4,28 +4,56 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional]
|
7
|
+
**contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional]
|
8
|
+
**copy_own** | **BOOLEAN** | If checked, users can copy 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]
|
9
|
+
**copy_packages** | **String** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional]
|
7
10
|
**created_at** | **String** | | [optional]
|
11
|
+
**default_privilege** | **String** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional]
|
12
|
+
**delete_own** | **BOOLEAN** | If checked, users can delete 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]
|
13
|
+
**delete_packages** | **String** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional]
|
8
14
|
**deleted_at** | **String** | | [optional]
|
9
15
|
**description** | **String** | A description of the repository's purpose/contents. | [optional]
|
16
|
+
**docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional]
|
10
17
|
**gpg_keys** | [**Array<ReposGpgKeys>**](ReposGpgKeys.md) | | [optional]
|
11
18
|
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
12
19
|
**is_open_source** | **BOOLEAN** | | [optional]
|
13
20
|
**is_private** | **BOOLEAN** | | [optional]
|
14
21
|
**is_public** | **BOOLEAN** | | [optional]
|
22
|
+
**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]
|
23
|
+
**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]
|
15
24
|
**name** | **String** | A descriptive name for the repository. |
|
16
25
|
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
|
17
26
|
**namespace_url** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
|
18
27
|
**num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
|
19
28
|
**package_count** | **Integer** | The number of packages in the repository. | [optional]
|
20
29
|
**package_group_count** | **Integer** | The number of groups in the repository. | [optional]
|
30
|
+
**proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
31
|
+
**proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
32
|
+
**raw_package_index_enabled** | **BOOLEAN** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional]
|
33
|
+
**raw_package_index_signatures_enabled** | **BOOLEAN** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional]
|
34
|
+
**replace_packages** | **String** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional]
|
35
|
+
**replace_packages_by_default** | **BOOLEAN** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional]
|
21
36
|
**repository_type** | **Integer** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional]
|
22
37
|
**repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
|
38
|
+
**resync_own** | **BOOLEAN** | If checked, users can resync 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]
|
39
|
+
**resync_packages** | **String** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional]
|
40
|
+
**scan_own** | **BOOLEAN** | If checked, users can scan 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]
|
41
|
+
**scan_packages** | **String** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional]
|
23
42
|
**self_html_url** | **String** | Website URL for this repository. | [optional]
|
24
43
|
**self_url** | **String** | API endpoint where data about this repository can be retrieved. | [optional]
|
44
|
+
**show_setup_all** | **BOOLEAN** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional]
|
25
45
|
**size** | **Integer** | The calculated size of the repository. | [optional]
|
26
46
|
**size_str** | **String** | The calculated size of the repository (human readable). | [optional]
|
27
47
|
**slug** | **String** | The slug identifies the repository in URIs. | [optional]
|
28
48
|
**slug_perm** | **String** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional]
|
29
49
|
**storage_region** | **String** | The Cloudsmith region in which package files are stored. | [optional]
|
50
|
+
**strict_npm_validation** | **BOOLEAN** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional]
|
51
|
+
**use_debian_labels** | **BOOLEAN** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional]
|
52
|
+
**use_default_cargo_upstream** | **BOOLEAN** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional]
|
53
|
+
**use_noarch_packages** | **BOOLEAN** | If checked, noarch packages (if supported) are enabled in installations/configurations. A noarch package is one that is not tied to specific system architecture (like i686). | [optional]
|
54
|
+
**use_source_packages** | **BOOLEAN** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional]
|
55
|
+
**use_vulnerability_scanning** | **BOOLEAN** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional]
|
56
|
+
**user_entitlements_enabled** | **BOOLEAN** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional]
|
57
|
+
**view_statistics** | **String** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional]
|
30
58
|
|
31
59
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# CloudsmithApi::RepositoryAuditLog
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**actor** | **String** | |
|
7
|
+
**actor_ip_address** | **String** | |
|
8
|
+
**actor_kind** | **String** | | [optional]
|
9
|
+
**actor_location** | **Object** | |
|
10
|
+
**actor_slug_perm** | **String** | |
|
11
|
+
**actor_url** | **String** | | [optional]
|
12
|
+
**context** | **String** | |
|
13
|
+
**event** | **String** | |
|
14
|
+
**event_at** | **String** | |
|
15
|
+
**object** | **String** | |
|
16
|
+
**object_kind** | **String** | |
|
17
|
+
**object_slug_perm** | **String** | |
|
18
|
+
**uuid** | **String** | | [optional]
|
19
|
+
|
20
|
+
|
data/docs/RepositoryCreate.md
CHANGED
@@ -4,28 +4,56 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**cdn_url** | **String** | Base URL from which packages and other artifacts are downloaded. | [optional]
|
7
|
+
**contextual_auth_realm** | **BOOLEAN** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional]
|
8
|
+
**copy_own** | **BOOLEAN** | If checked, users can copy 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]
|
9
|
+
**copy_packages** | **String** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional]
|
7
10
|
**created_at** | **String** | | [optional]
|
11
|
+
**default_privilege** | **String** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional]
|
12
|
+
**delete_own** | **BOOLEAN** | If checked, users can delete 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]
|
13
|
+
**delete_packages** | **String** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional]
|
8
14
|
**deleted_at** | **String** | | [optional]
|
9
15
|
**description** | **String** | A description of the repository's purpose/contents. | [optional]
|
16
|
+
**docker_refresh_tokens_enabled** | **BOOLEAN** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional]
|
10
17
|
**gpg_keys** | [**Array<ReposGpgKeys>**](ReposGpgKeys.md) | | [optional]
|
11
18
|
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
12
19
|
**is_open_source** | **BOOLEAN** | | [optional]
|
13
20
|
**is_private** | **BOOLEAN** | | [optional]
|
14
21
|
**is_public** | **BOOLEAN** | | [optional]
|
22
|
+
**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]
|
23
|
+
**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]
|
15
24
|
**name** | **String** | A descriptive name for the repository. |
|
16
25
|
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
|
17
26
|
**namespace_url** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
|
18
27
|
**num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
|
19
28
|
**package_count** | **Integer** | The number of packages in the repository. | [optional]
|
20
29
|
**package_group_count** | **Integer** | The number of groups in the repository. | [optional]
|
30
|
+
**proxy_npmjs** | **BOOLEAN** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
31
|
+
**proxy_pypi** | **BOOLEAN** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional]
|
32
|
+
**raw_package_index_enabled** | **BOOLEAN** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional]
|
33
|
+
**raw_package_index_signatures_enabled** | **BOOLEAN** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional]
|
34
|
+
**replace_packages** | **String** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional]
|
35
|
+
**replace_packages_by_default** | **BOOLEAN** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional]
|
21
36
|
**repository_type** | **Integer** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional]
|
22
|
-
**repository_type_str** | **String** |
|
37
|
+
**repository_type_str** | **String** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional]
|
38
|
+
**resync_own** | **BOOLEAN** | If checked, users can resync 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]
|
39
|
+
**resync_packages** | **String** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional]
|
40
|
+
**scan_own** | **BOOLEAN** | If checked, users can scan 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]
|
41
|
+
**scan_packages** | **String** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional]
|
23
42
|
**self_html_url** | **String** | Website URL for this repository. | [optional]
|
24
43
|
**self_url** | **String** | API endpoint where data about this repository can be retrieved. | [optional]
|
44
|
+
**show_setup_all** | **BOOLEAN** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional]
|
25
45
|
**size** | **Integer** | The calculated size of the repository. | [optional]
|
26
46
|
**size_str** | **String** | The calculated size of the repository (human readable). | [optional]
|
27
47
|
**slug** | **String** | The slug identifies the repository in URIs. | [optional]
|
28
48
|
**slug_perm** | **String** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional]
|
29
49
|
**storage_region** | **String** | The Cloudsmith region in which package files are stored. | [optional]
|
50
|
+
**strict_npm_validation** | **BOOLEAN** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional]
|
51
|
+
**use_debian_labels** | **BOOLEAN** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional]
|
52
|
+
**use_default_cargo_upstream** | **BOOLEAN** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional]
|
53
|
+
**use_noarch_packages** | **BOOLEAN** | If checked, noarch packages (if supported) are enabled in installations/configurations. A noarch package is one that is not tied to specific system architecture (like i686). | [optional]
|
54
|
+
**use_source_packages** | **BOOLEAN** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional]
|
55
|
+
**use_vulnerability_scanning** | **BOOLEAN** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional]
|
56
|
+
**user_entitlements_enabled** | **BOOLEAN** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional]
|
57
|
+
**view_statistics** | **String** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional]
|
30
58
|
|
31
59
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# CloudsmithApi::RepositoryGpgKey
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**active** | **BOOLEAN** | If selected this is the active key for this repository. | [optional]
|
7
|
+
**comment** | **String** | |
|
8
|
+
**created_at** | **String** | | [optional]
|
9
|
+
**default** | **BOOLEAN** | If selected this is the default key for this repository. | [optional]
|
10
|
+
**fingerprint** | **String** | The long identifier used by GPG for this key. | [optional]
|
11
|
+
**fingerprint_short** | **String** | | [optional]
|
12
|
+
**public_key** | **String** | The public key given to repository users. | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# CloudsmithApi::RepositoryPrivilegeList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**privileges** | **String** | List of objects with explicit privileges to the repository. | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# CloudsmithApi::RepositoryRsaKey
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**active** | **BOOLEAN** | If selected this is the active key for this repository. | [optional]
|
7
|
+
**created_at** | **String** | | [optional]
|
8
|
+
**default** | **BOOLEAN** | If selected this is the default key for this repository. | [optional]
|
9
|
+
**fingerprint** | **String** | The long identifier used by RSA for this key. | [optional]
|
10
|
+
**fingerprint_short** | **String** | | [optional]
|
11
|
+
**public_key** | **String** | The public key given to repository users. | [optional]
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,147 @@
|
|
1
|
+
=begin
|
2
|
+
#Cloudsmith API
|
3
|
+
|
4
|
+
#The API to the Cloudsmith Service
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
Contact: support@cloudsmith.io
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.26
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CloudsmithApi
|
16
|
+
class AuditLogApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Lists audit log entries for a specific namespace.
|
23
|
+
# Lists audit log entries for a specific namespace.
|
24
|
+
# @param owner
|
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
|
+
# @option opts [String] :query A search term for querying events, actors, or timestamps of log records.
|
29
|
+
# @return [Array<NamespaceAuditLog>]
|
30
|
+
def audit_log_list(owner, opts = {})
|
31
|
+
data, _status_code, _headers = audit_log_list_with_http_info(owner, opts)
|
32
|
+
data
|
33
|
+
end
|
34
|
+
|
35
|
+
# Lists audit log entries for a specific namespace.
|
36
|
+
# Lists audit log entries for a specific namespace.
|
37
|
+
# @param owner
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
40
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
41
|
+
# @option opts [String] :query A search term for querying events, actors, or timestamps of log records.
|
42
|
+
# @return [Array<(Array<NamespaceAuditLog>, Fixnum, Hash)>] Array<NamespaceAuditLog> data, response status code and response headers
|
43
|
+
def audit_log_list_with_http_info(owner, opts = {})
|
44
|
+
if @api_client.config.debugging
|
45
|
+
@api_client.config.logger.debug 'Calling API: AuditLogApi.audit_log_list ...'
|
46
|
+
end
|
47
|
+
# verify the required parameter 'owner' is set
|
48
|
+
if @api_client.config.client_side_validation && owner.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling AuditLogApi.audit_log_list"
|
50
|
+
end
|
51
|
+
# resource path
|
52
|
+
local_var_path = '/audit-log/{owner}/'.sub('{' + 'owner' + '}', owner.to_s)
|
53
|
+
|
54
|
+
# query parameters
|
55
|
+
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[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
59
|
+
|
60
|
+
# header parameters
|
61
|
+
header_params = {}
|
62
|
+
|
63
|
+
# form parameters
|
64
|
+
form_params = {}
|
65
|
+
|
66
|
+
# http body (model)
|
67
|
+
post_body = nil
|
68
|
+
auth_names = ['apikey']
|
69
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
70
|
+
:header_params => header_params,
|
71
|
+
:query_params => query_params,
|
72
|
+
:form_params => form_params,
|
73
|
+
:body => post_body,
|
74
|
+
:auth_names => auth_names,
|
75
|
+
:return_type => 'Array<NamespaceAuditLog>')
|
76
|
+
if @api_client.config.debugging
|
77
|
+
@api_client.config.logger.debug "API called: AuditLogApi#audit_log_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
78
|
+
end
|
79
|
+
return data, status_code, headers
|
80
|
+
end
|
81
|
+
# Lists audit log entries for a specific repository.
|
82
|
+
# Lists audit log entries for a specific repository.
|
83
|
+
# @param owner
|
84
|
+
# @param repo
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
87
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
88
|
+
# @option opts [String] :query A search term for querying events, actors, or timestamps of log records.
|
89
|
+
# @return [Array<RepositoryAuditLog>]
|
90
|
+
def audit_log_list0(owner, repo, opts = {})
|
91
|
+
data, _status_code, _headers = audit_log_list0_with_http_info(owner, repo, opts)
|
92
|
+
data
|
93
|
+
end
|
94
|
+
|
95
|
+
# Lists audit log entries for a specific repository.
|
96
|
+
# Lists audit log entries for a specific repository.
|
97
|
+
# @param owner
|
98
|
+
# @param repo
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @option opts [Integer] :page A page number within the paginated result set.
|
101
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
102
|
+
# @option opts [String] :query A search term for querying events, actors, or timestamps of log records.
|
103
|
+
# @return [Array<(Array<RepositoryAuditLog>, Fixnum, Hash)>] Array<RepositoryAuditLog> data, response status code and response headers
|
104
|
+
def audit_log_list0_with_http_info(owner, repo, opts = {})
|
105
|
+
if @api_client.config.debugging
|
106
|
+
@api_client.config.logger.debug 'Calling API: AuditLogApi.audit_log_list0 ...'
|
107
|
+
end
|
108
|
+
# verify the required parameter 'owner' is set
|
109
|
+
if @api_client.config.client_side_validation && owner.nil?
|
110
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling AuditLogApi.audit_log_list0"
|
111
|
+
end
|
112
|
+
# verify the required parameter 'repo' is set
|
113
|
+
if @api_client.config.client_side_validation && repo.nil?
|
114
|
+
fail ArgumentError, "Missing the required parameter 'repo' when calling AuditLogApi.audit_log_list0"
|
115
|
+
end
|
116
|
+
# resource path
|
117
|
+
local_var_path = '/audit-log/{owner}/{repo}/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s)
|
118
|
+
|
119
|
+
# query parameters
|
120
|
+
query_params = {}
|
121
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
122
|
+
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
123
|
+
query_params[:'query'] = opts[:'query'] if !opts[:'query'].nil?
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = {}
|
127
|
+
|
128
|
+
# form parameters
|
129
|
+
form_params = {}
|
130
|
+
|
131
|
+
# http body (model)
|
132
|
+
post_body = nil
|
133
|
+
auth_names = ['apikey']
|
134
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
135
|
+
:header_params => header_params,
|
136
|
+
:query_params => query_params,
|
137
|
+
:form_params => form_params,
|
138
|
+
:body => post_body,
|
139
|
+
:auth_names => auth_names,
|
140
|
+
:return_type => 'Array<RepositoryAuditLog>')
|
141
|
+
if @api_client.config.debugging
|
142
|
+
@api_client.config.logger.debug "API called: AuditLogApi#audit_log_list0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
143
|
+
end
|
144
|
+
return data, status_code, headers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
@@ -210,26 +210,30 @@ module CloudsmithApi
|
|
210
210
|
end
|
211
211
|
return data, status_code, headers
|
212
212
|
end
|
213
|
-
# Get upload information
|
214
|
-
# Get upload information
|
213
|
+
# Get upload information to perform a multipart file upload.
|
214
|
+
# Get upload information to perform a multipart file upload.
|
215
215
|
# @param owner
|
216
216
|
# @param repo
|
217
217
|
# @param identifier
|
218
|
+
# @param filename The filename of the file being uploaded
|
218
219
|
# @param [Hash] opts the optional parameters
|
220
|
+
# @option opts [Integer] :part_number The part number to be uploaded next
|
219
221
|
# @return [PackageFilePartsUpload]
|
220
|
-
def files_info(owner, repo, identifier, opts = {})
|
221
|
-
data, _status_code, _headers = files_info_with_http_info(owner, repo, identifier, opts)
|
222
|
+
def files_info(owner, repo, identifier, filename, opts = {})
|
223
|
+
data, _status_code, _headers = files_info_with_http_info(owner, repo, identifier, filename, opts)
|
222
224
|
data
|
223
225
|
end
|
224
226
|
|
225
|
-
# Get upload information
|
226
|
-
# Get upload information
|
227
|
+
# Get upload information to perform a multipart file upload.
|
228
|
+
# Get upload information to perform a multipart file upload.
|
227
229
|
# @param owner
|
228
230
|
# @param repo
|
229
231
|
# @param identifier
|
232
|
+
# @param filename The filename of the file being uploaded
|
230
233
|
# @param [Hash] opts the optional parameters
|
234
|
+
# @option opts [Integer] :part_number The part number to be uploaded next
|
231
235
|
# @return [Array<(PackageFilePartsUpload, Fixnum, Hash)>] PackageFilePartsUpload data, response status code and response headers
|
232
|
-
def files_info_with_http_info(owner, repo, identifier, opts = {})
|
236
|
+
def files_info_with_http_info(owner, repo, identifier, filename, opts = {})
|
233
237
|
if @api_client.config.debugging
|
234
238
|
@api_client.config.logger.debug 'Calling API: FilesApi.files_info ...'
|
235
239
|
end
|
@@ -245,11 +249,17 @@ module CloudsmithApi
|
|
245
249
|
if @api_client.config.client_side_validation && identifier.nil?
|
246
250
|
fail ArgumentError, "Missing the required parameter 'identifier' when calling FilesApi.files_info"
|
247
251
|
end
|
252
|
+
# verify the required parameter 'filename' is set
|
253
|
+
if @api_client.config.client_side_validation && filename.nil?
|
254
|
+
fail ArgumentError, "Missing the required parameter 'filename' when calling FilesApi.files_info"
|
255
|
+
end
|
248
256
|
# resource path
|
249
257
|
local_var_path = '/files/{owner}/{repo}/{identifier}/info/'.sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'repo' + '}', repo.to_s).sub('{' + 'identifier' + '}', identifier.to_s)
|
250
258
|
|
251
259
|
# query parameters
|
252
260
|
query_params = {}
|
261
|
+
query_params[:'filename'] = filename
|
262
|
+
query_params[:'part_number'] = opts[:'part_number'] if !opts[:'part_number'].nil?
|
253
263
|
|
254
264
|
# header parameters
|
255
265
|
header_params = {}
|