CloudsmithApi::RepositoryCreateRequest

Properties

Name Type Description Notes
content_kind String The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. [optional] [default to 'Standard']
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]
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]
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] [default to 'Read']
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] [default to 'None']
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]
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] [default to 'Admin']
description String A description of the repository's purpose/contents. [optional]
distributes Array<String> The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. [optional]
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]
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]
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]
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']
name String A descriptive name for the repository.
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]
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]
raw_package_index_enabled BOOLEAN If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. [optional]
raw_package_index_signatures_enabled BOOLEAN If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. [optional]
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] [default to 'Write']
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]
repository_type_str String The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. [optional] [default to 'Public']
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]
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] [default to 'Admin']
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]
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] [default to 'Read']
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]
slug String The slug identifies the repository in URIs. [optional]
storage_region String The Cloudsmith region in which package files are stored. [optional] [default to 'default']
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]
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]
use_default_cargo_upstream BOOLEAN If checked, dependencies of uploaded Cargo crates which do not set an explicit value for &quot;registry&quot; will be assumed to be available from crates.io. If unchecked, dependencies with unspecified &quot;registry&quot; 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]
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]
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]
use_vulnerability_scanning BOOLEAN If checked, vulnerability scanning will be enabled for all supported packages within this repository. [optional]
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]
view_statistics String This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. 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] [default to 'Read']