cloudsmith-api 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +13 -5
- data/build.json +1 -1
- data/docs/Eula.md +1 -1
- data/docs/HelmPackageUploadRequest.md +1 -0
- data/docs/HexPackageUpload.md +75 -0
- data/docs/HexPackageUploadRequest.md +10 -0
- data/docs/NestedLicensePolicy.md +1 -0
- data/docs/NestedVulnerabilityPolicy.md +1 -0
- data/docs/NestedVulnerabilityScanResults.md +1 -1
- data/docs/OrganizationPackageLicensePolicy.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequest.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequestPatch.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicy.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +1 -0
- data/docs/PackagesApi.md +246 -0
- data/docs/RepositoryToken.md +1 -1
- data/docs/RepositoryTokenRefresh.md +1 -1
- data/docs/RepositoryWebhook.md +1 -1
- data/docs/StatusBasic.md +1 -1
- data/docs/SwiftPackageUpload.md +75 -0
- data/docs/SwiftPackageUploadRequest.md +11 -0
- data/docs/VulnerabilitiesApi.md +8 -8
- data/docs/VulnerabilityScanResults.md +1 -1
- data/docs/VulnerabilityScanResultsList.md +1 -1
- data/lib/cloudsmith-api/api/packages_api.rb +246 -0
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +13 -13
- data/lib/cloudsmith-api/models/eula.rb +0 -5
- data/lib/cloudsmith-api/models/helm_package_upload_request.rb +11 -1
- data/lib/cloudsmith-api/models/hex_package_upload.rb +850 -0
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/models/nested_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/organization_package_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +13 -4
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +13 -4
- data/lib/cloudsmith-api/models/repository_token.rb +1 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -0
- data/lib/cloudsmith-api/models/repository_webhook.rb +1 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/swift_package_upload.rb +855 -0
- data/lib/cloudsmith-api/models/swift_package_upload_request.rb +225 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +4 -0
- data/spec/api/packages_api_spec.rb +56 -0
- data/spec/api/vulnerabilities_api_spec.rb +3 -3
- data/spec/models/helm_package_upload_request_spec.rb +6 -0
- data/spec/models/hex_package_upload_request_spec.rb +53 -0
- data/spec/models/hex_package_upload_spec.rb +447 -0
- data/spec/models/nested_license_policy_spec.rb +6 -0
- data/spec/models/nested_vulnerability_policy_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_spec.rb +6 -0
- data/spec/models/swift_package_upload_request_spec.rb +59 -0
- data/spec/models/swift_package_upload_spec.rb +447 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 409008601d32dc7995336e188ae63cbabd02413092455dd8e7055704709e42b0
|
4
|
+
data.tar.gz: 10dfc97154ea0ca1be17c05e3d72a4abe7bb22306c8ae0b217d6abc01488102b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46d96f8e6087d5cd2b312542df94e3db2a2719a6d051ca44f37c62f626ee968ee7b9e314e362b18fe21edbbd18ce1c011c44d6f95948432742476e618abe1a67
|
7
|
+
data.tar.gz: f131a339b42234ccd1c01f11b5ba6b9bd1355b2ad0d1f0f4cd96ab46e4b3ac9e776cea82ddeb772ec3d49103ada99ff7342417c20ab6b9ad1ac248a2a89ad255
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudsmith-api (2.0.
|
4
|
+
cloudsmith-api (2.0.4)
|
5
5
|
addressable (~> 2.3, >= 2.3.0)
|
6
6
|
json (~> 2.1, >= 2.1.0)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -67,4 +67,4 @@ DEPENDENCIES
|
|
67
67
|
webmock (~> 1.24, >= 1.24.3)
|
68
68
|
|
69
69
|
BUNDLED WITH
|
70
|
-
2.4.
|
70
|
+
2.4.13
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 2.0.
|
10
|
+
- Package version: 2.0.4
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./cloudsmith-api-2.0.
|
27
|
+
gem install ./cloudsmith-api-2.0.4.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-2.0.
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-2.0.4.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'cloudsmith-api', '~> 2.0.
|
35
|
+
gem 'cloudsmith-api', '~> 2.0.4'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -182,6 +182,7 @@ Class | Method | HTTP request | Description
|
|
182
182
|
*CloudsmithApi::PackagesApi* | [**packages_upload_docker**](docs/PackagesApi.md#packages_upload_docker) | **POST** /packages/{owner}/{repo}/upload/docker/ | Create a new Docker package
|
183
183
|
*CloudsmithApi::PackagesApi* | [**packages_upload_go**](docs/PackagesApi.md#packages_upload_go) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
|
184
184
|
*CloudsmithApi::PackagesApi* | [**packages_upload_helm**](docs/PackagesApi.md#packages_upload_helm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
|
185
|
+
*CloudsmithApi::PackagesApi* | [**packages_upload_hex**](docs/PackagesApi.md#packages_upload_hex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
|
185
186
|
*CloudsmithApi::PackagesApi* | [**packages_upload_luarocks**](docs/PackagesApi.md#packages_upload_luarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
|
186
187
|
*CloudsmithApi::PackagesApi* | [**packages_upload_maven**](docs/PackagesApi.md#packages_upload_maven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
|
187
188
|
*CloudsmithApi::PackagesApi* | [**packages_upload_npm**](docs/PackagesApi.md#packages_upload_npm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
|
@@ -191,6 +192,7 @@ Class | Method | HTTP request | Description
|
|
191
192
|
*CloudsmithApi::PackagesApi* | [**packages_upload_raw**](docs/PackagesApi.md#packages_upload_raw) | **POST** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package
|
192
193
|
*CloudsmithApi::PackagesApi* | [**packages_upload_rpm**](docs/PackagesApi.md#packages_upload_rpm) | **POST** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package
|
193
194
|
*CloudsmithApi::PackagesApi* | [**packages_upload_ruby**](docs/PackagesApi.md#packages_upload_ruby) | **POST** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package
|
195
|
+
*CloudsmithApi::PackagesApi* | [**packages_upload_swift**](docs/PackagesApi.md#packages_upload_swift) | **POST** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package
|
194
196
|
*CloudsmithApi::PackagesApi* | [**packages_upload_terraform**](docs/PackagesApi.md#packages_upload_terraform) | **POST** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package
|
195
197
|
*CloudsmithApi::PackagesApi* | [**packages_upload_vagrant**](docs/PackagesApi.md#packages_upload_vagrant) | **POST** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package
|
196
198
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_alpine**](docs/PackagesApi.md#packages_validate_upload_alpine) | **POST** /packages/{owner}/{repo}/validate-upload/alpine/ | Validate parameters for create Alpine package
|
@@ -205,6 +207,7 @@ Class | Method | HTTP request | Description
|
|
205
207
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_docker**](docs/PackagesApi.md#packages_validate_upload_docker) | **POST** /packages/{owner}/{repo}/validate-upload/docker/ | Validate parameters for create Docker package
|
206
208
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_go**](docs/PackagesApi.md#packages_validate_upload_go) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
|
207
209
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_helm**](docs/PackagesApi.md#packages_validate_upload_helm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
|
210
|
+
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_hex**](docs/PackagesApi.md#packages_validate_upload_hex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
|
208
211
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_luarocks**](docs/PackagesApi.md#packages_validate_upload_luarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
|
209
212
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_maven**](docs/PackagesApi.md#packages_validate_upload_maven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
|
210
213
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_npm**](docs/PackagesApi.md#packages_validate_upload_npm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
|
@@ -214,6 +217,7 @@ Class | Method | HTTP request | Description
|
|
214
217
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_raw**](docs/PackagesApi.md#packages_validate_upload_raw) | **POST** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package
|
215
218
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_rpm**](docs/PackagesApi.md#packages_validate_upload_rpm) | **POST** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package
|
216
219
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_ruby**](docs/PackagesApi.md#packages_validate_upload_ruby) | **POST** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package
|
220
|
+
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_swift**](docs/PackagesApi.md#packages_validate_upload_swift) | **POST** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package
|
217
221
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_terraform**](docs/PackagesApi.md#packages_validate_upload_terraform) | **POST** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package
|
218
222
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_vagrant**](docs/PackagesApi.md#packages_validate_upload_vagrant) | **POST** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package
|
219
223
|
*CloudsmithApi::QuotaApi* | [**quota_history_read**](docs/QuotaApi.md#quota_history_read) | **GET** /quota/history/{owner}/ | Quota history for a given namespace.
|
@@ -250,7 +254,7 @@ Class | Method | HTTP request | Description
|
|
250
254
|
*CloudsmithApi::UsersApi* | [**users_profile_read**](docs/UsersApi.md#users_profile_read) | **GET** /users/profile/{slug}/ | Provide a brief for the specified user (if any).
|
251
255
|
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_namespace_list**](docs/VulnerabilitiesApi.md#vulnerabilities_namespace_list) | **GET** /vulnerabilities/{owner}/ | Lists scan results for a specific namespace.
|
252
256
|
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_package_list**](docs/VulnerabilitiesApi.md#vulnerabilities_package_list) | **GET** /vulnerabilities/{owner}/{repo}/{package}/ | Lists scan results for a specific package.
|
253
|
-
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_read**](docs/VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{
|
257
|
+
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_read**](docs/VulnerabilitiesApi.md#vulnerabilities_read) | **GET** /vulnerabilities/{owner}/{repo}/{package}/{identifier}/ | Get a scan result.
|
254
258
|
*CloudsmithApi::VulnerabilitiesApi* | [**vulnerabilities_repo_list**](docs/VulnerabilitiesApi.md#vulnerabilities_repo_list) | **GET** /vulnerabilities/{owner}/{repo}/ | Lists scan results for a specific repository.
|
255
259
|
*CloudsmithApi::WebhooksApi* | [**webhooks_create**](docs/WebhooksApi.md#webhooks_create) | **POST** /webhooks/{owner}/{repo}/ | Create a specific webhook in a repository.
|
256
260
|
*CloudsmithApi::WebhooksApi* | [**webhooks_delete**](docs/WebhooksApi.md#webhooks_delete) | **DELETE** /webhooks/{owner}/{repo}/{identifier}/ | Delete a specific webhook in a repository.
|
@@ -302,6 +306,8 @@ Class | Method | HTTP request | Description
|
|
302
306
|
- [CloudsmithApi::GoPackageUploadRequest](docs/GoPackageUploadRequest.md)
|
303
307
|
- [CloudsmithApi::HelmPackageUpload](docs/HelmPackageUpload.md)
|
304
308
|
- [CloudsmithApi::HelmPackageUploadRequest](docs/HelmPackageUploadRequest.md)
|
309
|
+
- [CloudsmithApi::HexPackageUpload](docs/HexPackageUpload.md)
|
310
|
+
- [CloudsmithApi::HexPackageUploadRequest](docs/HexPackageUploadRequest.md)
|
305
311
|
- [CloudsmithApi::History](docs/History.md)
|
306
312
|
- [CloudsmithApi::HistoryFieldset](docs/HistoryFieldset.md)
|
307
313
|
- [CloudsmithApi::HistoryFieldsetRaw](docs/HistoryFieldsetRaw.md)
|
@@ -420,6 +426,8 @@ Class | Method | HTTP request | Description
|
|
420
426
|
- [CloudsmithApi::StorageRegion](docs/StorageRegion.md)
|
421
427
|
- [CloudsmithApi::StorageUsage](docs/StorageUsage.md)
|
422
428
|
- [CloudsmithApi::StorageUsageRaw](docs/StorageUsageRaw.md)
|
429
|
+
- [CloudsmithApi::SwiftPackageUpload](docs/SwiftPackageUpload.md)
|
430
|
+
- [CloudsmithApi::SwiftPackageUploadRequest](docs/SwiftPackageUploadRequest.md)
|
423
431
|
- [CloudsmithApi::Tags](docs/Tags.md)
|
424
432
|
- [CloudsmithApi::TerraformPackageUpload](docs/TerraformPackageUpload.md)
|
425
433
|
- [CloudsmithApi::TerraformPackageUploadRequest](docs/TerraformPackageUploadRequest.md)
|
data/build.json
CHANGED
data/docs/Eula.md
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**identifier** | **String** | A unique identifier that you can use for your own EULA tracking purposes. This might be a date, or a semantic version, etc. The only requirement is that it is unique across multiple EULAs. | [optional]
|
7
|
-
**number** | **Integer** | A sequential identifier that increments by one for each new commit in a repository. |
|
7
|
+
**number** | **Integer** | A sequential identifier that increments by one for each new commit in a repository. | [optional]
|
8
8
|
|
9
9
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**package_file** | **String** | The primary file for the package. |
|
7
|
+
**provenance_file** | **String** | The provenance file containing the signature for the chart. If one is not provided, it will be generated automatically. | [optional]
|
7
8
|
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
8
9
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
9
10
|
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# CloudsmithApi::HexPackageUpload
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**architectures** | [**Array<Architecture>**](Architecture.md) | | [optional]
|
7
|
+
**cdn_url** | **String** | | [optional]
|
8
|
+
**checksum_md5** | **String** | | [optional]
|
9
|
+
**checksum_sha1** | **String** | | [optional]
|
10
|
+
**checksum_sha256** | **String** | | [optional]
|
11
|
+
**checksum_sha512** | **String** | | [optional]
|
12
|
+
**dependencies_checksum_md5** | **String** | A checksum of all of the package's dependencies. | [optional]
|
13
|
+
**dependencies_url** | **String** | | [optional]
|
14
|
+
**description** | **String** | A textual description of this package. | [optional]
|
15
|
+
**distro** | [**Distribution**](Distribution.md) | | [optional]
|
16
|
+
**distro_version** | [**DistributionVersion**](DistributionVersion.md) | | [optional]
|
17
|
+
**downloads** | **Integer** | | [optional]
|
18
|
+
**epoch** | **Integer** | The epoch of the package version (if any). | [optional]
|
19
|
+
**extension** | **String** | | [optional]
|
20
|
+
**filename** | **String** | | [optional]
|
21
|
+
**files** | [**Array<PackageFile>**](PackageFile.md) | | [optional]
|
22
|
+
**format** | **String** | | [optional]
|
23
|
+
**format_url** | **String** | | [optional]
|
24
|
+
**identifier_perm** | **String** | Unique and permanent identifier for the package. | [optional]
|
25
|
+
**indexed** | **BOOLEAN** | | [optional]
|
26
|
+
**is_downloadable** | **BOOLEAN** | | [optional]
|
27
|
+
**is_quarantined** | **BOOLEAN** | | [optional]
|
28
|
+
**is_sync_awaiting** | **BOOLEAN** | | [optional]
|
29
|
+
**is_sync_completed** | **BOOLEAN** | | [optional]
|
30
|
+
**is_sync_failed** | **BOOLEAN** | | [optional]
|
31
|
+
**is_sync_in_flight** | **BOOLEAN** | | [optional]
|
32
|
+
**is_sync_in_progress** | **BOOLEAN** | | [optional]
|
33
|
+
**license** | **String** | The license of this package. | [optional]
|
34
|
+
**name** | **String** | The name of this package. | [optional]
|
35
|
+
**namespace** | **String** | | [optional]
|
36
|
+
**namespace_url** | **String** | | [optional]
|
37
|
+
**num_files** | **Integer** | | [optional]
|
38
|
+
**origin_repository** | **String** | | [optional]
|
39
|
+
**origin_repository_url** | **String** | | [optional]
|
40
|
+
**package_type** | **Integer** | The type of package contents. | [optional]
|
41
|
+
**release** | **String** | The release of the package version (if any). | [optional]
|
42
|
+
**repository** | **String** | | [optional]
|
43
|
+
**repository_url** | **String** | | [optional]
|
44
|
+
**security_scan_completed_at** | **DateTime** | The datetime the security scanning was completed. | [optional]
|
45
|
+
**security_scan_started_at** | **DateTime** | The datetime the security scanning was started. | [optional]
|
46
|
+
**security_scan_status** | **String** | | [optional] [default to 'Awaiting Security Scan']
|
47
|
+
**security_scan_status_updated_at** | **DateTime** | The datetime the security scanning status was updated. | [optional]
|
48
|
+
**self_html_url** | **String** | | [optional]
|
49
|
+
**self_url** | **String** | | [optional]
|
50
|
+
**signature_url** | **String** | | [optional]
|
51
|
+
**size** | **Integer** | The calculated size of the package. | [optional]
|
52
|
+
**slug** | **String** | The public unique identifier for the package. | [optional]
|
53
|
+
**slug_perm** | **String** | | [optional]
|
54
|
+
**stage** | **Integer** | The synchronisation (in progress) stage of the package. | [optional]
|
55
|
+
**stage_str** | **String** | | [optional]
|
56
|
+
**stage_updated_at** | **DateTime** | The datetime the package stage was updated at. | [optional]
|
57
|
+
**status** | **Integer** | The synchronisation status of the package. | [optional]
|
58
|
+
**status_reason** | **String** | A textual description for the synchronous status reason (if any | [optional]
|
59
|
+
**status_str** | **String** | | [optional]
|
60
|
+
**status_updated_at** | **DateTime** | The datetime the package status was updated at. | [optional]
|
61
|
+
**status_url** | **String** | | [optional]
|
62
|
+
**subtype** | **String** | | [optional]
|
63
|
+
**summary** | **String** | A one-liner synopsis of this package. | [optional]
|
64
|
+
**sync_finished_at** | **DateTime** | The datetime the package sync was finished at. | [optional]
|
65
|
+
**sync_progress** | **Integer** | Synchronisation progress (from 0-100) | [optional]
|
66
|
+
**tags_immutable** | [**Tags**](Tags.md) | | [optional]
|
67
|
+
**type_display** | **String** | | [optional]
|
68
|
+
**uploaded_at** | **DateTime** | The date this package was uploaded. | [optional]
|
69
|
+
**uploader** | **String** | | [optional]
|
70
|
+
**uploader_url** | **String** | | [optional]
|
71
|
+
**version** | **String** | The raw version for this package. | [optional]
|
72
|
+
**version_orig** | **String** | | [optional]
|
73
|
+
**vulnerability_scan_results_url** | **String** | | [optional]
|
74
|
+
|
75
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# CloudsmithApi::HexPackageUploadRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**package_file** | **String** | The primary file for the package. |
|
7
|
+
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
8
|
+
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
9
|
+
|
10
|
+
|
data/docs/NestedLicensePolicy.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**description** | **String** | | [optional]
|
9
9
|
**name** | **String** | | [optional]
|
10
10
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
11
|
+
**package_query_string** | **String** | | [optional]
|
11
12
|
**slug_perm** | **String** | | [optional]
|
12
13
|
**spdx_identifiers** | **Array<String>** | |
|
13
14
|
**updated_at** | **DateTime** | | [optional]
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**min_severity** | **String** | | [optional] [default to 'Critical']
|
10
10
|
**name** | **String** | | [optional]
|
11
11
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
12
|
+
**package_query_string** | **String** | | [optional]
|
12
13
|
**slug_perm** | **String** | | [optional]
|
13
14
|
**updated_at** | **DateTime** | | [optional]
|
14
15
|
**url** | **String** | | [optional]
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**identifier** | **String** | |
|
9
9
|
**max_severity** | **String** | | [optional] [default to 'Unknown']
|
10
10
|
**num_vulnerabilities** | **Integer** | | [optional]
|
11
|
-
**scan_id** | **Integer** |
|
11
|
+
**scan_id** | **Integer** | Deprecated (23-05-15): Please use 'identifier' instead. Previously: A monotonically increasing number that identified a scan within a repository. |
|
12
12
|
**url** | **String** | | [optional]
|
13
13
|
|
14
14
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**description** | **String** | | [optional]
|
9
9
|
**name** | **String** | |
|
10
10
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
11
|
+
**package_query_string** | **String** | | [optional]
|
11
12
|
**slug_perm** | **String** | | [optional]
|
12
13
|
**spdx_identifiers** | **Array<String>** | |
|
13
14
|
**updated_at** | **DateTime** | | [optional]
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**description** | **String** | | [optional]
|
8
8
|
**name** | **String** | |
|
9
9
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
10
|
+
**package_query_string** | **String** | | [optional]
|
10
11
|
**spdx_identifiers** | **Array<String>** | |
|
11
12
|
|
12
13
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**description** | **String** | | [optional]
|
8
8
|
**name** | **String** | | [optional]
|
9
9
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
10
|
+
**package_query_string** | **String** | | [optional]
|
10
11
|
**spdx_identifiers** | **Array<String>** | | [optional]
|
11
12
|
|
12
13
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**min_severity** | **String** | | [optional] [default to 'Critical']
|
10
10
|
**name** | **String** | |
|
11
11
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
12
|
+
**package_query_string** | **String** | | [optional]
|
12
13
|
**slug_perm** | **String** | | [optional]
|
13
14
|
**updated_at** | **DateTime** | | [optional]
|
14
15
|
|
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
|
|
8
8
|
**min_severity** | **String** | | [optional] [default to 'Critical']
|
9
9
|
**name** | **String** | | [optional]
|
10
10
|
**on_violation_quarantine** | **BOOLEAN** | | [optional]
|
11
|
+
**package_query_string** | **String** | | [optional]
|
11
12
|
|
12
13
|
|
data/docs/PackagesApi.md
CHANGED
@@ -27,6 +27,7 @@ Method | HTTP request | Description
|
|
27
27
|
[**packages_upload_docker**](PackagesApi.md#packages_upload_docker) | **POST** /packages/{owner}/{repo}/upload/docker/ | Create a new Docker package
|
28
28
|
[**packages_upload_go**](PackagesApi.md#packages_upload_go) | **POST** /packages/{owner}/{repo}/upload/go/ | Create a new Go package
|
29
29
|
[**packages_upload_helm**](PackagesApi.md#packages_upload_helm) | **POST** /packages/{owner}/{repo}/upload/helm/ | Create a new Helm package
|
30
|
+
[**packages_upload_hex**](PackagesApi.md#packages_upload_hex) | **POST** /packages/{owner}/{repo}/upload/hex/ | Create a new Hex package
|
30
31
|
[**packages_upload_luarocks**](PackagesApi.md#packages_upload_luarocks) | **POST** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package
|
31
32
|
[**packages_upload_maven**](PackagesApi.md#packages_upload_maven) | **POST** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package
|
32
33
|
[**packages_upload_npm**](PackagesApi.md#packages_upload_npm) | **POST** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package
|
@@ -36,6 +37,7 @@ Method | HTTP request | Description
|
|
36
37
|
[**packages_upload_raw**](PackagesApi.md#packages_upload_raw) | **POST** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package
|
37
38
|
[**packages_upload_rpm**](PackagesApi.md#packages_upload_rpm) | **POST** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package
|
38
39
|
[**packages_upload_ruby**](PackagesApi.md#packages_upload_ruby) | **POST** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package
|
40
|
+
[**packages_upload_swift**](PackagesApi.md#packages_upload_swift) | **POST** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package
|
39
41
|
[**packages_upload_terraform**](PackagesApi.md#packages_upload_terraform) | **POST** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package
|
40
42
|
[**packages_upload_vagrant**](PackagesApi.md#packages_upload_vagrant) | **POST** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package
|
41
43
|
[**packages_validate_upload_alpine**](PackagesApi.md#packages_validate_upload_alpine) | **POST** /packages/{owner}/{repo}/validate-upload/alpine/ | Validate parameters for create Alpine package
|
@@ -50,6 +52,7 @@ Method | HTTP request | Description
|
|
50
52
|
[**packages_validate_upload_docker**](PackagesApi.md#packages_validate_upload_docker) | **POST** /packages/{owner}/{repo}/validate-upload/docker/ | Validate parameters for create Docker package
|
51
53
|
[**packages_validate_upload_go**](PackagesApi.md#packages_validate_upload_go) | **POST** /packages/{owner}/{repo}/validate-upload/go/ | Validate parameters for create Go package
|
52
54
|
[**packages_validate_upload_helm**](PackagesApi.md#packages_validate_upload_helm) | **POST** /packages/{owner}/{repo}/validate-upload/helm/ | Validate parameters for create Helm package
|
55
|
+
[**packages_validate_upload_hex**](PackagesApi.md#packages_validate_upload_hex) | **POST** /packages/{owner}/{repo}/validate-upload/hex/ | Validate parameters for create Hex package
|
53
56
|
[**packages_validate_upload_luarocks**](PackagesApi.md#packages_validate_upload_luarocks) | **POST** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package
|
54
57
|
[**packages_validate_upload_maven**](PackagesApi.md#packages_validate_upload_maven) | **POST** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package
|
55
58
|
[**packages_validate_upload_npm**](PackagesApi.md#packages_validate_upload_npm) | **POST** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package
|
@@ -59,6 +62,7 @@ Method | HTTP request | Description
|
|
59
62
|
[**packages_validate_upload_raw**](PackagesApi.md#packages_validate_upload_raw) | **POST** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package
|
60
63
|
[**packages_validate_upload_rpm**](PackagesApi.md#packages_validate_upload_rpm) | **POST** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package
|
61
64
|
[**packages_validate_upload_ruby**](PackagesApi.md#packages_validate_upload_ruby) | **POST** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package
|
65
|
+
[**packages_validate_upload_swift**](PackagesApi.md#packages_validate_upload_swift) | **POST** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package
|
62
66
|
[**packages_validate_upload_terraform**](PackagesApi.md#packages_validate_upload_terraform) | **POST** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package
|
63
67
|
[**packages_validate_upload_vagrant**](PackagesApi.md#packages_validate_upload_vagrant) | **POST** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package
|
64
68
|
|
@@ -1477,6 +1481,67 @@ Name | Type | Description | Notes
|
|
1477
1481
|
|
1478
1482
|
|
1479
1483
|
|
1484
|
+
# **packages_upload_hex**
|
1485
|
+
> HexPackageUpload packages_upload_hex(owner, repo, opts)
|
1486
|
+
|
1487
|
+
Create a new Hex package
|
1488
|
+
|
1489
|
+
Create a new Hex package
|
1490
|
+
|
1491
|
+
### Example
|
1492
|
+
```ruby
|
1493
|
+
# load the gem
|
1494
|
+
require 'cloudsmith-api'
|
1495
|
+
# setup authorization
|
1496
|
+
CloudsmithApi.configure do |config|
|
1497
|
+
# Configure API key authorization: apikey
|
1498
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
1499
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1500
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
1501
|
+
end
|
1502
|
+
|
1503
|
+
api_instance = CloudsmithApi::PackagesApi.new
|
1504
|
+
|
1505
|
+
owner = 'owner_example' # String |
|
1506
|
+
|
1507
|
+
repo = 'repo_example' # String |
|
1508
|
+
|
1509
|
+
opts = {
|
1510
|
+
data: CloudsmithApi::HexPackageUploadRequest.new # HexPackageUploadRequest |
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
begin
|
1514
|
+
#Create a new Hex package
|
1515
|
+
result = api_instance.packages_upload_hex(owner, repo, opts)
|
1516
|
+
p result
|
1517
|
+
rescue CloudsmithApi::ApiError => e
|
1518
|
+
puts "Exception when calling PackagesApi->packages_upload_hex: #{e}"
|
1519
|
+
end
|
1520
|
+
```
|
1521
|
+
|
1522
|
+
### Parameters
|
1523
|
+
|
1524
|
+
Name | Type | Description | Notes
|
1525
|
+
------------- | ------------- | ------------- | -------------
|
1526
|
+
**owner** | **String**| |
|
1527
|
+
**repo** | **String**| |
|
1528
|
+
**data** | [**HexPackageUploadRequest**](HexPackageUploadRequest.md)| | [optional]
|
1529
|
+
|
1530
|
+
### Return type
|
1531
|
+
|
1532
|
+
[**HexPackageUpload**](HexPackageUpload.md)
|
1533
|
+
|
1534
|
+
### Authorization
|
1535
|
+
|
1536
|
+
[apikey](../README.md#apikey)
|
1537
|
+
|
1538
|
+
### HTTP request headers
|
1539
|
+
|
1540
|
+
- **Content-Type**: application/json
|
1541
|
+
- **Accept**: application/json
|
1542
|
+
|
1543
|
+
|
1544
|
+
|
1480
1545
|
# **packages_upload_luarocks**
|
1481
1546
|
> LuarocksPackageUpload packages_upload_luarocks(owner, repo, opts)
|
1482
1547
|
|
@@ -2026,6 +2091,67 @@ Name | Type | Description | Notes
|
|
2026
2091
|
|
2027
2092
|
|
2028
2093
|
|
2094
|
+
# **packages_upload_swift**
|
2095
|
+
> SwiftPackageUpload packages_upload_swift(owner, repo, opts)
|
2096
|
+
|
2097
|
+
Create a new Swift package
|
2098
|
+
|
2099
|
+
Create a new Swift package
|
2100
|
+
|
2101
|
+
### Example
|
2102
|
+
```ruby
|
2103
|
+
# load the gem
|
2104
|
+
require 'cloudsmith-api'
|
2105
|
+
# setup authorization
|
2106
|
+
CloudsmithApi.configure do |config|
|
2107
|
+
# Configure API key authorization: apikey
|
2108
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
2109
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
2110
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
2111
|
+
end
|
2112
|
+
|
2113
|
+
api_instance = CloudsmithApi::PackagesApi.new
|
2114
|
+
|
2115
|
+
owner = 'owner_example' # String |
|
2116
|
+
|
2117
|
+
repo = 'repo_example' # String |
|
2118
|
+
|
2119
|
+
opts = {
|
2120
|
+
data: CloudsmithApi::SwiftPackageUploadRequest.new # SwiftPackageUploadRequest |
|
2121
|
+
}
|
2122
|
+
|
2123
|
+
begin
|
2124
|
+
#Create a new Swift package
|
2125
|
+
result = api_instance.packages_upload_swift(owner, repo, opts)
|
2126
|
+
p result
|
2127
|
+
rescue CloudsmithApi::ApiError => e
|
2128
|
+
puts "Exception when calling PackagesApi->packages_upload_swift: #{e}"
|
2129
|
+
end
|
2130
|
+
```
|
2131
|
+
|
2132
|
+
### Parameters
|
2133
|
+
|
2134
|
+
Name | Type | Description | Notes
|
2135
|
+
------------- | ------------- | ------------- | -------------
|
2136
|
+
**owner** | **String**| |
|
2137
|
+
**repo** | **String**| |
|
2138
|
+
**data** | [**SwiftPackageUploadRequest**](SwiftPackageUploadRequest.md)| | [optional]
|
2139
|
+
|
2140
|
+
### Return type
|
2141
|
+
|
2142
|
+
[**SwiftPackageUpload**](SwiftPackageUpload.md)
|
2143
|
+
|
2144
|
+
### Authorization
|
2145
|
+
|
2146
|
+
[apikey](../README.md#apikey)
|
2147
|
+
|
2148
|
+
### HTTP request headers
|
2149
|
+
|
2150
|
+
- **Content-Type**: application/json
|
2151
|
+
- **Accept**: application/json
|
2152
|
+
|
2153
|
+
|
2154
|
+
|
2029
2155
|
# **packages_upload_terraform**
|
2030
2156
|
> TerraformPackageUpload packages_upload_terraform(owner, repo, opts)
|
2031
2157
|
|
@@ -2868,6 +2994,66 @@ nil (empty response body)
|
|
2868
2994
|
|
2869
2995
|
|
2870
2996
|
|
2997
|
+
# **packages_validate_upload_hex**
|
2998
|
+
> packages_validate_upload_hex(owner, repo, opts)
|
2999
|
+
|
3000
|
+
Validate parameters for create Hex package
|
3001
|
+
|
3002
|
+
Validate parameters for create Hex package
|
3003
|
+
|
3004
|
+
### Example
|
3005
|
+
```ruby
|
3006
|
+
# load the gem
|
3007
|
+
require 'cloudsmith-api'
|
3008
|
+
# setup authorization
|
3009
|
+
CloudsmithApi.configure do |config|
|
3010
|
+
# Configure API key authorization: apikey
|
3011
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
3012
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3013
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
3014
|
+
end
|
3015
|
+
|
3016
|
+
api_instance = CloudsmithApi::PackagesApi.new
|
3017
|
+
|
3018
|
+
owner = 'owner_example' # String |
|
3019
|
+
|
3020
|
+
repo = 'repo_example' # String |
|
3021
|
+
|
3022
|
+
opts = {
|
3023
|
+
data: CloudsmithApi::HexPackageUploadRequest.new # HexPackageUploadRequest |
|
3024
|
+
}
|
3025
|
+
|
3026
|
+
begin
|
3027
|
+
#Validate parameters for create Hex package
|
3028
|
+
api_instance.packages_validate_upload_hex(owner, repo, opts)
|
3029
|
+
rescue CloudsmithApi::ApiError => e
|
3030
|
+
puts "Exception when calling PackagesApi->packages_validate_upload_hex: #{e}"
|
3031
|
+
end
|
3032
|
+
```
|
3033
|
+
|
3034
|
+
### Parameters
|
3035
|
+
|
3036
|
+
Name | Type | Description | Notes
|
3037
|
+
------------- | ------------- | ------------- | -------------
|
3038
|
+
**owner** | **String**| |
|
3039
|
+
**repo** | **String**| |
|
3040
|
+
**data** | [**HexPackageUploadRequest**](HexPackageUploadRequest.md)| | [optional]
|
3041
|
+
|
3042
|
+
### Return type
|
3043
|
+
|
3044
|
+
nil (empty response body)
|
3045
|
+
|
3046
|
+
### Authorization
|
3047
|
+
|
3048
|
+
[apikey](../README.md#apikey)
|
3049
|
+
|
3050
|
+
### HTTP request headers
|
3051
|
+
|
3052
|
+
- **Content-Type**: application/json
|
3053
|
+
- **Accept**: application/json
|
3054
|
+
|
3055
|
+
|
3056
|
+
|
2871
3057
|
# **packages_validate_upload_luarocks**
|
2872
3058
|
> packages_validate_upload_luarocks(owner, repo, opts)
|
2873
3059
|
|
@@ -3408,6 +3594,66 @@ nil (empty response body)
|
|
3408
3594
|
|
3409
3595
|
|
3410
3596
|
|
3597
|
+
# **packages_validate_upload_swift**
|
3598
|
+
> packages_validate_upload_swift(owner, repo, opts)
|
3599
|
+
|
3600
|
+
Validate parameters for create Swift package
|
3601
|
+
|
3602
|
+
Validate parameters for create Swift package
|
3603
|
+
|
3604
|
+
### Example
|
3605
|
+
```ruby
|
3606
|
+
# load the gem
|
3607
|
+
require 'cloudsmith-api'
|
3608
|
+
# setup authorization
|
3609
|
+
CloudsmithApi.configure do |config|
|
3610
|
+
# Configure API key authorization: apikey
|
3611
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
3612
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
3613
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
3614
|
+
end
|
3615
|
+
|
3616
|
+
api_instance = CloudsmithApi::PackagesApi.new
|
3617
|
+
|
3618
|
+
owner = 'owner_example' # String |
|
3619
|
+
|
3620
|
+
repo = 'repo_example' # String |
|
3621
|
+
|
3622
|
+
opts = {
|
3623
|
+
data: CloudsmithApi::SwiftPackageUploadRequest.new # SwiftPackageUploadRequest |
|
3624
|
+
}
|
3625
|
+
|
3626
|
+
begin
|
3627
|
+
#Validate parameters for create Swift package
|
3628
|
+
api_instance.packages_validate_upload_swift(owner, repo, opts)
|
3629
|
+
rescue CloudsmithApi::ApiError => e
|
3630
|
+
puts "Exception when calling PackagesApi->packages_validate_upload_swift: #{e}"
|
3631
|
+
end
|
3632
|
+
```
|
3633
|
+
|
3634
|
+
### Parameters
|
3635
|
+
|
3636
|
+
Name | Type | Description | Notes
|
3637
|
+
------------- | ------------- | ------------- | -------------
|
3638
|
+
**owner** | **String**| |
|
3639
|
+
**repo** | **String**| |
|
3640
|
+
**data** | [**SwiftPackageUploadRequest**](SwiftPackageUploadRequest.md)| | [optional]
|
3641
|
+
|
3642
|
+
### Return type
|
3643
|
+
|
3644
|
+
nil (empty response body)
|
3645
|
+
|
3646
|
+
### Authorization
|
3647
|
+
|
3648
|
+
[apikey](../README.md#apikey)
|
3649
|
+
|
3650
|
+
### HTTP request headers
|
3651
|
+
|
3652
|
+
- **Content-Type**: application/json
|
3653
|
+
- **Accept**: application/json
|
3654
|
+
|
3655
|
+
|
3656
|
+
|
3411
3657
|
# **packages_validate_upload_terraform**
|
3412
3658
|
> packages_validate_upload_terraform(owner, repo, opts)
|
3413
3659
|
|
data/docs/RepositoryToken.md
CHANGED
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**eula_accepted_from** | **String** | | [optional]
|
17
17
|
**eula_required** | **BOOLEAN** | If checked, a EULA acceptance is required for this token. | [optional]
|
18
18
|
**has_limits** | **BOOLEAN** | | [optional]
|
19
|
-
**identifier** | **Integer** |
|
19
|
+
**identifier** | **Integer** | Deprecated (23-05-15): Please use 'slug_perm' instead. Previously: A monotonically increasing number that identified an entitlement within a repository. | [optional]
|
20
20
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
21
21
|
**is_limited** | **BOOLEAN** | | [optional]
|
22
22
|
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**eula_accepted_from** | **String** | | [optional]
|
17
17
|
**eula_required** | **BOOLEAN** | If checked, a EULA acceptance is required for this token. | [optional]
|
18
18
|
**has_limits** | **BOOLEAN** | | [optional]
|
19
|
-
**identifier** | **Integer** |
|
19
|
+
**identifier** | **Integer** | Deprecated (23-05-15): Please use 'slug_perm' instead. Previously: A monotonically increasing number that identified an entitlement within a repository. | [optional]
|
20
20
|
**is_active** | **BOOLEAN** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional]
|
21
21
|
**is_limited** | **BOOLEAN** | | [optional]
|
22
22
|
**limit_bandwidth** | **Integer** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional]
|
data/docs/RepositoryWebhook.md
CHANGED
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**disable_reason** | **Integer** | | [optional]
|
10
10
|
**disable_reason_str** | **String** | | [optional]
|
11
11
|
**events** | **Array<String>** | |
|
12
|
-
**identifier** | **Integer** |
|
12
|
+
**identifier** | **Integer** | Deprecated (23-05-15): Please use 'slug_perm' instead. Previously: A monotonically increasing number that identified a webhook request within a repository. | [optional]
|
13
13
|
**is_active** | **BOOLEAN** | If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. | [optional]
|
14
14
|
**is_last_response_bad** | **BOOLEAN** | | [optional]
|
15
15
|
**last_response_status** | **Integer** | | [optional]
|