cloudsmith-api 2.0.26 → 2.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +24 -5
- data/build.json +1 -1
- data/docs/AlpinePackageUpload.md +2 -0
- data/docs/CargoPackageUpload.md +2 -0
- data/docs/CocoapodsPackageUpload.md +2 -0
- data/docs/ComposerPackageUpload.md +2 -0
- data/docs/ConanPackageUpload.md +2 -0
- data/docs/CondaPackageUpload.md +2 -0
- data/docs/ConnectedRepository.md +12 -0
- data/docs/ConnectedRepositoryRequest.md +10 -0
- data/docs/ConnectedRepositoryRequestPatch.md +10 -0
- data/docs/CranPackageUpload.md +2 -0
- data/docs/DartPackageUpload.md +2 -0
- data/docs/DebPackageUpload.md +2 -0
- data/docs/DockerPackageUpload.md +2 -0
- data/docs/EntitlementsApi.md +2 -0
- data/docs/GenericPackageUpload.md +2 -0
- data/docs/GoPackageUpload.md +2 -0
- data/docs/HelmPackageUpload.md +2 -0
- data/docs/HexPackageUpload.md +2 -0
- data/docs/HuggingfacePackageUpload.md +2 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +8 -0
- data/docs/LuarocksPackageUpload.md +2 -0
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/McpPackageUpload.md +2 -0
- data/docs/MemberTeams.md +10 -0
- data/docs/NpmPackageUpload.md +2 -0
- data/docs/NugetPackageUpload.md +2 -0
- data/docs/OrganizationCustomDomainNestedRepo.md +9 -0
- data/docs/OrganizationCustomDomains.md +25 -0
- data/docs/OrganizationMembership.md +1 -0
- data/docs/OrgsApi.md +65 -0
- data/docs/P2PackageUpload.md +2 -0
- data/docs/Package.md +2 -0
- data/docs/PackageCopy.md +2 -0
- data/docs/PackageMove.md +2 -0
- data/docs/PackageQuarantine.md +2 -0
- data/docs/PackageResync.md +2 -0
- data/docs/PackageStatus.md +1 -0
- data/docs/PackageTag.md +2 -0
- data/docs/PythonPackageUpload.md +2 -0
- data/docs/RawPackageUpload.md +2 -0
- data/docs/RecycleBinApi.md +24 -24
- data/docs/ReposApi.md +592 -1
- data/docs/Repository.md +1 -0
- data/docs/RepositoryCreate.md +1 -0
- data/docs/RepositoryCreateRequest.md +1 -0
- data/docs/RepositoryEd25519Key.md +13 -0
- data/docs/RepositoryEd25519KeyCreate.md +9 -0
- data/docs/RepositoryRequestPatch.md +1 -0
- data/docs/RpmPackageUpload.md +2 -0
- data/docs/RubyPackageUpload.md +2 -0
- data/docs/ServiceTeams.md +1 -0
- data/docs/SwiftPackageUpload.md +2 -0
- data/docs/TerraformPackageUpload.md +2 -0
- data/docs/UserApi.md +2 -2
- data/docs/VagrantPackageUpload.md +2 -0
- data/docs/VsxPackageUpload.md +2 -0
- data/lib/cloudsmith-api/api/entitlements_api.rb +3 -0
- data/lib/cloudsmith-api/api/orgs_api.rb +60 -0
- data/lib/cloudsmith-api/api/recycle_bin_api.rb +41 -41
- data/lib/cloudsmith-api/api/repos_api.rb +579 -2
- data/lib/cloudsmith-api/api/user_api.rb +3 -3
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cargo_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/cocoapods_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/composer_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conan_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/conda_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/connected_repository.rb +230 -0
- data/lib/cloudsmith-api/models/connected_repository_request.rb +211 -0
- data/lib/cloudsmith-api/models/connected_repository_request_patch.rb +206 -0
- data/lib/cloudsmith-api/models/cran_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/dart_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/deb_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/docker_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/generic_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/go_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/helm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/huggingface_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/inline_response_200_1.rb +1 -1
- data/lib/cloudsmith-api/models/inline_response_200_2.rb +191 -0
- data/lib/cloudsmith-api/models/luarocks_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/maven_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/mcp_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/member_teams.rb +238 -0
- data/lib/cloudsmith-api/models/npm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/nuget_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/organization_custom_domain_nested_repo.rb +195 -0
- data/lib/cloudsmith-api/models/organization_custom_domains.rb +355 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +12 -1
- data/lib/cloudsmith-api/models/p2_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/package.rb +20 -1
- data/lib/cloudsmith-api/models/package_copy.rb +20 -1
- data/lib/cloudsmith-api/models/package_move.rb +20 -1
- data/lib/cloudsmith-api/models/package_quarantine.rb +20 -1
- data/lib/cloudsmith-api/models/package_resync.rb +20 -1
- data/lib/cloudsmith-api/models/package_status.rb +10 -1
- data/lib/cloudsmith-api/models/package_tag.rb +20 -1
- data/lib/cloudsmith-api/models/python_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/raw_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/repository.rb +11 -1
- data/lib/cloudsmith-api/models/repository_create.rb +11 -1
- data/lib/cloudsmith-api/models/repository_create_request.rb +11 -1
- data/lib/cloudsmith-api/models/repository_ed25519_key.rb +233 -0
- data/lib/cloudsmith-api/models/repository_ed25519_key_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository_request_patch.rb +11 -1
- data/lib/cloudsmith-api/models/rpm_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/ruby_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/service_teams.rb +11 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/terraform_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +20 -1
- data/lib/cloudsmith-api/models/vsx_package_upload.rb +20 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +9 -0
- data/spec/api/entitlements_api_spec.rb +1 -0
- data/spec/api/orgs_api_spec.rb +14 -0
- data/spec/api/recycle_bin_api_spec.rb +12 -12
- data/spec/api/repos_api_spec.rb +128 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/models/alpine_package_upload_spec.rb +12 -0
- data/spec/models/cargo_package_upload_spec.rb +12 -0
- data/spec/models/cocoapods_package_upload_spec.rb +12 -0
- data/spec/models/composer_package_upload_spec.rb +12 -0
- data/spec/models/conan_package_upload_spec.rb +12 -0
- data/spec/models/conda_package_upload_spec.rb +12 -0
- data/spec/models/connected_repository_request_patch_spec.rb +53 -0
- data/spec/models/connected_repository_request_spec.rb +53 -0
- data/spec/models/connected_repository_spec.rb +65 -0
- data/spec/models/cran_package_upload_spec.rb +12 -0
- data/spec/models/dart_package_upload_spec.rb +12 -0
- data/spec/models/deb_package_upload_spec.rb +12 -0
- data/spec/models/docker_package_upload_spec.rb +12 -0
- data/spec/models/generic_package_upload_spec.rb +12 -0
- data/spec/models/go_package_upload_spec.rb +12 -0
- data/spec/models/helm_package_upload_spec.rb +12 -0
- data/spec/models/hex_package_upload_spec.rb +12 -0
- data/spec/models/huggingface_package_upload_spec.rb +12 -0
- data/spec/models/inline_response_200_2_spec.rb +41 -0
- data/spec/models/luarocks_package_upload_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/spec/models/mcp_package_upload_spec.rb +12 -0
- data/spec/models/member_teams_spec.rb +57 -0
- data/spec/models/npm_package_upload_spec.rb +12 -0
- data/spec/models/nuget_package_upload_spec.rb +12 -0
- data/spec/models/organization_custom_domain_nested_repo_spec.rb +47 -0
- data/spec/models/organization_custom_domains_spec.rb +143 -0
- data/spec/models/organization_membership_spec.rb +6 -0
- data/spec/models/p2_package_upload_spec.rb +12 -0
- data/spec/models/package_copy_spec.rb +12 -0
- data/spec/models/package_move_spec.rb +12 -0
- data/spec/models/package_quarantine_spec.rb +12 -0
- data/spec/models/package_resync_spec.rb +12 -0
- data/spec/models/package_spec.rb +12 -0
- data/spec/models/package_status_spec.rb +6 -0
- data/spec/models/package_tag_spec.rb +12 -0
- data/spec/models/python_package_upload_spec.rb +12 -0
- data/spec/models/raw_package_upload_spec.rb +12 -0
- data/spec/models/repository_create_request_spec.rb +6 -0
- data/spec/models/repository_create_spec.rb +6 -0
- data/spec/models/repository_ed25519_key_create_spec.rb +47 -0
- data/spec/models/repository_ed25519_key_spec.rb +71 -0
- data/spec/models/repository_request_patch_spec.rb +6 -0
- data/spec/models/repository_spec.rb +6 -0
- data/spec/models/rpm_package_upload_spec.rb +12 -0
- data/spec/models/ruby_package_upload_spec.rb +12 -0
- data/spec/models/service_teams_spec.rb +6 -0
- data/spec/models/swift_package_upload_spec.rb +12 -0
- data/spec/models/terraform_package_upload_spec.rb +12 -0
- data/spec/models/vagrant_package_upload_spec.rb +12 -0
- data/spec/models/vsx_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.3.2/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/bigdecimal-4.1.2/mkmf.log +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.17.4/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.7.6/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/bigdecimal-4.1.2/ext/bigdecimal/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.17.4/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/parser/Makefile +2 -2
- metadata +41 -5
data/docs/ReposApi.md
CHANGED
|
@@ -7,11 +7,20 @@ Method | HTTP request | Description
|
|
|
7
7
|
[**api_repos_geoip_status**](ReposApi.md#api_repos_geoip_status) | **GET** /repos/{owner}/{identifier}/geoip/status/ | Retrieve the GeoIP status for this repository.
|
|
8
8
|
[**repo_retention_partial_update**](ReposApi.md#repo_retention_partial_update) | **PATCH** /repos/{owner}/{repo}/retention/ | Update the retention rules for the repository.
|
|
9
9
|
[**repo_retention_read**](ReposApi.md#repo_retention_read) | **GET** /repos/{owner}/{repo}/retention/ | Retrieve the retention rules for the repository.
|
|
10
|
+
[**repos_connected_create**](ReposApi.md#repos_connected_create) | **POST** /repos/{owner}/{identifier}/connected/ | Create a connected repository for this repository.
|
|
11
|
+
[**repos_connected_delete**](ReposApi.md#repos_connected_delete) | **DELETE** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Delete a connected repository for this repository.
|
|
12
|
+
[**repos_connected_list**](ReposApi.md#repos_connected_list) | **GET** /repos/{owner}/{identifier}/connected/ | List connected repositories for this repository.
|
|
13
|
+
[**repos_connected_partial_update**](ReposApi.md#repos_connected_partial_update) | **PATCH** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Partially update a connected repository for this repository.
|
|
14
|
+
[**repos_connected_read**](ReposApi.md#repos_connected_read) | **GET** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Retrieve a connected repository for this repository.
|
|
15
|
+
[**repos_connected_update**](ReposApi.md#repos_connected_update) | **PUT** /repos/{owner}/{identifier}/connected/{slug_perm}/ | Update a connected repository for this repository.
|
|
10
16
|
[**repos_create**](ReposApi.md#repos_create) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
|
|
11
17
|
[**repos_delete**](ReposApi.md#repos_delete) | **DELETE** /repos/{owner}/{identifier}/ |
|
|
12
18
|
[**repos_ecdsa_create**](ReposApi.md#repos_ecdsa_create) | **POST** /repos/{owner}/{identifier}/ecdsa/ | Set the active ECDSA key for the Repository.
|
|
13
19
|
[**repos_ecdsa_list**](ReposApi.md#repos_ecdsa_list) | **GET** /repos/{owner}/{identifier}/ecdsa/ | Retrieve the active ECDSA key for the Repository.
|
|
14
20
|
[**repos_ecdsa_regenerate**](ReposApi.md#repos_ecdsa_regenerate) | **POST** /repos/{owner}/{identifier}/ecdsa/regenerate/ | Regenerate ECDSA Key for the Repository.
|
|
21
|
+
[**repos_ed25519_create**](ReposApi.md#repos_ed25519_create) | **POST** /repos/{owner}/{identifier}/ed25519/ | Set the active Ed25519 key for the Repository.
|
|
22
|
+
[**repos_ed25519_list**](ReposApi.md#repos_ed25519_list) | **GET** /repos/{owner}/{identifier}/ed25519/ | Retrieve the active Ed25519 key for the Repository.
|
|
23
|
+
[**repos_ed25519_regenerate**](ReposApi.md#repos_ed25519_regenerate) | **POST** /repos/{owner}/{identifier}/ed25519/regenerate/ | Regenerate Ed25519 Key for the Repository.
|
|
15
24
|
[**repos_geoip_disable**](ReposApi.md#repos_geoip_disable) | **POST** /repos/{owner}/{identifier}/geoip/disable/ | Disable GeoIP for this repository.
|
|
16
25
|
[**repos_geoip_enable**](ReposApi.md#repos_geoip_enable) | **POST** /repos/{owner}/{identifier}/geoip/enable/ | Enable GeoIP for this repository.
|
|
17
26
|
[**repos_geoip_partial_update**](ReposApi.md#repos_geoip_partial_update) | **PATCH** /repos/{owner}/{identifier}/geoip | Partially update repository geoip rules.
|
|
@@ -343,6 +352,401 @@ Name | Type | Description | Notes
|
|
|
343
352
|
|
|
344
353
|
|
|
345
354
|
|
|
355
|
+
# **repos_connected_create**
|
|
356
|
+
> ConnectedRepository repos_connected_create(owner, identifier, opts)
|
|
357
|
+
|
|
358
|
+
Create a connected repository for this repository.
|
|
359
|
+
|
|
360
|
+
Create a connected repository for this repository.
|
|
361
|
+
|
|
362
|
+
### Example
|
|
363
|
+
```ruby
|
|
364
|
+
# load the gem
|
|
365
|
+
require 'cloudsmith-api'
|
|
366
|
+
# setup authorization
|
|
367
|
+
CloudsmithApi.configure do |config|
|
|
368
|
+
# Configure API key authorization: apikey
|
|
369
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
370
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
371
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
372
|
+
|
|
373
|
+
# Configure HTTP basic authorization: basic
|
|
374
|
+
config.username = 'YOUR USERNAME'
|
|
375
|
+
config.password = 'YOUR PASSWORD'
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
379
|
+
|
|
380
|
+
owner = 'owner_example' # String |
|
|
381
|
+
|
|
382
|
+
identifier = 'identifier_example' # String |
|
|
383
|
+
|
|
384
|
+
opts = {
|
|
385
|
+
data: CloudsmithApi::ConnectedRepositoryRequest.new # ConnectedRepositoryRequest |
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
begin
|
|
389
|
+
#Create a connected repository for this repository.
|
|
390
|
+
result = api_instance.repos_connected_create(owner, identifier, opts)
|
|
391
|
+
p result
|
|
392
|
+
rescue CloudsmithApi::ApiError => e
|
|
393
|
+
puts "Exception when calling ReposApi->repos_connected_create: #{e}"
|
|
394
|
+
end
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
### Parameters
|
|
398
|
+
|
|
399
|
+
Name | Type | Description | Notes
|
|
400
|
+
------------- | ------------- | ------------- | -------------
|
|
401
|
+
**owner** | **String**| |
|
|
402
|
+
**identifier** | **String**| |
|
|
403
|
+
**data** | [**ConnectedRepositoryRequest**](ConnectedRepositoryRequest.md)| | [optional]
|
|
404
|
+
|
|
405
|
+
### Return type
|
|
406
|
+
|
|
407
|
+
[**ConnectedRepository**](ConnectedRepository.md)
|
|
408
|
+
|
|
409
|
+
### Authorization
|
|
410
|
+
|
|
411
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
412
|
+
|
|
413
|
+
### HTTP request headers
|
|
414
|
+
|
|
415
|
+
- **Content-Type**: application/json
|
|
416
|
+
- **Accept**: application/json
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
# **repos_connected_delete**
|
|
421
|
+
> repos_connected_delete(owner, identifier, slug_perm)
|
|
422
|
+
|
|
423
|
+
Delete a connected repository for this repository.
|
|
424
|
+
|
|
425
|
+
Delete a connected repository for this repository.
|
|
426
|
+
|
|
427
|
+
### Example
|
|
428
|
+
```ruby
|
|
429
|
+
# load the gem
|
|
430
|
+
require 'cloudsmith-api'
|
|
431
|
+
# setup authorization
|
|
432
|
+
CloudsmithApi.configure do |config|
|
|
433
|
+
# Configure API key authorization: apikey
|
|
434
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
435
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
436
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
437
|
+
|
|
438
|
+
# Configure HTTP basic authorization: basic
|
|
439
|
+
config.username = 'YOUR USERNAME'
|
|
440
|
+
config.password = 'YOUR PASSWORD'
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
444
|
+
|
|
445
|
+
owner = 'owner_example' # String |
|
|
446
|
+
|
|
447
|
+
identifier = 'identifier_example' # String |
|
|
448
|
+
|
|
449
|
+
slug_perm = 'slug_perm_example' # String |
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
begin
|
|
453
|
+
#Delete a connected repository for this repository.
|
|
454
|
+
api_instance.repos_connected_delete(owner, identifier, slug_perm)
|
|
455
|
+
rescue CloudsmithApi::ApiError => e
|
|
456
|
+
puts "Exception when calling ReposApi->repos_connected_delete: #{e}"
|
|
457
|
+
end
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
### Parameters
|
|
461
|
+
|
|
462
|
+
Name | Type | Description | Notes
|
|
463
|
+
------------- | ------------- | ------------- | -------------
|
|
464
|
+
**owner** | **String**| |
|
|
465
|
+
**identifier** | **String**| |
|
|
466
|
+
**slug_perm** | **String**| |
|
|
467
|
+
|
|
468
|
+
### Return type
|
|
469
|
+
|
|
470
|
+
nil (empty response body)
|
|
471
|
+
|
|
472
|
+
### Authorization
|
|
473
|
+
|
|
474
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
475
|
+
|
|
476
|
+
### HTTP request headers
|
|
477
|
+
|
|
478
|
+
- **Content-Type**: application/json
|
|
479
|
+
- **Accept**: application/json
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
# **repos_connected_list**
|
|
484
|
+
> InlineResponse2001 repos_connected_list(owner, identifier, opts)
|
|
485
|
+
|
|
486
|
+
List connected repositories for this repository.
|
|
487
|
+
|
|
488
|
+
List connected repositories for this repository.
|
|
489
|
+
|
|
490
|
+
### Example
|
|
491
|
+
```ruby
|
|
492
|
+
# load the gem
|
|
493
|
+
require 'cloudsmith-api'
|
|
494
|
+
# setup authorization
|
|
495
|
+
CloudsmithApi.configure do |config|
|
|
496
|
+
# Configure API key authorization: apikey
|
|
497
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
498
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
499
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
500
|
+
|
|
501
|
+
# Configure HTTP basic authorization: basic
|
|
502
|
+
config.username = 'YOUR USERNAME'
|
|
503
|
+
config.password = 'YOUR PASSWORD'
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
507
|
+
|
|
508
|
+
owner = 'owner_example' # String |
|
|
509
|
+
|
|
510
|
+
identifier = 'identifier_example' # String |
|
|
511
|
+
|
|
512
|
+
opts = {
|
|
513
|
+
page: 56, # Integer | A page number within the paginated result set.
|
|
514
|
+
page_size: 56 # Integer | Number of results to return per page.
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
begin
|
|
518
|
+
#List connected repositories for this repository.
|
|
519
|
+
result = api_instance.repos_connected_list(owner, identifier, opts)
|
|
520
|
+
p result
|
|
521
|
+
rescue CloudsmithApi::ApiError => e
|
|
522
|
+
puts "Exception when calling ReposApi->repos_connected_list: #{e}"
|
|
523
|
+
end
|
|
524
|
+
```
|
|
525
|
+
|
|
526
|
+
### Parameters
|
|
527
|
+
|
|
528
|
+
Name | Type | Description | Notes
|
|
529
|
+
------------- | ------------- | ------------- | -------------
|
|
530
|
+
**owner** | **String**| |
|
|
531
|
+
**identifier** | **String**| |
|
|
532
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
533
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
|
534
|
+
|
|
535
|
+
### Return type
|
|
536
|
+
|
|
537
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
|
538
|
+
|
|
539
|
+
### Authorization
|
|
540
|
+
|
|
541
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
542
|
+
|
|
543
|
+
### HTTP request headers
|
|
544
|
+
|
|
545
|
+
- **Content-Type**: application/json
|
|
546
|
+
- **Accept**: application/json
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
# **repos_connected_partial_update**
|
|
551
|
+
> ConnectedRepository repos_connected_partial_update(owner, identifier, slug_perm, opts)
|
|
552
|
+
|
|
553
|
+
Partially update a connected repository for this repository.
|
|
554
|
+
|
|
555
|
+
Partially update a connected repository for this repository.
|
|
556
|
+
|
|
557
|
+
### Example
|
|
558
|
+
```ruby
|
|
559
|
+
# load the gem
|
|
560
|
+
require 'cloudsmith-api'
|
|
561
|
+
# setup authorization
|
|
562
|
+
CloudsmithApi.configure do |config|
|
|
563
|
+
# Configure API key authorization: apikey
|
|
564
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
565
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
566
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
567
|
+
|
|
568
|
+
# Configure HTTP basic authorization: basic
|
|
569
|
+
config.username = 'YOUR USERNAME'
|
|
570
|
+
config.password = 'YOUR PASSWORD'
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
574
|
+
|
|
575
|
+
owner = 'owner_example' # String |
|
|
576
|
+
|
|
577
|
+
identifier = 'identifier_example' # String |
|
|
578
|
+
|
|
579
|
+
slug_perm = 'slug_perm_example' # String |
|
|
580
|
+
|
|
581
|
+
opts = {
|
|
582
|
+
data: CloudsmithApi::ConnectedRepositoryRequestPatch.new # ConnectedRepositoryRequestPatch |
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
begin
|
|
586
|
+
#Partially update a connected repository for this repository.
|
|
587
|
+
result = api_instance.repos_connected_partial_update(owner, identifier, slug_perm, opts)
|
|
588
|
+
p result
|
|
589
|
+
rescue CloudsmithApi::ApiError => e
|
|
590
|
+
puts "Exception when calling ReposApi->repos_connected_partial_update: #{e}"
|
|
591
|
+
end
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
### Parameters
|
|
595
|
+
|
|
596
|
+
Name | Type | Description | Notes
|
|
597
|
+
------------- | ------------- | ------------- | -------------
|
|
598
|
+
**owner** | **String**| |
|
|
599
|
+
**identifier** | **String**| |
|
|
600
|
+
**slug_perm** | **String**| |
|
|
601
|
+
**data** | [**ConnectedRepositoryRequestPatch**](ConnectedRepositoryRequestPatch.md)| | [optional]
|
|
602
|
+
|
|
603
|
+
### Return type
|
|
604
|
+
|
|
605
|
+
[**ConnectedRepository**](ConnectedRepository.md)
|
|
606
|
+
|
|
607
|
+
### Authorization
|
|
608
|
+
|
|
609
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
610
|
+
|
|
611
|
+
### HTTP request headers
|
|
612
|
+
|
|
613
|
+
- **Content-Type**: application/json
|
|
614
|
+
- **Accept**: application/json
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
# **repos_connected_read**
|
|
619
|
+
> ConnectedRepository repos_connected_read(owner, identifier, slug_perm)
|
|
620
|
+
|
|
621
|
+
Retrieve a connected repository for this repository.
|
|
622
|
+
|
|
623
|
+
Retrieve a connected repository for this repository.
|
|
624
|
+
|
|
625
|
+
### Example
|
|
626
|
+
```ruby
|
|
627
|
+
# load the gem
|
|
628
|
+
require 'cloudsmith-api'
|
|
629
|
+
# setup authorization
|
|
630
|
+
CloudsmithApi.configure do |config|
|
|
631
|
+
# Configure API key authorization: apikey
|
|
632
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
633
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
634
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
635
|
+
|
|
636
|
+
# Configure HTTP basic authorization: basic
|
|
637
|
+
config.username = 'YOUR USERNAME'
|
|
638
|
+
config.password = 'YOUR PASSWORD'
|
|
639
|
+
end
|
|
640
|
+
|
|
641
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
642
|
+
|
|
643
|
+
owner = 'owner_example' # String |
|
|
644
|
+
|
|
645
|
+
identifier = 'identifier_example' # String |
|
|
646
|
+
|
|
647
|
+
slug_perm = 'slug_perm_example' # String |
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
begin
|
|
651
|
+
#Retrieve a connected repository for this repository.
|
|
652
|
+
result = api_instance.repos_connected_read(owner, identifier, slug_perm)
|
|
653
|
+
p result
|
|
654
|
+
rescue CloudsmithApi::ApiError => e
|
|
655
|
+
puts "Exception when calling ReposApi->repos_connected_read: #{e}"
|
|
656
|
+
end
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
### Parameters
|
|
660
|
+
|
|
661
|
+
Name | Type | Description | Notes
|
|
662
|
+
------------- | ------------- | ------------- | -------------
|
|
663
|
+
**owner** | **String**| |
|
|
664
|
+
**identifier** | **String**| |
|
|
665
|
+
**slug_perm** | **String**| |
|
|
666
|
+
|
|
667
|
+
### Return type
|
|
668
|
+
|
|
669
|
+
[**ConnectedRepository**](ConnectedRepository.md)
|
|
670
|
+
|
|
671
|
+
### Authorization
|
|
672
|
+
|
|
673
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
674
|
+
|
|
675
|
+
### HTTP request headers
|
|
676
|
+
|
|
677
|
+
- **Content-Type**: application/json
|
|
678
|
+
- **Accept**: application/json
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
# **repos_connected_update**
|
|
683
|
+
> ConnectedRepository repos_connected_update(owner, identifier, slug_perm, opts)
|
|
684
|
+
|
|
685
|
+
Update a connected repository for this repository.
|
|
686
|
+
|
|
687
|
+
Update a connected repository for this repository.
|
|
688
|
+
|
|
689
|
+
### Example
|
|
690
|
+
```ruby
|
|
691
|
+
# load the gem
|
|
692
|
+
require 'cloudsmith-api'
|
|
693
|
+
# setup authorization
|
|
694
|
+
CloudsmithApi.configure do |config|
|
|
695
|
+
# Configure API key authorization: apikey
|
|
696
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
697
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
698
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
699
|
+
|
|
700
|
+
# Configure HTTP basic authorization: basic
|
|
701
|
+
config.username = 'YOUR USERNAME'
|
|
702
|
+
config.password = 'YOUR PASSWORD'
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
706
|
+
|
|
707
|
+
owner = 'owner_example' # String |
|
|
708
|
+
|
|
709
|
+
identifier = 'identifier_example' # String |
|
|
710
|
+
|
|
711
|
+
slug_perm = 'slug_perm_example' # String |
|
|
712
|
+
|
|
713
|
+
opts = {
|
|
714
|
+
data: CloudsmithApi::ConnectedRepositoryRequest.new # ConnectedRepositoryRequest |
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
begin
|
|
718
|
+
#Update a connected repository for this repository.
|
|
719
|
+
result = api_instance.repos_connected_update(owner, identifier, slug_perm, opts)
|
|
720
|
+
p result
|
|
721
|
+
rescue CloudsmithApi::ApiError => e
|
|
722
|
+
puts "Exception when calling ReposApi->repos_connected_update: #{e}"
|
|
723
|
+
end
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
### Parameters
|
|
727
|
+
|
|
728
|
+
Name | Type | Description | Notes
|
|
729
|
+
------------- | ------------- | ------------- | -------------
|
|
730
|
+
**owner** | **String**| |
|
|
731
|
+
**identifier** | **String**| |
|
|
732
|
+
**slug_perm** | **String**| |
|
|
733
|
+
**data** | [**ConnectedRepositoryRequest**](ConnectedRepositoryRequest.md)| | [optional]
|
|
734
|
+
|
|
735
|
+
### Return type
|
|
736
|
+
|
|
737
|
+
[**ConnectedRepository**](ConnectedRepository.md)
|
|
738
|
+
|
|
739
|
+
### Authorization
|
|
740
|
+
|
|
741
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
742
|
+
|
|
743
|
+
### HTTP request headers
|
|
744
|
+
|
|
745
|
+
- **Content-Type**: application/json
|
|
746
|
+
- **Accept**: application/json
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
346
750
|
# **repos_create**
|
|
347
751
|
> RepositoryCreate repos_create(owner, opts)
|
|
348
752
|
|
|
@@ -410,7 +814,7 @@ Name | Type | Description | Notes
|
|
|
410
814
|
|
|
411
815
|
|
|
412
816
|
|
|
413
|
-
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.
|
|
817
|
+
Delete a repository in a given namespace. Note: 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.
|
|
414
818
|
|
|
415
819
|
### Example
|
|
416
820
|
```ruby
|
|
@@ -651,6 +1055,193 @@ Name | Type | Description | Notes
|
|
|
651
1055
|
|
|
652
1056
|
|
|
653
1057
|
|
|
1058
|
+
# **repos_ed25519_create**
|
|
1059
|
+
> RepositoryEd25519Key repos_ed25519_create(owner, identifier, opts)
|
|
1060
|
+
|
|
1061
|
+
Set the active Ed25519 key for the Repository.
|
|
1062
|
+
|
|
1063
|
+
Set the active Ed25519 key for the Repository.
|
|
1064
|
+
|
|
1065
|
+
### Example
|
|
1066
|
+
```ruby
|
|
1067
|
+
# load the gem
|
|
1068
|
+
require 'cloudsmith-api'
|
|
1069
|
+
# setup authorization
|
|
1070
|
+
CloudsmithApi.configure do |config|
|
|
1071
|
+
# Configure API key authorization: apikey
|
|
1072
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1073
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1074
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1075
|
+
|
|
1076
|
+
# Configure HTTP basic authorization: basic
|
|
1077
|
+
config.username = 'YOUR USERNAME'
|
|
1078
|
+
config.password = 'YOUR PASSWORD'
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1082
|
+
|
|
1083
|
+
owner = 'owner_example' # String |
|
|
1084
|
+
|
|
1085
|
+
identifier = 'identifier_example' # String |
|
|
1086
|
+
|
|
1087
|
+
opts = {
|
|
1088
|
+
data: CloudsmithApi::RepositoryEd25519KeyCreate.new # RepositoryEd25519KeyCreate |
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
begin
|
|
1092
|
+
#Set the active Ed25519 key for the Repository.
|
|
1093
|
+
result = api_instance.repos_ed25519_create(owner, identifier, opts)
|
|
1094
|
+
p result
|
|
1095
|
+
rescue CloudsmithApi::ApiError => e
|
|
1096
|
+
puts "Exception when calling ReposApi->repos_ed25519_create: #{e}"
|
|
1097
|
+
end
|
|
1098
|
+
```
|
|
1099
|
+
|
|
1100
|
+
### Parameters
|
|
1101
|
+
|
|
1102
|
+
Name | Type | Description | Notes
|
|
1103
|
+
------------- | ------------- | ------------- | -------------
|
|
1104
|
+
**owner** | **String**| |
|
|
1105
|
+
**identifier** | **String**| |
|
|
1106
|
+
**data** | [**RepositoryEd25519KeyCreate**](RepositoryEd25519KeyCreate.md)| | [optional]
|
|
1107
|
+
|
|
1108
|
+
### Return type
|
|
1109
|
+
|
|
1110
|
+
[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
|
|
1111
|
+
|
|
1112
|
+
### Authorization
|
|
1113
|
+
|
|
1114
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
1115
|
+
|
|
1116
|
+
### HTTP request headers
|
|
1117
|
+
|
|
1118
|
+
- **Content-Type**: application/json
|
|
1119
|
+
- **Accept**: application/json
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
# **repos_ed25519_list**
|
|
1124
|
+
> RepositoryEd25519Key repos_ed25519_list(owner, identifier)
|
|
1125
|
+
|
|
1126
|
+
Retrieve the active Ed25519 key for the Repository.
|
|
1127
|
+
|
|
1128
|
+
Retrieve the active Ed25519 key for the Repository.
|
|
1129
|
+
|
|
1130
|
+
### Example
|
|
1131
|
+
```ruby
|
|
1132
|
+
# load the gem
|
|
1133
|
+
require 'cloudsmith-api'
|
|
1134
|
+
# setup authorization
|
|
1135
|
+
CloudsmithApi.configure do |config|
|
|
1136
|
+
# Configure API key authorization: apikey
|
|
1137
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1138
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1139
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1140
|
+
|
|
1141
|
+
# Configure HTTP basic authorization: basic
|
|
1142
|
+
config.username = 'YOUR USERNAME'
|
|
1143
|
+
config.password = 'YOUR PASSWORD'
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1147
|
+
|
|
1148
|
+
owner = 'owner_example' # String |
|
|
1149
|
+
|
|
1150
|
+
identifier = 'identifier_example' # String |
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
begin
|
|
1154
|
+
#Retrieve the active Ed25519 key for the Repository.
|
|
1155
|
+
result = api_instance.repos_ed25519_list(owner, identifier)
|
|
1156
|
+
p result
|
|
1157
|
+
rescue CloudsmithApi::ApiError => e
|
|
1158
|
+
puts "Exception when calling ReposApi->repos_ed25519_list: #{e}"
|
|
1159
|
+
end
|
|
1160
|
+
```
|
|
1161
|
+
|
|
1162
|
+
### Parameters
|
|
1163
|
+
|
|
1164
|
+
Name | Type | Description | Notes
|
|
1165
|
+
------------- | ------------- | ------------- | -------------
|
|
1166
|
+
**owner** | **String**| |
|
|
1167
|
+
**identifier** | **String**| |
|
|
1168
|
+
|
|
1169
|
+
### Return type
|
|
1170
|
+
|
|
1171
|
+
[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
|
|
1172
|
+
|
|
1173
|
+
### Authorization
|
|
1174
|
+
|
|
1175
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
1176
|
+
|
|
1177
|
+
### HTTP request headers
|
|
1178
|
+
|
|
1179
|
+
- **Content-Type**: application/json
|
|
1180
|
+
- **Accept**: application/json
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
# **repos_ed25519_regenerate**
|
|
1185
|
+
> RepositoryEd25519Key repos_ed25519_regenerate(owner, identifier)
|
|
1186
|
+
|
|
1187
|
+
Regenerate Ed25519 Key for the Repository.
|
|
1188
|
+
|
|
1189
|
+
Regenerate Ed25519 Key for the Repository.
|
|
1190
|
+
|
|
1191
|
+
### Example
|
|
1192
|
+
```ruby
|
|
1193
|
+
# load the gem
|
|
1194
|
+
require 'cloudsmith-api'
|
|
1195
|
+
# setup authorization
|
|
1196
|
+
CloudsmithApi.configure do |config|
|
|
1197
|
+
# Configure API key authorization: apikey
|
|
1198
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
|
1199
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1200
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
|
1201
|
+
|
|
1202
|
+
# Configure HTTP basic authorization: basic
|
|
1203
|
+
config.username = 'YOUR USERNAME'
|
|
1204
|
+
config.password = 'YOUR PASSWORD'
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
api_instance = CloudsmithApi::ReposApi.new
|
|
1208
|
+
|
|
1209
|
+
owner = 'owner_example' # String |
|
|
1210
|
+
|
|
1211
|
+
identifier = 'identifier_example' # String |
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
begin
|
|
1215
|
+
#Regenerate Ed25519 Key for the Repository.
|
|
1216
|
+
result = api_instance.repos_ed25519_regenerate(owner, identifier)
|
|
1217
|
+
p result
|
|
1218
|
+
rescue CloudsmithApi::ApiError => e
|
|
1219
|
+
puts "Exception when calling ReposApi->repos_ed25519_regenerate: #{e}"
|
|
1220
|
+
end
|
|
1221
|
+
```
|
|
1222
|
+
|
|
1223
|
+
### Parameters
|
|
1224
|
+
|
|
1225
|
+
Name | Type | Description | Notes
|
|
1226
|
+
------------- | ------------- | ------------- | -------------
|
|
1227
|
+
**owner** | **String**| |
|
|
1228
|
+
**identifier** | **String**| |
|
|
1229
|
+
|
|
1230
|
+
### Return type
|
|
1231
|
+
|
|
1232
|
+
[**RepositoryEd25519Key**](RepositoryEd25519Key.md)
|
|
1233
|
+
|
|
1234
|
+
### Authorization
|
|
1235
|
+
|
|
1236
|
+
[apikey](../README.md#apikey), [basic](../README.md#basic)
|
|
1237
|
+
|
|
1238
|
+
### HTTP request headers
|
|
1239
|
+
|
|
1240
|
+
- **Content-Type**: application/json
|
|
1241
|
+
- **Accept**: application/json
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
654
1245
|
# **repos_geoip_disable**
|
|
655
1246
|
> repos_geoip_disable(owner, identifier, opts)
|
|
656
1247
|
|
data/docs/Repository.md
CHANGED
|
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
|
|
|
33
33
|
**name** | **String** | A descriptive name for the repository. |
|
|
34
34
|
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
|
|
35
35
|
**namespace_url** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
|
|
36
|
+
**npm_upstream_tags_take_precedence** | **BOOLEAN** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
|
|
36
37
|
**nuget_native_signing_enabled** | **BOOLEAN** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
|
|
37
38
|
**num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
|
|
38
39
|
**num_policy_violated_packages** | **Integer** | Number of packages with policy violations in a repository. | [optional]
|
data/docs/RepositoryCreate.md
CHANGED
|
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
|
|
|
33
33
|
**name** | **String** | A descriptive name for the repository. |
|
|
34
34
|
**namespace** | **String** | Namespace to which this repository belongs. | [optional]
|
|
35
35
|
**namespace_url** | **String** | API endpoint where data about this namespace can be retrieved. | [optional]
|
|
36
|
+
**npm_upstream_tags_take_precedence** | **BOOLEAN** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
|
|
36
37
|
**nuget_native_signing_enabled** | **BOOLEAN** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
|
|
37
38
|
**num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
|
|
38
39
|
**num_policy_violated_packages** | **Integer** | Number of packages with policy violations in a repository. | [optional]
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**move_own** | **BOOLEAN** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional]
|
|
24
24
|
**move_packages** | **String** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to 'Admin']
|
|
25
25
|
**name** | **String** | A descriptive name for the repository. |
|
|
26
|
+
**npm_upstream_tags_take_precedence** | **BOOLEAN** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
|
|
26
27
|
**nuget_native_signing_enabled** | **BOOLEAN** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
|
|
27
28
|
**open_source_license** | **String** | The SPDX identifier of the open source license. | [optional]
|
|
28
29
|
**open_source_project_url** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CloudsmithApi::RepositoryEd25519Key
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**active** | **BOOLEAN** | If selected this is the active key for this repository. | [optional]
|
|
7
|
+
**created_at** | **DateTime** | | [optional]
|
|
8
|
+
**default** | **BOOLEAN** | If selected this is the default key for this repository. | [optional]
|
|
9
|
+
**fingerprint** | **String** | Uppercase hex-encoded SHA-256 fingerprint of the public key. | [optional]
|
|
10
|
+
**fingerprint_short** | **String** | | [optional]
|
|
11
|
+
**public_key** | **String** | The public key given to repository users. | [optional]
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# CloudsmithApi::RepositoryEd25519KeyCreate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**ed25519_passphrase** | **String** | The Ed25519 passphrase used for signing. | [optional]
|
|
7
|
+
**ed25519_private_key** | **String** | The Ed25519 private key. |
|
|
8
|
+
|
|
9
|
+
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**move_own** | **BOOLEAN** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional]
|
|
24
24
|
**move_packages** | **String** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to 'Admin']
|
|
25
25
|
**name** | **String** | A descriptive name for the repository. | [optional]
|
|
26
|
+
**npm_upstream_tags_take_precedence** | **BOOLEAN** | If checked, npm distribution tags from configured upstreams will take precedence over matching local tags. When both upstream and local repositories have the same tag name (e.g., 'latest'), the upstream tag will be used instead of the local one, even if the local repository has a semantically higher version. | [optional]
|
|
26
27
|
**nuget_native_signing_enabled** | **BOOLEAN** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional]
|
|
27
28
|
**open_source_license** | **String** | The SPDX identifier of the open source license. | [optional]
|
|
28
29
|
**open_source_project_url** | **String** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional]
|