swagger: '2.0' info: title: Cloudsmith API (v1) audit-log repos API description: The API to the Cloudsmith Service termsOfService: https://help.cloudsmith.io contact: name: Cloudsmith Support url: https://help.cloudsmith.io email: support@cloudsmith.io license: name: MIT url: https://opensource.org/licenses/MIT version: v1 host: api.cloudsmith.io basePath: / schemes: - https consumes: - application/json produces: - application/json security: - apikey: [] - basic: [] tags: - name: repos paths: /repos/: parameters: [] get: operationId: repos_user_list summary: Get a list of all repositories associated with current user. description: Get a list of all repositories associated with current user. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: Retrieved the list of repositories schema: type: array items: $ref: '#/definitions/Repository' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[repositories]=created_at,deleted_at,description,distributes,name,namespace,num_downloads,num_quarantined_packages,num_policy_violated_packages,open_source_license,open_source_project_url,package_count,package_group_count,repository_type_str,size,slug,slug_perm,storage_region /repos/{owner}/: parameters: - name: owner in: path required: true type: string get: operationId: repos_namespace_list summary: Get a list of all repositories within a namespace. description: Get a list of all repositories within a namespace. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer - name: query in: query description: 'A search term for querying repositories. Available options are: name, slug. Explicit filters: broadcast_state, repository_type.' required: false type: string default: '' - name: sort in: query description: A field for sorting objects in ascending or descending order. required: false type: string default: -created_at responses: '200': description: Retrieved the list of repositories schema: type: array items: $ref: '#/definitions/Repository' '404': description: Owner namespace not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[repositories]=created_at,deleted_at,description,distributes,name,namespace,num_downloads,num_quarantined_packages,num_policy_violated_packages,open_source_license,open_source_project_url,package_count,package_group_count,repository_type_str,size,slug,slug_perm,storage_region post: operationId: repos_create summary: Create a new repository in a given namespace. description: Create a new repository in a given namespace. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryCreateRequest' responses: '201': description: The repository was created. schema: $ref: '#/definitions/RepositoryCreate' '404': description: Owner namespace not found. schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_read summary: Get a specific repository. description: Get a specific repository. parameters: [] responses: '200': description: Retrieved the specified repository schema: $ref: '#/definitions/Repository' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[repositories]=created_at,deleted_at,description,distributes,name,namespace,num_downloads,num_quarantined_packages,num_policy_violated_packages,open_source_license,open_source_project_url,package_count,package_group_count,repository_type_str,size,slug,slug_perm,storage_region patch: operationId: repos_partial_update summary: Update details about a repository in a given namespace. description: Update details about a repository in a given namespace. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryRequestPatch' responses: '200': description: The repository was updated. schema: $ref: '#/definitions/Repository' '404': description: Unable to find repository with that name in the provided namespace. schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_delete description: Delete a repository in a given namespace.Repositories are soft-deleted and can be restored within a retention period. During this time, the repository's slug remains reserved and cannot be reused for new repositories. parameters: [] responses: '200': description: The repository has been scheduled for deletion. '404': description: Unable to find repository with that name in the provided namespace. schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/ecdsa/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_ecdsa_list summary: Retrieve the active ECDSA key for the Repository. description: Retrieve the active ECDSA key for the Repository. parameters: [] responses: '200': description: Retrieved the active ECDSA key. schema: $ref: '#/definitions/RepositoryEcdsaKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos post: operationId: repos_ecdsa_create summary: Set the active ECDSA key for the Repository. description: Set the active ECDSA key for the Repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryEcdsaKeyCreate' responses: '200': description: The provided ECDSA key is the same as the current ECDSA key. schema: $ref: '#/definitions/RepositoryEcdsaKey' '201': description: The provided ECDSA key was assigned to the Repository. schema: $ref: '#/definitions/RepositoryEcdsaKey' '400': description: The provided ECDSA key is not valid schema: $ref: '#/definitions/ErrorDetail' '402': description: Custom ECDSA keys are not active; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Organization/Repository does not exist, or you do not have permissions. schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/ecdsa/regenerate/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_ecdsa_regenerate summary: Regenerate ECDSA Key for the Repository. description: Regenerate ECDSA Key for the Repository. parameters: [] responses: '200': description: An ECDSA key was generated for the Repository. schema: $ref: '#/definitions/RepositoryEcdsaKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/geoip: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_geoip_read summary: List all repository geoip rules. description: List all repository geoip rules. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/RepositoryGeoIpRules' '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos put: operationId: repos_geoip_update summary: Replace repository geoip rules. description: Replace repository geoip rules. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryGeoIpRulesRequest' responses: '200': description: OK schema: $ref: '#/definitions/RepositoryGeoIpRules' '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_geoip_partial_update summary: Partially update repository geoip rules. description: Partially update repository geoip rules. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryGeoIpRulesRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/RepositoryGeoIpRules' '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/geoip/disable/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_geoip_disable summary: Disable GeoIP for this repository. description: Disable GeoIP for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RespositoryGeoIpEnableDisableRequest' responses: '200': description: GeoIP has been disabled for this repository. '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/geoip/enable/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_geoip_enable summary: Enable GeoIP for this repository. description: Enable GeoIP for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RespositoryGeoIpEnableDisableRequest' responses: '200': description: GeoIP has been enabled for this repository. '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/geoip/status/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: api_repos_geoip_status summary: Retrieve the GeoIP status for this repository. description: Retrieve the GeoIP status for this repository. parameters: [] responses: '200': description: Retrieved the GeoIP status for this repository. schema: $ref: '#/definitions/RepositoryGeoIpStatus' '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/geoip/test/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_geoip_test summary: Test a list of IP addresses against the repository's current GeoIP rules. description: Test a list of IP addresses against the repository's current GeoIP rules. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryGeoIpTestAddress' responses: '201': description: Successfuly tested addresses against the repository's GeoIP rules schema: $ref: '#/definitions/RepositoryGeoIpTestAddressResponse' '402': description: Geo/IP restrictions are not available; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/gpg/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_gpg_list summary: Retrieve the active GPG key for the Repository. description: Retrieve the active GPG key for the Repository. parameters: [] responses: '200': description: Retrieved the active GPG key. schema: $ref: '#/definitions/RepositoryGpgKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos post: operationId: repos_gpg_create summary: Set the active GPG key for the Repository. description: Set the active GPG key for the Repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryGpgKeyCreate' responses: '200': description: The provided GPG key is the same as the current GPG key. schema: $ref: '#/definitions/RepositoryGpgKey' '201': description: The provided GPG key was assigned to the Repository. schema: $ref: '#/definitions/RepositoryGpgKey' '400': description: The provided GPG key is not valid schema: $ref: '#/definitions/ErrorDetail' '402': description: Custom GPG keys are not active; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Organization/Repository does not exist, or you do not have permissions. schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/gpg/regenerate/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_gpg_regenerate summary: Regenerate GPG Key for the Repository. description: Regenerate GPG Key for the Repository. parameters: [] responses: '200': description: A GPG key was generated for the Repository. schema: $ref: '#/definitions/RepositoryGpgKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/privileges: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_privileges_list summary: List all explicity created privileges for the repository. description: List all explicity created privileges for the repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: Retrieved privileges for the specified repository schema: $ref: '#/definitions/RepositoryPrivilegeInput' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos put: operationId: repos_privileges_update summary: Replace all existing repository privileges with those specified. description: Replace all existing repository privileges with those specified. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryPrivilegeInputRequest' responses: '204': description: Repository privileges replaced '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_privileges_partial_update summary: Modify privileges for the repository. description: Modify privileges for the repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryPrivilegeInputRequestPatch' responses: '204': description: Repository privileges updated '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/rsa/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_rsa_list summary: Retrieve the active RSA key for the Repository. description: Retrieve the active RSA key for the Repository. parameters: [] responses: '200': description: Retrieved the active RSA key. schema: $ref: '#/definitions/RepositoryRsaKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos post: operationId: repos_rsa_create summary: Set the active RSA key for the Repository. description: Set the active RSA key for the Repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryRsaKeyCreate' responses: '200': description: The provided RSA key is the same as the current RSA key. schema: $ref: '#/definitions/RepositoryRsaKey' '201': description: The provided RSA key was assigned to the Repository. schema: $ref: '#/definitions/RepositoryRsaKey' '400': description: The provided RSA key is not valid schema: $ref: '#/definitions/ErrorDetail' '402': description: Custom RSA keys are not active; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '404': description: Organization/Repository does not exist, or you do not have permissions. schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/rsa/regenerate/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string post: operationId: repos_rsa_regenerate summary: Regenerate RSA Key for the Repository. description: Regenerate RSA Key for the Repository. parameters: [] responses: '200': description: An RSA key was generated for the Repository. schema: $ref: '#/definitions/RepositoryRsaKey' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/alpine/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_alpine_list summary: List Alpine upstream configs for this repository. description: List Alpine upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/AlpineUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_alpine_create summary: Create an Alpine upstream config for this repository. description: Create an Alpine upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/AlpineUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/AlpineUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/alpine/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_alpine_read summary: Retrieve an Alpine upstream config for this repository. description: Retrieve an Alpine upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/AlpineUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_alpine_update summary: Update an Alpine upstream config for this repository. description: Update an Alpine upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/AlpineUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/AlpineUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_alpine_partial_update summary: Partially update an Alpine upstream config for this repository. description: Partially update an Alpine upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/AlpineUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/AlpineUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_alpine_delete summary: Delete an Alpine upstream config for this repository. description: Delete an Alpine upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/cargo/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_cargo_list summary: List Cargo upstream configs for this repository. description: List Cargo upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/CargoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_cargo_create summary: Create a Cargo upstream config for this repository. description: Create a Cargo upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CargoUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/CargoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/cargo/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_cargo_read summary: Retrieve a Cargo upstream config for this repository. description: Retrieve a Cargo upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/CargoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_cargo_update summary: Update a Cargo upstream config for this repository. description: Update a Cargo upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CargoUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/CargoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_cargo_partial_update summary: Partially update a Cargo upstream config for this repository. description: Partially update a Cargo upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CargoUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/CargoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_cargo_delete summary: Delete a Cargo upstream config for this repository. description: Delete a Cargo upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/composer/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_composer_list summary: List Composer upstream configs for this repository. description: List Composer upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/ComposerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_composer_create summary: Create a Composer upstream config for this repository. description: Create a Composer upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/ComposerUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/ComposerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/composer/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_composer_read summary: Retrieve a Composer upstream config for this repository. description: Retrieve a Composer upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/ComposerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_composer_update summary: Update a Composer upstream config for this repository. description: Update a Composer upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/ComposerUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/ComposerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_composer_partial_update summary: Partially update a Composer upstream config for this repository. description: Partially update a Composer upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/ComposerUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/ComposerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_composer_delete summary: Delete a Composer upstream config for this repository. description: Delete a Composer upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/conda/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_conda_list summary: List Conda upstream configs for this repository. description: List Conda upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/CondaUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_conda_create summary: Create a Conda upstream config for this repository. description: Create a Conda upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CondaUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/CondaUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/conda/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_conda_read summary: Retrieve a Conda upstream config for this repository. description: Retrieve a Conda upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/CondaUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_conda_update summary: Update a Conda upstream config for this repository. description: Update a Conda upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CondaUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/CondaUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_conda_partial_update summary: Partially update a Conda upstream config for this repository. description: Partially update a Conda upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CondaUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/CondaUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_conda_delete summary: Delete a Conda upstream config for this repository. description: Delete a Conda upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/cran/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_cran_list summary: List CRAN upstream configs for this repository. description: List CRAN upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/CranUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_cran_create summary: Create a CRAN upstream config for this repository. description: Create a CRAN upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CranUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/CranUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/cran/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_cran_read summary: Retrieve a CRAN upstream config for this repository. description: Retrieve a CRAN upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/CranUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_cran_update summary: Update a CRAN upstream config for this repository. description: Update a CRAN upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CranUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/CranUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_cran_partial_update summary: Partially update a CRAN upstream config for this repository. description: Partially update a CRAN upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/CranUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/CranUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_cran_delete summary: Delete a CRAN upstream config for this repository. description: Delete a CRAN upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/dart/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_dart_list summary: List Dart upstream configs for this repository. description: List Dart upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/DartUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_dart_create summary: Create a Dart upstream config for this repository. description: Create a Dart upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DartUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/DartUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/dart/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_dart_read summary: Retrieve a Dart upstream config for this repository. description: Retrieve a Dart upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/DartUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_dart_update summary: Update a Dart upstream config for this repository. description: Update a Dart upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DartUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/DartUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_dart_partial_update summary: Partially update a Dart upstream config for this repository. description: Partially update a Dart upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DartUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/DartUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_dart_delete summary: Delete a Dart upstream config for this repository. description: Delete a Dart upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/deb/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_deb_list summary: List Debian upstream configs for this repository. description: List Debian upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/DebUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_deb_create summary: Create a Debian upstream config for this repository. description: Create a Debian upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DebUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/DebUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/deb/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_deb_read summary: Retrieve a Debian upstream config for this repository. description: Retrieve a Debian upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/DebUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_deb_update summary: Update a Debian upstream config for this repository. description: Update a Debian upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DebUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/DebUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_deb_partial_update summary: Partially update a Debian upstream config for this repository. description: Partially update a Debian upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DebUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/DebUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_deb_delete summary: Delete a Debian upstream config for this repository. description: Delete a Debian upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/docker/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_docker_list summary: List Docker upstream configs for this repository. description: List Docker upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/DockerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_docker_create summary: Create a Docker upstream config for this repository. description: Create a Docker upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DockerUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/DockerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/docker/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_docker_read summary: Retrieve a Docker upstream config for this repository. description: Retrieve a Docker upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/DockerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_docker_update summary: Update a Docker upstream config for this repository. description: Update a Docker upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DockerUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/DockerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_docker_partial_update summary: Partially update a Docker upstream config for this repository. description: Partially update a Docker upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/DockerUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/DockerUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_docker_delete summary: Delete a Docker upstream config for this repository. description: Delete a Docker upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/generic/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_generic_list summary: List Generic upstream configs for this repository. description: List Generic upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/GenericUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_generic_create summary: Create a Generic upstream config for this repository. description: Create a Generic upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GenericUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/GenericUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/generic/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_generic_read summary: Retrieve a Generic upstream config for this repository. description: Retrieve a Generic upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/GenericUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_generic_update summary: Update a Generic upstream config for this repository. description: Update a Generic upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GenericUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/GenericUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_generic_partial_update summary: Partially update a Generic upstream config for this repository. description: Partially update a Generic upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GenericUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/GenericUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_generic_delete summary: Delete a Generic upstream config for this repository. description: Delete a Generic upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/go/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_go_list summary: List Go upstream configs for this repository. description: List Go upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/GoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_go_create summary: Create a Go upstream config for this repository. description: Create a Go upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GoUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/GoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/go/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_go_read summary: Retrieve a Go upstream config for this repository. description: Retrieve a Go upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/GoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_go_update summary: Update a Go upstream config for this repository. description: Update a Go upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GoUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/GoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_go_partial_update summary: Partially update a Go upstream config for this repository. description: Partially update a Go upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/GoUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/GoUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_go_delete summary: Delete a Go upstream config for this repository. description: Delete a Go upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/helm/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_helm_list summary: List Helm upstream configs for this repository. description: List Helm upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/HelmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_helm_create summary: Create a Helm upstream config for this repository. description: Create a Helm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HelmUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/HelmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/helm/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_helm_read summary: Retrieve a Helm upstream config for this repository. description: Retrieve a Helm upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/HelmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_helm_update summary: Update a Helm upstream config for this repository. description: Update a Helm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HelmUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/HelmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_helm_partial_update summary: Partially update a Helm upstream config for this repository. description: Partially update a Helm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HelmUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/HelmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_helm_delete summary: Delete a Helm upstream config for this repository. description: Delete a Helm upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/hex/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_hex_list summary: List Hex upstream configs for this repository. description: List Hex upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/HexUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_hex_create summary: Create a Hex upstream config for this repository. description: Create a Hex upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HexUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/HexUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/hex/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_hex_read summary: Retrieve a Hex upstream config for this repository. description: Retrieve a Hex upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/HexUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_hex_update summary: Update a Hex upstream config for this repository. description: Update a Hex upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HexUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/HexUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_hex_partial_update summary: Partially update a Hex upstream config for this repository. description: Partially update a Hex upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HexUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/HexUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_hex_delete summary: Delete a Hex upstream config for this repository. description: Delete a Hex upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/huggingface/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_huggingface_list summary: List HuggingFace upstream configs for this repository. description: List HuggingFace upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/HuggingfaceUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_huggingface_create summary: Create a HuggingFace upstream config for this repository. description: Create a HuggingFace upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HuggingfaceUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/HuggingfaceUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/huggingface/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_huggingface_read summary: Retrieve a HuggingFace upstream config for this repository. description: Retrieve a HuggingFace upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/HuggingfaceUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_huggingface_update summary: Update a HuggingFace upstream config for this repository. description: Update a HuggingFace upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HuggingfaceUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/HuggingfaceUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_huggingface_partial_update summary: Partially update a HuggingFace upstream config for this repository. description: Partially update a HuggingFace upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/HuggingfaceUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/HuggingfaceUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_huggingface_delete summary: Delete a HuggingFace upstream config for this repository. description: Delete a HuggingFace upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/maven/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_maven_list summary: List Maven upstream configs for this repository. description: List Maven upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/MavenUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_maven_create summary: Create a Maven upstream config for this repository. description: Create a Maven upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/MavenUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/MavenUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_maven_read summary: Retrieve a Maven upstream config for this repository. description: Retrieve a Maven upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/MavenUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_maven_update summary: Update a Maven upstream config for this repository. description: Update a Maven upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/MavenUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/MavenUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_maven_partial_update summary: Partially update a Maven upstream config for this repository. description: Partially update a Maven upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/MavenUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/MavenUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_maven_delete summary: Delete a Maven upstream config for this repository. description: Delete a Maven upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/npm/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_npm_list summary: List npm upstream configs for this repository. description: List npm upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/NpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_npm_create summary: Create a npm upstream config for this repository. description: Create a npm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NpmUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/NpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_npm_read summary: Retrieve a npm upstream config for this repository. description: Retrieve a npm upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/NpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_npm_update summary: Update a npm upstream config for this repository. description: Update a npm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NpmUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/NpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_npm_partial_update summary: Partially update a npm upstream config for this repository. description: Partially update a npm upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NpmUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/NpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_npm_delete summary: Delete a npm upstream config for this repository. description: Delete a npm upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/nuget/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_nuget_list summary: List NuGet upstream configs for this repository. description: List NuGet upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/NugetUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_nuget_create summary: Create a NuGet upstream config for this repository. description: Create a NuGet upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NugetUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/NugetUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_nuget_read summary: Retrieve a NuGet upstream config for this repository. description: Retrieve a NuGet upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/NugetUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_nuget_update summary: Update a NuGet upstream config for this repository. description: Update a NuGet upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NugetUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/NugetUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_nuget_partial_update summary: Partially update a NuGet upstream config for this repository. description: Partially update a NuGet upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/NugetUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/NugetUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_nuget_delete summary: Delete a NuGet upstream config for this repository. description: Delete a NuGet upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/python/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_python_list summary: List Python upstream configs for this repository. description: List Python upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/PythonUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_python_create summary: Create a Python upstream config for this repository. description: Create a Python upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/PythonUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/PythonUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/python/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_python_read summary: Retrieve a Python upstream config for this repository. description: Retrieve a Python upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/PythonUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_python_update summary: Update a Python upstream config for this repository. description: Update a Python upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/PythonUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/PythonUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_python_partial_update summary: Partially update a Python upstream config for this repository. description: Partially update a Python upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/PythonUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/PythonUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_python_delete summary: Delete a Python upstream config for this repository. description: Delete a Python upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/rpm/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_rpm_list summary: List RedHat upstream configs for this repository. description: List RedHat upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/RpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_rpm_create summary: Create a RedHat upstream config for this repository. description: Create a RedHat upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RpmUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/RpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/rpm/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_rpm_read summary: Retrieve a RedHat upstream config for this repository. description: Retrieve a RedHat upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/RpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_rpm_update summary: Update a RedHat upstream config for this repository. description: Update a RedHat upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RpmUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/RpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_rpm_partial_update summary: Partially update a RedHat upstream config for this repository. description: Partially update a RedHat upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RpmUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/RpmUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_rpm_delete summary: Delete a RedHat upstream config for this repository. description: Delete a RedHat upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/ruby/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_ruby_list summary: List Ruby upstream configs for this repository. description: List Ruby upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/RubyUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_ruby_create summary: Create a Ruby upstream config for this repository. description: Create a Ruby upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RubyUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/RubyUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_ruby_read summary: Retrieve a Ruby upstream config for this repository. description: Retrieve a Ruby upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/RubyUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_ruby_update summary: Update a Ruby upstream config for this repository. description: Update a Ruby upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RubyUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/RubyUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_ruby_partial_update summary: Partially update a Ruby upstream config for this repository. description: Partially update a Ruby upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RubyUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/RubyUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_ruby_delete summary: Delete a Ruby upstream config for this repository. description: Delete a Ruby upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/swift/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_upstream_swift_list summary: List Swift upstream configs for this repository. description: List Swift upstream configs for this repository. parameters: - name: page in: query description: A page number within the paginated result set. required: false type: integer - name: page_size in: query description: Number of results to return per page. required: false type: integer responses: '200': description: OK schema: type: array items: $ref: '#/definitions/SwiftUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl post: operationId: repos_upstream_swift_create summary: Create a Swift upstream config for this repository. description: Create a Swift upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/SwiftUpstreamRequest' responses: '201': description: Created schema: $ref: '#/definitions/SwiftUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string - name: slug_perm in: path required: true type: string get: operationId: repos_upstream_swift_read summary: Retrieve a Swift upstream config for this repository. description: Retrieve a Swift upstream config for this repository. parameters: [] responses: '200': description: OK schema: $ref: '#/definitions/SwiftUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos x-simplified: fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl put: operationId: repos_upstream_swift_update summary: Update a Swift upstream config for this repository. description: Update a Swift upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/SwiftUpstreamRequest' responses: '200': description: OK schema: $ref: '#/definitions/SwiftUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repos_upstream_swift_partial_update summary: Partially update a Swift upstream config for this repository. description: Partially update a Swift upstream config for this repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/SwiftUpstreamRequestPatch' responses: '200': description: OK schema: $ref: '#/definitions/SwiftUpstream' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos delete: operationId: repos_upstream_swift_delete summary: Delete a Swift upstream config for this repository. description: Delete a Swift upstream config for this repository. parameters: [] responses: '204': description: No Content '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/x509-ecdsa/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_x509_ecdsa_list summary: Retrieve the active X.509 ECDSA certificate for the Repository. description: Retrieve the active X.509 ECDSA certificate for the Repository. parameters: [] responses: '200': description: Retrieved the active X.509 ECDSA Certificate. schema: $ref: '#/definitions/RepositoryX509EcdsaCertificate' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{identifier}/x509-rsa/: parameters: - name: owner in: path required: true type: string - name: identifier in: path required: true type: string get: operationId: repos_x509_rsa_list summary: Retrieve the active X.509 RSA certificate for the Repository. description: Retrieve the active X.509 RSA certificate for the Repository. parameters: [] responses: '200': description: Retrieved the active X.509 RSA Certificate. schema: $ref: '#/definitions/RepositoryX509RsaCertificate' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{repo}/retention/: parameters: - name: owner in: path required: true type: string - name: repo in: path required: true type: string get: operationId: repo_retention_read summary: Retrieve the retention rules for the repository. description: Retrieve the retention rules for the repository. parameters: [] responses: '200': description: Retrieved the retention rules for the repository. schema: $ref: '#/definitions/RepositoryRetentionRules' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos patch: operationId: repo_retention_partial_update summary: Update the retention rules for the repository. description: Update the retention rules for the repository. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryRetentionRulesRequestPatch' responses: '200': description: Updated the retention rules for the repository. schema: $ref: '#/definitions/RepositoryRetentionRules' '404': description: Owner namespace or repository not found schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos /repos/{owner}/{repo}/transfer-region/: parameters: - name: owner in: path required: true type: string - name: repo in: path required: true type: string post: operationId: repos_transfer_region summary: Transfer a repository to a different region. description: Transfer a repository to a different region. parameters: - name: data in: body required: false schema: $ref: '#/definitions/RepositoryTransferRegionRequest' responses: '200': description: Repository region transfer initiated. '404': description: Owner, namespace or repository not found. schema: $ref: '#/definitions/ErrorDetail' '402': description: Custom storage regions not available on plan; upgrade your account! schema: $ref: '#/definitions/ErrorDetail' '400': description: Request could not be processed (see detail). schema: $ref: '#/definitions/ErrorDetail' '422': description: Missing or invalid parameters (see detail). schema: $ref: '#/definitions/ErrorDetail' tags: - repos definitions: ErrorDetail: required: - detail type: object properties: detail: title: Detail description: An extended message for the response. type: string minLength: 1 fields: title: Fields description: 'A Dictionary of related errors where key: Field and value: Array of Errors related to that field' type: object additionalProperties: type: array items: type: string minLength: 1 ComposerUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryPrivilegeInput: required: - privileges type: object properties: privileges: description: List of objects with explicit privileges to the repository. type: array items: $ref: '#/definitions/RepositoryPrivilegeDict' NpmUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGpgKeyCreate: required: - gpg_private_key type: object properties: gpg_passphrase: title: Gpg passphrase description: The GPG passphrase used for signing. type: string minLength: 1 gpg_private_key: title: Gpg private key description: The GPG private key. type: string minLength: 1 HuggingfaceUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CranUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryRsaKey: type: object properties: active: title: Active description: If selected this is the active key for this repository. type: boolean readOnly: true created_at: title: Created at type: string format: date-time readOnly: true default: title: Default description: If selected this is the default key for this repository. type: boolean readOnly: true fingerprint: title: Fingerprint description: The long identifier used by RSA for this key. type: string readOnly: true minLength: 1 fingerprint_short: title: Fingerprint short type: string readOnly: true public_key: title: Public key description: The public key given to repository users. type: string readOnly: true minLength: 1 ssh_fingerprint: title: Ssh fingerprint description: The SSH fingerprint used by RSA for this key. type: string readOnly: true x-nullable: true RubyUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean MavenUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_fingerprint_short: title: Gpg key fingerprint short type: string readOnly: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy - Cache Only default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verification_status: title: Verification status description: The signature verification status for this upstream. type: string enum: - Unknown - Invalid - Valid - Invalid (No Key) readOnly: true default: Unknown verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryPrivilegeInputRequest: required: - privileges type: object properties: privileges: description: List of objects with explicit privileges to the repository. type: array items: $ref: '#/definitions/RepositoryPrivilegeDict' RepositoryPrivilegeDict: required: - privilege type: object properties: privilege: title: Privilege description: The level of privilege that the user or team should be granted to the specified repository. type: string enum: - Admin - Write - Read service: title: Service description: The service identifier (slug). type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ minLength: 1 team: title: Team description: The team identifier (slug). type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ minLength: 1 user: title: User description: The user identifier (slug). type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ minLength: 1 SwiftUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CargoUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGeoIpTestAddressResponse: required: - addresses type: object properties: addresses: description: The IP address test results ordered by allowed type: array items: $ref: '#/definitions/RepositoryGeoIpTestAddressResponseDict' PythonUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean GoUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RpmUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true distro_version: title: Distro version description: The distribution version that packages found on this upstream will be associated with. type: string extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All include_sources: title: Source Packages description: When checked, source packages will be available from this upstream. type: boolean is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DebUpstream: required: - distro_versions - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true component: title: Component description: The component to fetch from the upstream type: string maxLength: 64 minLength: 1 created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true distro_versions: description: The distribution version that packages found on this upstream could be associated with. type: array items: description: The distribution version that packages found on this upstream could be associated with. type: string uniqueItems: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_fingerprint_short: title: Gpg key fingerprint short type: string readOnly: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true include_sources: title: Source Packages description: When true, source packages will be available from this upstream. type: boolean index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_distribution: title: Upstream distribution description: The distribution to fetch from the upstream type: string maxLength: 64 minLength: 1 x-nullable: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verification_status: title: Verification status description: The signature verification status for this upstream. type: string enum: - Unknown - Invalid - Valid - Invalid (No Key) readOnly: true default: Unknown verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean HexUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RubyUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CranUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean HelmUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean AlpineUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 rsa_key_url: title: RSA Key URL description: When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. type: string format: uri maxLength: 254 x-nullable: true rsa_verification: title: Rsa verification description: The RSA signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryRequestPatch: type: object properties: broadcast_state: title: Broadcast state description: Broadcasting status of a repository. type: string enum: - 'Off' - Private - Internal - Public - Open-Source default: 'Off' content_kind: title: Content kind description: 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. type: string enum: - Standard - Distribution - Upstream default: Standard contextual_auth_realm: title: Contextual Authentication Realm? description: 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. type: boolean copy_own: title: Users Can Copy Own Packages description: 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. type: boolean copy_packages: title: Copy packages description: 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. type: string enum: - Admin - Write - Read default: Read cosign_signing_enabled: title: Cosign Signing Enabled? description: When enabled, all pushed (or pulled from upstream) OCI packages and artifacts will be signed using cosign with the repository's ECDSA key. This generates a distinct cosign signature artifact per artifact. type: boolean default_privilege: title: Default privilege description: 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. type: string enum: - Admin - Write - Read - None default: None delete_own: title: Users Can Delete Own Packages description: 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. type: boolean delete_packages: title: Delete packages description: 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. type: string enum: - Admin - Write default: Admin description: title: Description description: A description of the repository's purpose/contents. type: string distributes: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: array items: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ uniqueItems: true docker_refresh_tokens_enabled: title: Docker Auth Refresh Enabled? description: 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. type: boolean enforce_eula: title: Require EULA acceptance for downloads? description: If checked, downloads will explicitly require acceptance of an EULA. type: boolean generic_package_index_enabled: title: Serve index for generic packages? description: If checked, HTML indexes will be generated that list all available generic packages in the repository. type: boolean index_files: title: Index Files? description: 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. type: boolean is_public_hidden: title: Is Public Hidden? description: If checked, this repository will be hidden from the list of public broadcasts for the workspace. type: boolean manage_entitlements_privilege: title: Manage entitlements privilege description: This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. type: string enum: - Admin - Write - Read default: Admin move_own: title: Users Can Move Own Packages description: 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. type: boolean move_packages: title: Move packages description: 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. type: string enum: - Admin - Write - Read default: Admin name: title: Name description: A descriptive name for the repository. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 50 minLength: 1 nuget_native_signing_enabled: title: Nuget Native Signing Enabled? description: 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. type: boolean open_source_license: title: Open source license description: The SPDX identifier of the open source license. type: string x-nullable: true open_source_project_url: title: Open-Source Project URL description: The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. type: string format: uri maxLength: 200 x-nullable: true proxy_npmjs: title: Proxy Npm Packages? description: 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. type: boolean proxy_pypi: title: Proxy Python Packages? description: 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. type: boolean raw_package_index_enabled: title: Serve index for raw packages? description: If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. type: boolean raw_package_index_signatures_enabled: title: Display generated GPG signatures for the raw package index? description: If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. type: boolean replace_packages: title: Replace packages description: 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. type: string enum: - Admin - Write default: Write replace_packages_by_default: title: Replace packages by default description: 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. type: boolean repository_type_str: title: Repository type str description: 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. type: string enum: - Public - Private - Open-Source default: Public resync_own: title: Users Can Resync Own Packages description: 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. type: boolean resync_packages: title: Resync packages description: 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. type: string enum: - Admin - Write default: Admin scan_own: title: Users Can Scan Own Packages description: 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. type: boolean scan_packages: title: Scan packages description: 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. type: string enum: - Admin - Write - Read default: Read show_setup_all: title: Always show Set Me Up for all formats? description: 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. type: boolean slug: title: Slug description: The slug identifies the repository in URIs. type: string strict_npm_validation: title: Strict Npm Validation? description: If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. type: boolean tag_pre_releases_as_latest: title: Apply Latest Tag for Pre-Release Versions? description: 'If checked, packages pushed with a pre-release component on that version will be marked with the ''latest'' tag. Note that if unchecked, a repository containing ONLY pre-release versions, will have no version marked latest which may cause incompatibility with native tools ' type: boolean use_debian_labels: title: Use Debian Labels? description: 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-'; or 'source=none' if no token was used. You can use this to help with pinning. type: boolean use_default_cargo_upstream: title: Use crates.io as default Cargo upstream? description: 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. type: boolean use_entitlements_privilege: title: Use entitlements privilege description: This defines the minimum level of privilege required for a user to see/use entitlement tokens with private repositories. If a user does not have the permission, they will only be able to download packages using other credentials, such as email/password via basic authentication. Use this if you want to force users to only use their user-based token, which is tied to their access (if removed, they can't use it). type: string enum: - Admin - Write - Read default: Read use_noarch_packages: title: Use/Configure NoArch Packages? description: 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). type: boolean use_source_packages: title: Use/Configure Source Packages? description: If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. type: boolean use_vulnerability_scanning: title: Use Vulnerability Scanning? description: If checked, vulnerability scanning will be enabled for all supported packages within this repository. type: boolean user_entitlements_enabled: title: User Entitlements Enabled description: 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. type: boolean view_statistics: title: View statistics description: 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. type: string enum: - Admin - Write - Read default: Read ComposerUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean GoUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean AlpineUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 rsa_key_inline: title: RSA Public Key description: A base64-encoded RSA public key in PEM format used to verify package signatures. type: string readOnly: true x-nullable: true rsa_key_url: title: RSA Key URL description: When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. type: string format: uri maxLength: 254 x-nullable: true rsa_verification: title: Rsa verification description: The RSA signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All rsa_verification_status: title: Rsa verification status description: The RSA signature verification status for this upstream. type: string enum: - Unknown - Invalid - Valid - Invalid (No Key) readOnly: true default: Unknown slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGeoIpRulesRequestPatch: type: object properties: cidr: $ref: '#/definitions/RepositoryGeoIpCidr' country_code: $ref: '#/definitions/RepositoryGeoIpCountryCode' CranUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DartUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RpmUpstreamRequest: required: - distro_version - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true distro_version: title: Distro version description: The distribution version that packages found on this upstream will be associated with. type: string extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All include_sources: title: Source Packages description: When checked, source packages will be available from this upstream. type: boolean is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean Repository: required: - name type: object properties: broadcast_state: title: Broadcast state description: Broadcasting status of a repository. type: string enum: - 'Off' - Private - Internal - Public - Open-Source default: 'Off' cdn_url: title: Cdn url description: Base URL from which packages and other artifacts are downloaded. type: string readOnly: true x-nullable: true content_kind: title: Content kind description: 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. type: string enum: - Standard - Distribution - Upstream default: Standard contextual_auth_realm: title: Contextual Authentication Realm? description: 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. type: boolean copy_own: title: Users Can Copy Own Packages description: 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. type: boolean copy_packages: title: Copy packages description: 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. type: string enum: - Admin - Write - Read default: Read cosign_signing_enabled: title: Cosign Signing Enabled? description: When enabled, all pushed (or pulled from upstream) OCI packages and artifacts will be signed using cosign with the repository's ECDSA key. This generates a distinct cosign signature artifact per artifact. type: boolean created_at: title: Created at type: string format: date-time readOnly: true default_privilege: title: Default privilege description: 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. type: string enum: - Admin - Write - Read - None default: None delete_own: title: Users Can Delete Own Packages description: 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. type: boolean delete_packages: title: Delete packages description: 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. type: string enum: - Admin - Write default: Admin deleted_at: title: Deleted at description: The datetime the repository was manually deleted at. type: string format: date-time readOnly: true x-nullable: true description: title: Description description: A description of the repository's purpose/contents. type: string distributes: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: array items: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ uniqueItems: true docker_refresh_tokens_enabled: title: Docker Auth Refresh Enabled? description: 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. type: boolean ecdsa_keys: type: array items: $ref: '#/definitions/RepositoryEcdsaKey' readOnly: true enforce_eula: title: Require EULA acceptance for downloads? description: If checked, downloads will explicitly require acceptance of an EULA. type: boolean generic_package_index_enabled: title: Serve index for generic packages? description: If checked, HTML indexes will be generated that list all available generic packages in the repository. type: boolean gpg_keys: type: array items: $ref: '#/definitions/RepositoryGpgKey' readOnly: true index_files: title: Index Files? description: 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. type: boolean is_open_source: title: Is open source type: boolean readOnly: true is_private: title: Is private type: boolean readOnly: true is_public: title: Is public type: boolean readOnly: true is_public_hidden: title: Is Public Hidden? description: If checked, this repository will be hidden from the list of public broadcasts for the workspace. type: boolean manage_entitlements_privilege: title: Manage entitlements privilege description: This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. type: string enum: - Admin - Write - Read default: Admin move_own: title: Users Can Move Own Packages description: 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. type: boolean move_packages: title: Move packages description: 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. type: string enum: - Admin - Write - Read default: Admin name: title: Name description: A descriptive name for the repository. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 50 minLength: 1 namespace: title: Namespace description: Namespace to which this repository belongs. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true namespace_url: title: Namespace url description: API endpoint where data about this namespace can be retrieved. type: string format: uri readOnly: true nuget_native_signing_enabled: title: Nuget Native Signing Enabled? description: 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. type: boolean num_downloads: title: Num downloads description: The number of downloads for packages in the repository. type: integer readOnly: true num_policy_violated_packages: title: Num policy violated packages description: Number of packages with policy violations in a repository. type: integer readOnly: true num_quarantined_packages: title: Num quarantined packages description: Number of quarantined packages in a repository. type: integer readOnly: true open_source_license: title: Open source license description: The SPDX identifier of the open source license. type: string x-nullable: true open_source_project_url: title: Open-Source Project URL description: The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. type: string format: uri maxLength: 200 x-nullable: true package_count: title: Package count description: The number of packages in the repository. type: integer readOnly: true package_count_excl_subcomponents: title: Package count excl subcomponents description: The number of packages in the repository excluding subcomponents. type: integer readOnly: true package_group_count: title: Package group count description: The number of groups in the repository. type: integer readOnly: true proxy_npmjs: title: Proxy Npm Packages? description: 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. type: boolean proxy_pypi: title: Proxy Python Packages? description: 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. type: boolean raw_package_index_enabled: title: Serve index for raw packages? description: If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. type: boolean raw_package_index_signatures_enabled: title: Display generated GPG signatures for the raw package index? description: If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. type: boolean replace_packages: title: Replace packages description: 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. type: string enum: - Admin - Write default: Write replace_packages_by_default: title: Replace packages by default description: 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. type: boolean repository_type: title: Repository Type description: The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized 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. type: integer enum: - 1 - 2 - 3 readOnly: true repository_type_str: title: Repository type str description: 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. type: string enum: - Public - Private - Open-Source default: Public resync_own: title: Users Can Resync Own Packages description: 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. type: boolean resync_packages: title: Resync packages description: 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. type: string enum: - Admin - Write default: Admin scan_own: title: Users Can Scan Own Packages description: 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. type: boolean scan_packages: title: Scan packages description: 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. type: string enum: - Admin - Write - Read default: Read self_html_url: title: Self html url description: Website URL for this repository. type: string readOnly: true minLength: 1 self_url: title: Self url description: API endpoint where data about this repository can be retrieved. type: string format: uri readOnly: true self_webapp_url: title: Self webapp url description: Webapp URL for this repository. type: string readOnly: true minLength: 1 show_setup_all: title: Always show Set Me Up for all formats? description: 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. type: boolean size: title: Size description: The calculated size of the repository. type: integer readOnly: true size_str: title: Size str description: The calculated size of the repository (human readable). type: string readOnly: true slug: title: Slug description: The slug identifies the repository in URIs. type: string slug_perm: title: Slug perm description: The slug_perm immutably identifies the repository. It will never change once a repository has been created. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 storage_region: title: Storage region description: The Cloudsmith region in which package files are stored. type: string readOnly: true default: default strict_npm_validation: title: Strict Npm Validation? description: If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. type: boolean tag_pre_releases_as_latest: title: Apply Latest Tag for Pre-Release Versions? description: 'If checked, packages pushed with a pre-release component on that version will be marked with the ''latest'' tag. Note that if unchecked, a repository containing ONLY pre-release versions, will have no version marked latest which may cause incompatibility with native tools ' type: boolean use_debian_labels: title: Use Debian Labels? description: 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-'; or 'source=none' if no token was used. You can use this to help with pinning. type: boolean use_default_cargo_upstream: title: Use crates.io as default Cargo upstream? description: 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. type: boolean use_entitlements_privilege: title: Use entitlements privilege description: This defines the minimum level of privilege required for a user to see/use entitlement tokens with private repositories. If a user does not have the permission, they will only be able to download packages using other credentials, such as email/password via basic authentication. Use this if you want to force users to only use their user-based token, which is tied to their access (if removed, they can't use it). type: string enum: - Admin - Write - Read default: Read use_noarch_packages: title: Use/Configure NoArch Packages? description: 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). type: boolean use_source_packages: title: Use/Configure Source Packages? description: If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. type: boolean use_vulnerability_scanning: title: Use Vulnerability Scanning? description: If checked, vulnerability scanning will be enabled for all supported packages within this repository. type: boolean user_entitlements_enabled: title: User Entitlements Enabled description: 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. type: boolean view_statistics: title: View statistics description: 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. type: string enum: - Admin - Write - Read default: Read GenericUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_prefix: title: Upstream prefix description: A unique prefix used to distinguish this upstream source within the repository. Generic upstreams can represent entirely different file servers, and we do not attempt to blend them. The prefix ensures each source remains separate, and requests including this prefix are routed to the correct upstream. type: string maxLength: 64 minLength: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean NugetUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CondaUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean AlpineUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 rsa_key_url: title: RSA Key URL description: When provided, Cloudsmith will fetch and validate the RSA public key at this URL and use it to verify package signatures from this upstream. type: string format: uri maxLength: 254 x-nullable: true rsa_verification: title: Rsa verification description: The RSA signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryCreate: required: - name type: object properties: broadcast_state: title: Broadcast state description: Broadcasting status of a repository. type: string enum: - 'Off' - Private - Internal - Public - Open-Source default: 'Off' cdn_url: title: Cdn url description: Base URL from which packages and other artifacts are downloaded. type: string readOnly: true x-nullable: true content_kind: title: Content kind description: 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. type: string enum: - Standard - Distribution - Upstream default: Standard contextual_auth_realm: title: Contextual Authentication Realm? description: 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. type: boolean copy_own: title: Users Can Copy Own Packages description: 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. type: boolean copy_packages: title: Copy packages description: 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. type: string enum: - Admin - Write - Read default: Read cosign_signing_enabled: title: Cosign Signing Enabled? description: When enabled, all pushed (or pulled from upstream) OCI packages and artifacts will be signed using cosign with the repository's ECDSA key. This generates a distinct cosign signature artifact per artifact. type: boolean created_at: title: Created at type: string format: date-time readOnly: true default_privilege: title: Default privilege description: 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. type: string enum: - Admin - Write - Read - None default: None delete_own: title: Users Can Delete Own Packages description: 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. type: boolean delete_packages: title: Delete packages description: 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. type: string enum: - Admin - Write default: Admin deleted_at: title: Deleted at description: The datetime the repository was manually deleted at. type: string format: date-time readOnly: true x-nullable: true description: title: Description description: A description of the repository's purpose/contents. type: string distributes: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: array items: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ uniqueItems: true docker_refresh_tokens_enabled: title: Docker Auth Refresh Enabled? description: 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. type: boolean ecdsa_keys: type: array items: $ref: '#/definitions/RepositoryEcdsaKey' readOnly: true enforce_eula: title: Require EULA acceptance for downloads? description: If checked, downloads will explicitly require acceptance of an EULA. type: boolean generic_package_index_enabled: title: Serve index for generic packages? description: If checked, HTML indexes will be generated that list all available generic packages in the repository. type: boolean gpg_keys: type: array items: $ref: '#/definitions/RepositoryGpgKey' readOnly: true index_files: title: Index Files? description: 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. type: boolean is_open_source: title: Is open source type: boolean readOnly: true is_private: title: Is private type: boolean readOnly: true is_public: title: Is public type: boolean readOnly: true is_public_hidden: title: Is Public Hidden? description: If checked, this repository will be hidden from the list of public broadcasts for the workspace. type: boolean manage_entitlements_privilege: title: Manage entitlements privilege description: This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. type: string enum: - Admin - Write - Read default: Admin move_own: title: Users Can Move Own Packages description: 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. type: boolean move_packages: title: Move packages description: 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. type: string enum: - Admin - Write - Read default: Admin name: title: Name description: A descriptive name for the repository. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 50 minLength: 1 namespace: title: Namespace description: Namespace to which this repository belongs. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true namespace_url: title: Namespace url description: API endpoint where data about this namespace can be retrieved. type: string format: uri readOnly: true nuget_native_signing_enabled: title: Nuget Native Signing Enabled? description: 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. type: boolean num_downloads: title: Num downloads description: The number of downloads for packages in the repository. type: integer readOnly: true num_policy_violated_packages: title: Num policy violated packages description: Number of packages with policy violations in a repository. type: integer readOnly: true num_quarantined_packages: title: Num quarantined packages description: Number of quarantined packages in a repository. type: integer readOnly: true open_source_license: title: Open source license description: The SPDX identifier of the open source license. type: string x-nullable: true open_source_project_url: title: Open-Source Project URL description: The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. type: string format: uri maxLength: 200 x-nullable: true package_count: title: Package count description: The number of packages in the repository. type: integer readOnly: true package_count_excl_subcomponents: title: Package count excl subcomponents description: The number of packages in the repository excluding subcomponents. type: integer readOnly: true package_group_count: title: Package group count description: The number of groups in the repository. type: integer readOnly: true proxy_npmjs: title: Proxy Npm Packages? description: 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. type: boolean proxy_pypi: title: Proxy Python Packages? description: 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. type: boolean raw_package_index_enabled: title: Serve index for raw packages? description: If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. type: boolean raw_package_index_signatures_enabled: title: Display generated GPG signatures for the raw package index? description: If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. type: boolean replace_packages: title: Replace packages description: 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. type: string enum: - Admin - Write default: Write replace_packages_by_default: title: Replace packages by default description: 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. type: boolean repository_type: title: Repository Type description: The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized 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. type: integer enum: - 1 - 2 - 3 readOnly: true repository_type_str: title: Repository type str description: 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. type: string enum: - Public - Private - Open-Source default: Public resync_own: title: Users Can Resync Own Packages description: 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. type: boolean resync_packages: title: Resync packages description: 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. type: string enum: - Admin - Write default: Admin scan_own: title: Users Can Scan Own Packages description: 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. type: boolean scan_packages: title: Scan packages description: 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. type: string enum: - Admin - Write - Read default: Read self_html_url: title: Self html url description: Website URL for this repository. type: string readOnly: true minLength: 1 self_url: title: Self url description: API endpoint where data about this repository can be retrieved. type: string format: uri readOnly: true self_webapp_url: title: Self webapp url description: Webapp URL for this repository. type: string readOnly: true minLength: 1 show_setup_all: title: Always show Set Me Up for all formats? description: 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. type: boolean size: title: Size description: The calculated size of the repository. type: integer readOnly: true size_str: title: Size str description: The calculated size of the repository (human readable). type: string readOnly: true slug: title: Slug description: The slug identifies the repository in URIs. type: string slug_perm: title: Slug perm description: The slug_perm immutably identifies the repository. It will never change once a repository has been created. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 storage_region: title: Storage region description: The Cloudsmith region in which package files are stored. type: string default: default strict_npm_validation: title: Strict Npm Validation? description: If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. type: boolean tag_pre_releases_as_latest: title: Apply Latest Tag for Pre-Release Versions? description: 'If checked, packages pushed with a pre-release component on that version will be marked with the ''latest'' tag. Note that if unchecked, a repository containing ONLY pre-release versions, will have no version marked latest which may cause incompatibility with native tools ' type: boolean use_debian_labels: title: Use Debian Labels? description: 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-'; or 'source=none' if no token was used. You can use this to help with pinning. type: boolean use_default_cargo_upstream: title: Use crates.io as default Cargo upstream? description: 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. type: boolean use_entitlements_privilege: title: Use entitlements privilege description: This defines the minimum level of privilege required for a user to see/use entitlement tokens with private repositories. If a user does not have the permission, they will only be able to download packages using other credentials, such as email/password via basic authentication. Use this if you want to force users to only use their user-based token, which is tied to their access (if removed, they can't use it). type: string enum: - Admin - Write - Read default: Read use_noarch_packages: title: Use/Configure NoArch Packages? description: 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). type: boolean use_source_packages: title: Use/Configure Source Packages? description: If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. type: boolean use_vulnerability_scanning: title: Use Vulnerability Scanning? description: If checked, vulnerability scanning will be enabled for all supported packages within this repository. type: boolean user_entitlements_enabled: title: User Entitlements Enabled description: 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. type: boolean view_statistics: title: View statistics description: 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. type: string enum: - Admin - Write - Read default: Read RepositoryEcdsaKeyCreate: required: - ecdsa_private_key type: object properties: ecdsa_passphrase: title: Ecdsa passphrase description: The ECDSA passphrase used for signing. type: string minLength: 1 ecdsa_private_key: title: Ecdsa private key description: The ECDSA private key. type: string minLength: 1 HexUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean NpmUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean SwiftUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RespositoryGeoIpEnableDisableRequest: type: object properties: {} RepositoryGeoIpTestAddressResponseDict: required: - allowed - country_code - ip_address - reason type: object properties: allowed: title: Allowed description: The result of the IP test type: boolean country_code: title: Country code description: The country code of the tested IP address type: string minLength: 1 x-nullable: true ip_address: title: Ip address description: The IP address that was tested type: string minLength: 1 reason: title: Reason description: The reason for the result type: string minLength: 1 DartUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DockerUpstreamRequestPatch: type: object properties: auth_certificate: title: Auth certificate description: X.509 Certificate to use for mTLS authentication against the upstream type: string minLength: 1 auth_certificate_key: title: Auth certificate key description: Certificate key to use for mTLS authentication against the upstream type: string minLength: 1 auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Certificate and Key default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryEcdsaKey: type: object properties: active: title: Active description: If selected this is the active key for this repository. type: boolean readOnly: true created_at: title: Created at type: string format: date-time readOnly: true default: title: Default description: If selected this is the default key for this repository. type: boolean readOnly: true fingerprint: title: Fingerprint description: The long identifier used by ECDSA for this key. type: string readOnly: true minLength: 1 fingerprint_short: title: Fingerprint short type: string readOnly: true public_key: title: Public key description: The public key given to repository users. type: string readOnly: true minLength: 1 ssh_fingerprint: title: Ssh fingerprint description: The SSH fingerprint used by ECDSA for this key. type: string readOnly: true x-nullable: true RepositoryGeoIpCountryCode: required: - allow - deny type: object properties: allow: description: The allowed country codes for this repository type: array items: description: The allowed country codes for this repository type: string uniqueItems: true deny: description: The denied country codes for this repository type: array items: description: The denied country codes for this repository type: string uniqueItems: true CondaUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean SwiftUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean PythonUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryTransferRegionRequest: type: object properties: storage_region: title: Storage region description: The Cloudsmith region in which package files are stored. type: string default: default RepositoryCreateRequest: required: - name type: object properties: broadcast_state: title: Broadcast state description: Broadcasting status of a repository. type: string enum: - 'Off' - Private - Internal - Public - Open-Source default: 'Off' content_kind: title: Content kind description: 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. type: string enum: - Standard - Distribution - Upstream default: Standard contextual_auth_realm: title: Contextual Authentication Realm? description: 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. type: boolean copy_own: title: Users Can Copy Own Packages description: 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. type: boolean copy_packages: title: Copy packages description: 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. type: string enum: - Admin - Write - Read default: Read cosign_signing_enabled: title: Cosign Signing Enabled? description: When enabled, all pushed (or pulled from upstream) OCI packages and artifacts will be signed using cosign with the repository's ECDSA key. This generates a distinct cosign signature artifact per artifact. type: boolean default_privilege: title: Default privilege description: 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. type: string enum: - Admin - Write - Read - None default: None delete_own: title: Users Can Delete Own Packages description: 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. type: boolean delete_packages: title: Delete packages description: 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. type: string enum: - Admin - Write default: Admin description: title: Description description: A description of the repository's purpose/contents. type: string distributes: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: array items: description: The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ uniqueItems: true docker_refresh_tokens_enabled: title: Docker Auth Refresh Enabled? description: 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. type: boolean enforce_eula: title: Require EULA acceptance for downloads? description: If checked, downloads will explicitly require acceptance of an EULA. type: boolean generic_package_index_enabled: title: Serve index for generic packages? description: If checked, HTML indexes will be generated that list all available generic packages in the repository. type: boolean index_files: title: Index Files? description: 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. type: boolean is_public_hidden: title: Is Public Hidden? description: If checked, this repository will be hidden from the list of public broadcasts for the workspace. type: boolean manage_entitlements_privilege: title: Manage entitlements privilege description: This defines the minimum level of privilege required for a user to manage entitlement tokens with private repositories. Management is the ability to create, alter, enable, disable or delete all tokens without a repository. type: string enum: - Admin - Write - Read default: Admin move_own: title: Users Can Move Own Packages description: 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. type: boolean move_packages: title: Move packages description: 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. type: string enum: - Admin - Write - Read default: Admin name: title: Name description: A descriptive name for the repository. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 50 minLength: 1 nuget_native_signing_enabled: title: Nuget Native Signing Enabled? description: 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. type: boolean open_source_license: title: Open source license description: The SPDX identifier of the open source license. type: string x-nullable: true open_source_project_url: title: Open-Source Project URL description: The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. type: string format: uri maxLength: 200 x-nullable: true proxy_npmjs: title: Proxy Npm Packages? description: 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. type: boolean proxy_pypi: title: Proxy Python Packages? description: 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. type: boolean raw_package_index_enabled: title: Serve index for raw packages? description: If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. type: boolean raw_package_index_signatures_enabled: title: Display generated GPG signatures for the raw package index? description: If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. type: boolean replace_packages: title: Replace packages description: 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. type: string enum: - Admin - Write default: Write replace_packages_by_default: title: Replace packages by default description: 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. type: boolean repository_type_str: title: Repository type str description: 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. type: string enum: - Public - Private - Open-Source default: Public resync_own: title: Users Can Resync Own Packages description: 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. type: boolean resync_packages: title: Resync packages description: 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. type: string enum: - Admin - Write default: Admin scan_own: title: Users Can Scan Own Packages description: 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. type: boolean scan_packages: title: Scan packages description: 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. type: string enum: - Admin - Write - Read default: Read show_setup_all: title: Always show Set Me Up for all formats? description: 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. type: boolean slug: title: Slug description: The slug identifies the repository in URIs. type: string storage_region: title: Storage region description: The Cloudsmith region in which package files are stored. type: string default: default strict_npm_validation: title: Strict Npm Validation? description: If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. type: boolean tag_pre_releases_as_latest: title: Apply Latest Tag for Pre-Release Versions? description: 'If checked, packages pushed with a pre-release component on that version will be marked with the ''latest'' tag. Note that if unchecked, a repository containing ONLY pre-release versions, will have no version marked latest which may cause incompatibility with native tools ' type: boolean use_debian_labels: title: Use Debian Labels? description: 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-'; or 'source=none' if no token was used. You can use this to help with pinning. type: boolean use_default_cargo_upstream: title: Use crates.io as default Cargo upstream? description: 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. type: boolean use_entitlements_privilege: title: Use entitlements privilege description: This defines the minimum level of privilege required for a user to see/use entitlement tokens with private repositories. If a user does not have the permission, they will only be able to download packages using other credentials, such as email/password via basic authentication. Use this if you want to force users to only use their user-based token, which is tied to their access (if removed, they can't use it). type: string enum: - Admin - Write - Read default: Read use_noarch_packages: title: Use/Configure NoArch Packages? description: 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). type: boolean use_source_packages: title: Use/Configure Source Packages? description: If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. type: boolean use_vulnerability_scanning: title: Use Vulnerability Scanning? description: If checked, vulnerability scanning will be enabled for all supported packages within this repository. type: boolean user_entitlements_enabled: title: User Entitlements Enabled description: 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. type: boolean view_statistics: title: View statistics description: 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. type: string enum: - Admin - Write - Read default: Read HelmUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGeoIpRules: required: - cidr - country_code type: object properties: cidr: $ref: '#/definitions/RepositoryGeoIpCidr' country_code: $ref: '#/definitions/RepositoryGeoIpCountryCode' NugetUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean HuggingfaceUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryX509RsaCertificate: type: object properties: active: title: Active description: If selected this is the active key for this repository. type: boolean readOnly: true certificate: title: Certificate description: The issued certificate. type: string readOnly: true x-nullable: true certificate_chain: title: Certificate chain description: Base64 encoded CA certificate chain. type: string readOnly: true x-nullable: true certificate_chain_fingerprint: title: Certificate chain fingerprint type: string readOnly: true certificate_chain_fingerprint_short: title: Certificate chain fingerprint short type: string readOnly: true certificate_fingerprint: title: Certificate fingerprint description: The SHA-256 long identifier used type: string readOnly: true x-nullable: true certificate_fingerprint_short: title: Certificate fingerprint short type: string readOnly: true created_at: title: Created at type: string format: date-time readOnly: true default: title: Default description: If selected this is the default key for this repository. type: boolean readOnly: true issuing_status: title: Issuing status type: string enum: - Certificate is pending to be issued - Certificate successfully issued - Error issuing certificate default: Certificate is pending to be issued MavenUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy - Cache Only default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryRsaKeyCreate: required: - rsa_private_key type: object properties: rsa_passphrase: title: Rsa passphrase description: The RSA passphrase used for signing. type: string minLength: 1 rsa_private_key: title: Rsa private key description: The RSA private key. type: string minLength: 1 ComposerUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean GoUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DebUpstreamRequest: required: - distro_versions - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true component: title: Component description: The component to fetch from the upstream type: string maxLength: 64 minLength: 1 distro_versions: description: The distribution version that packages found on this upstream could be associated with. type: array items: description: The distribution version that packages found on this upstream could be associated with. type: string uniqueItems: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All include_sources: title: Source Packages description: When true, source packages will be available from this upstream. type: boolean is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_distribution: title: Upstream distribution description: The distribution to fetch from the upstream type: string maxLength: 64 minLength: 1 x-nullable: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean PythonUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryPrivilegeInputRequestPatch: type: object properties: privileges: description: List of objects with explicit privileges to the repository. type: array items: $ref: '#/definitions/RepositoryPrivilegeDict' CondaUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGeoIpTestAddress: required: - addresses type: object properties: addresses: description: The IP addresses to test against this repository type: array items: type: string minLength: 1 NugetUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryX509EcdsaCertificate: type: object properties: active: title: Active description: If selected this is the active key for this repository. type: boolean readOnly: true certificate: title: Certificate description: The issued certificate. type: string readOnly: true x-nullable: true certificate_chain: title: Certificate chain description: Base64 encoded CA certificate chain. type: string readOnly: true x-nullable: true certificate_chain_fingerprint: title: Certificate chain fingerprint type: string readOnly: true certificate_chain_fingerprint_short: title: Certificate chain fingerprint short type: string readOnly: true certificate_fingerprint: title: Certificate fingerprint description: The SHA-256 long identifier used type: string readOnly: true x-nullable: true certificate_fingerprint_short: title: Certificate fingerprint short type: string readOnly: true created_at: title: Created at type: string format: date-time readOnly: true default: title: Default description: If selected this is the default key for this repository. type: boolean readOnly: true issuing_status: title: Issuing status type: string enum: - Certificate is pending to be issued - Certificate successfully issued - Error issuing certificate default: Certificate is pending to be issued RubyUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGeoIpCidr: required: - allow - deny type: object properties: allow: description: The allowed CIDRs for this repository type: array items: description: The allowed CIDRs for this repository type: string uniqueItems: true deny: description: The denied CIDRs for this repository type: array items: description: The denied CIDRs for this repository type: string uniqueItems: true NpmUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean HelmUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DockerUpstreamRequest: required: - name - upstream_url type: object properties: auth_certificate: title: Auth certificate description: X.509 Certificate to use for mTLS authentication against the upstream type: string minLength: 1 auth_certificate_key: title: Auth certificate key description: Certificate key to use for mTLS authentication against the upstream type: string minLength: 1 auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Certificate and Key default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryGpgKey: required: - comment type: object properties: active: title: Active description: If selected this is the active key for this repository. type: boolean readOnly: true comment: title: Comment type: string minLength: 1 created_at: title: Created at type: string format: date-time readOnly: true default: title: Default description: If selected this is the default key for this repository. type: boolean readOnly: true fingerprint: title: Fingerprint description: The long identifier used by GPG for this key. type: string readOnly: true minLength: 1 fingerprint_short: title: Fingerprint short type: string readOnly: true public_key: title: Public key description: The public key given to repository users. type: string readOnly: true minLength: 1 HuggingfaceUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean GenericUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_prefix: title: Upstream prefix description: A unique prefix used to distinguish this upstream source within the repository. Generic upstreams can represent entirely different file servers, and we do not attempt to blend them. The prefix ensures each source remains separate, and requests including this prefix are routed to the correct upstream. type: string maxLength: 64 minLength: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DebUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true component: title: Component description: The component to fetch from the upstream type: string maxLength: 64 minLength: 1 distro_versions: description: The distribution version that packages found on this upstream could be associated with. type: array items: description: The distribution version that packages found on this upstream could be associated with. type: string uniqueItems: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All include_sources: title: Source Packages description: When true, source packages will be available from this upstream. type: boolean is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_distribution: title: Upstream distribution description: The distribution to fetch from the upstream type: string maxLength: 64 minLength: 1 x-nullable: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DartUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean MavenUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy - Cache Only default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 trust_level: title: Trust level description: Trust level allows for control of the visibility of upstream artifacts to native package managers. Where supported by formats, the default level (untrusted) is recommended for all upstreams, and helps to safeguard against common dependency confusion attack vectors. type: string enum: - Trusted - Untrusted default: Trusted upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RepositoryRetentionRulesRequestPatch: type: object properties: retention_count_limit: title: Retention count limit description: The maximum X number of packages to retain. type: integer maximum: 10000 minimum: 0 retention_days_limit: title: Retention days limit description: The X number of days of packages to retain. type: integer maximum: 180 minimum: 0 retention_enabled: title: Retention Enabled? description: If checked, the retention lifecycle rules will be activated for the repository. Any packages that don't match will be deleted automatically, and the rest are retained. type: boolean retention_group_by_format: title: Retention group by format description: If checked, retention will apply to packages by package formats rather than across all package formats.For example, when retaining by a limit of 1 and you upload PythonPkg 1.0 and RubyPkg 1.0, no packages are deleted because they are different formats. type: boolean retention_group_by_name: title: Retention Group By Name? description: If checked, retention will apply to groups of packages by name rather than all packages.
For example, when retaining by a limit of 1 and you upload PkgA 1.0, PkgB 1.0 and PkgB 1.1; only PkgB 1.0 is deleted because there are two (2) PkgBs and one (1) PkgA. type: boolean retention_group_by_package_type: title: Retention Group By Package Type? description: If checked, retention will apply to packages by package type (e.g. by binary, by source, etc.), rather than across all package types for one or more formats.
For example, when retaining by a limit of 1 and you upload DebPackage 1.0 and DebSourcePackage 1.0, no packages are deleted because they are different package types, binary and source respectively. type: boolean retention_package_query_string: title: Retention package query string description: A package search expression which, if provided, filters the packages to be deleted.
For example, a search expression of `name:foo` will result in only packages called 'foo' being deleted, or a search expression of `tag:~latest` will prevent any packages tagged 'latest' from being deleted.
Refer to the Cloudsmith documentation for package query syntax. type: string x-nullable: true retention_size_limit: title: Retention size limit description: The maximum X total size (in bytes) of packages to retain. type: integer maximum: 21474836480 minimum: 0 RepositoryGeoIpRulesRequest: required: - cidr - country_code type: object properties: cidr: $ref: '#/definitions/RepositoryGeoIpCidr' country_code: $ref: '#/definitions/RepositoryGeoIpCountryCode' RepositoryGeoIpStatus: type: object properties: geoip_enabled: title: Geo/IP Restriction Enabled? description: If checked, any access to the website or downloads for this repository is allowed/denied according to the configured Geo/IP restriction rules. type: boolean readOnly: true RepositoryRetentionRules: type: object properties: retention_count_limit: title: Retention count limit description: The maximum X number of packages to retain. type: integer maximum: 10000 minimum: 0 retention_days_limit: title: Retention days limit description: The X number of days of packages to retain. type: integer maximum: 180 minimum: 0 retention_enabled: title: Retention Enabled? description: If checked, the retention lifecycle rules will be activated for the repository. Any packages that don't match will be deleted automatically, and the rest are retained. type: boolean retention_group_by_format: title: Retention group by format description: If checked, retention will apply to packages by package formats rather than across all package formats.For example, when retaining by a limit of 1 and you upload PythonPkg 1.0 and RubyPkg 1.0, no packages are deleted because they are different formats. type: boolean retention_group_by_name: title: Retention Group By Name? description: If checked, retention will apply to groups of packages by name rather than all packages.
For example, when retaining by a limit of 1 and you upload PkgA 1.0, PkgB 1.0 and PkgB 1.1; only PkgB 1.0 is deleted because there are two (2) PkgBs and one (1) PkgA. type: boolean retention_group_by_package_type: title: Retention Group By Package Type? description: If checked, retention will apply to packages by package type (e.g. by binary, by source, etc.), rather than across all package types for one or more formats.
For example, when retaining by a limit of 1 and you upload DebPackage 1.0 and DebSourcePackage 1.0, no packages are deleted because they are different package types, binary and source respectively. type: boolean retention_package_query_string: title: Retention package query string description: A package search expression which, if provided, filters the packages to be deleted.
For example, a search expression of `name:foo` will result in only packages called 'foo' being deleted, or a search expression of `tag:~latest` will prevent any packages tagged 'latest' from being deleted.
Refer to the Cloudsmith documentation for package query syntax. type: string x-nullable: true retention_size_limit: title: Retention size limit description: The maximum X total size (in bytes) of packages to retain. type: integer maximum: 21474836480 minimum: 0 GenericUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Token default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_prefix: title: Upstream prefix description: A unique prefix used to distinguish this upstream source within the repository. Generic upstreams can represent entirely different file servers, and we do not attempt to blend them. The prefix ensures each source remains separate, and requests including this prefix are routed to the correct upstream. type: string maxLength: 64 minLength: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CargoUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean DockerUpstream: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password - Certificate and Key default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean RpmUpstream: required: - distro_version - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true available: title: Available description: Whether the upstream is available for use. type: boolean readOnly: true can_reindex: title: Can reindex description: Whether the upstream can be reindexed. type: boolean readOnly: true created_at: title: Created at description: The datetime the upstream source was created. type: string format: date-time readOnly: true disable_reason: title: Disable reason type: string enum: - N/A - Upstream points to its own repository - Missing upstream source - RSA key did not verify the upstream's APKINDEX signature - Upstream was disabled by request of user readOnly: true default: N/A disable_reason_text: title: Disable reason text description: Human-readable explanation of why this upstream is disabled type: string readOnly: true distro_version: title: Distro version description: The distribution version that packages found on this upstream will be associated with. type: string extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true gpg_key_fingerprint_short: title: Gpg key fingerprint short type: string readOnly: true gpg_key_inline: title: GPG Key description: A public GPG key to associate with packages found on this upstream. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string x-nullable: true gpg_key_url: title: GPG Key URL description: When provided, Cloudsmith will fetch, validate, and associate a public GPG key found at the provided URL. When using the Cloudsmith setup script, this GPG key will be automatically imported on your deployment machines to allow upstream packages to validate and install. type: string format: uri maxLength: 254 x-nullable: true gpg_verification: title: Gpg verification description: The GPG signature verification mode for this upstream. type: string enum: - Allow All - Warn on Invalid - Reject Invalid default: Allow All has_failed_signature_verification: title: Has failed signature verification description: Whether the upstream has failed signature verification. type: boolean readOnly: true include_sources: title: Source Packages description: When checked, source packages will be available from this upstream. type: boolean index_package_count: title: Index package count description: The number of packages available in this upstream source type: integer readOnly: true x-nullable: true index_status: title: Index status description: The current indexing status of this upstream source type: string readOnly: true x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean last_indexed: title: Last indexed description: The last time this upstream source was indexed type: string readOnly: true mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 pending_validation: title: Pending validation description: When true, this upstream source is pending validation. type: boolean readOnly: true priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 slug_perm: title: Slug perm type: string format: slug pattern: ^[-a-zA-Z0-9_]+$ readOnly: true minLength: 1 updated_at: title: Updated at type: string format: date-time readOnly: true upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verification_status: title: Verification status description: The signature verification status for this upstream. type: string enum: - Unknown - Invalid - Valid - Invalid (No Key) readOnly: true default: Unknown verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean HexUpstreamRequestPatch: type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean CargoUpstreamRequest: required: - name - upstream_url type: object properties: auth_mode: title: Auth mode description: 'The authentication mode to use when accessing this upstream. ' type: string enum: - None - Username and Password default: None auth_secret: title: Secret description: Secret to provide with requests to upstream. type: string maxLength: 4096 x-nullable: true auth_username: title: Username description: Username to provide with requests to upstream. type: string maxLength: 64 x-nullable: true extra_header_1: title: 'Header #1' description: 'The key for extra header #1 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_header_2: title: 'Header #2' description: 'The key for extra header #2 to send to upstream.' type: string pattern: ^[-\w]+$ maxLength: 64 x-nullable: true extra_value_1: title: 'Value #1' description: 'The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true extra_value_2: title: 'Value #2' description: 'The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted.' type: string pattern: ^[^\n\r]+$ maxLength: 128 x-nullable: true is_active: title: Is active description: Whether or not this upstream is active and ready for requests. type: boolean mode: title: Mode description: The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. type: string enum: - Proxy Only - Cache and Proxy default: Proxy Only name: title: Name description: A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. type: string pattern: ^\w[\w \-'\.\/()]+$ maxLength: 64 minLength: 1 priority: title: Priority description: Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. type: integer maximum: 32767 minimum: 1 upstream_url: title: Upstream URL description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' type: string format: uri maxLength: 200 minLength: 1 verify_ssl: title: Verify SSL Certificates description: If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. type: boolean securityDefinitions: apikey: type: apiKey name: X-Api-Key in: header basic: type: basic