pulp_ostree_client 2.4.5 → 2.4.6
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/README.md +16 -12
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentCommitsApi.md +80 -47
- data/docs/ContentConfigsApi.md +79 -46
- data/docs/ContentContentApi.md +107 -57
- data/docs/ContentObjectsApi.md +80 -47
- data/docs/ContentRefsApi.md +90 -57
- data/docs/ContentSummariesApi.md +79 -46
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsOstreeApi.md +385 -182
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/OstreeImportAll.md +10 -9
- data/docs/OstreeImportCommitsToRef.md +12 -11
- data/docs/OstreeOstreeCommitResponse.md +24 -23
- data/docs/OstreeOstreeConfigResponse.md +18 -17
- data/docs/OstreeOstreeContent.md +14 -13
- data/docs/OstreeOstreeContentResponse.md +20 -19
- data/docs/OstreeOstreeDistribution.md +20 -19
- data/docs/OstreeOstreeDistributionResponse.md +32 -31
- data/docs/OstreeOstreeObjectResponse.md +22 -21
- data/docs/OstreeOstreeRefResponse.md +24 -23
- data/docs/OstreeOstreeRemote.md +54 -53
- data/docs/OstreeOstreeRemoteResponse.md +54 -53
- data/docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/OstreeOstreeRepository.md +18 -17
- data/docs/OstreeOstreeRepositoryResponse.md +30 -29
- data/docs/OstreeOstreeSummaryResponse.md +18 -17
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeCommitResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeConfigResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeContentResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeDistributionResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeObjectResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeRefResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeRemoteResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeRepositoryResponseList.md +14 -13
- data/docs/PaginatedostreeOstreeSummaryResponseList.md +14 -13
- data/docs/PatchedostreeOstreeDistribution.md +20 -19
- data/docs/PatchedostreeOstreeRemote.md +54 -53
- data/docs/PatchedostreeOstreeRepository.md +18 -17
- data/docs/PolicyEnum.md +4 -5
- data/docs/RemotesOstreeApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesOstreeApi.md +502 -231
- data/docs/RepositoriesOstreeVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositorySyncURL.md +10 -9
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_ostree_client/api/content_commits_api.rb +11 -9
- data/lib/pulp_ostree_client/api/content_configs_api.rb +11 -9
- data/lib/pulp_ostree_client/api/content_content_api.rb +20 -14
- data/lib/pulp_ostree_client/api/content_objects_api.rb +11 -9
- data/lib/pulp_ostree_client/api/content_refs_api.rb +11 -9
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +11 -9
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +89 -56
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +104 -68
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +125 -76
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +40 -30
- data/lib/pulp_ostree_client/api_client.rb +137 -102
- data/lib/pulp_ostree_client/api_error.rb +2 -1
- data/lib/pulp_ostree_client/configuration.rb +162 -21
- data/lib/pulp_ostree_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_ostree_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_ostree_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_ostree_client/models/nested_role.rb +32 -22
- data/lib/pulp_ostree_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_ostree_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_ostree_client/models/ostree_import_all.rb +34 -22
- data/lib/pulp_ostree_client/models/ostree_import_commits_to_ref.rb +36 -22
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +40 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +36 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +36 -22
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +38 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +34 -22
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +36 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +40 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +40 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +61 -23
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +64 -26
- data/lib/pulp_ostree_client/models/{ostree_ostree_remote_response_hidden_fields.rb → ostree_ostree_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +32 -22
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +34 -24
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +36 -24
- data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +34 -22
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +40 -24
- data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +67 -25
- data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +35 -23
- data/lib/pulp_ostree_client/models/policy_enum.rb +8 -4
- data/lib/pulp_ostree_client/models/repair.rb +30 -22
- data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_ostree_client/models/repository_sync_url.rb +30 -22
- data/lib/pulp_ostree_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_ostree_client/models/set_label.rb +34 -22
- data/lib/pulp_ostree_client/models/set_label_response.rb +34 -22
- data/lib/pulp_ostree_client/models/unset_label.rb +32 -22
- data/lib/pulp_ostree_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_ostree_client/version.rb +2 -2
- data/lib/pulp_ostree_client.rb +2 -2
- data/pulp_ostree_client.gemspec +9 -6
- data/spec/api/content_commits_api_spec.rb +3 -3
- data/spec/api/content_configs_api_spec.rb +3 -3
- data/spec/api/content_content_api_spec.rb +4 -4
- data/spec/api/content_objects_api_spec.rb +3 -3
- data/spec/api/content_refs_api_spec.rb +3 -3
- data/spec/api/content_summaries_api_spec.rb +3 -3
- data/spec/api/distributions_ostree_api_spec.rb +13 -13
- data/spec/api/remotes_ostree_api_spec.rb +20 -19
- data/spec/api/repositories_ostree_api_spec.rb +17 -17
- data/spec/api/repositories_ostree_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/ostree_import_all_spec.rb +8 -13
- data/spec/models/ostree_import_commits_to_ref_spec.rb +9 -14
- data/spec/models/ostree_ostree_commit_response_spec.rb +15 -20
- data/spec/models/ostree_ostree_config_response_spec.rb +12 -17
- data/spec/models/ostree_ostree_content_response_spec.rb +13 -18
- data/spec/models/ostree_ostree_content_spec.rb +10 -15
- data/spec/models/ostree_ostree_distribution_response_spec.rb +19 -24
- data/spec/models/ostree_ostree_distribution_spec.rb +13 -18
- data/spec/models/ostree_ostree_object_response_spec.rb +14 -19
- data/spec/models/ostree_ostree_ref_response_spec.rb +15 -20
- data/spec/models/{ostree_ostree_remote_response_hidden_fields_spec.rb → ostree_ostree_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/ostree_ostree_remote_response_spec.rb +30 -35
- data/spec/models/ostree_ostree_remote_spec.rb +30 -35
- data/spec/models/ostree_ostree_repository_response_spec.rb +18 -23
- data/spec/models/ostree_ostree_repository_spec.rb +12 -17
- data/spec/models/ostree_ostree_summary_response_spec.rb +12 -17
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +10 -15
- data/spec/models/patchedostree_ostree_distribution_spec.rb +13 -18
- data/spec/models/patchedostree_ostree_remote_spec.rb +30 -35
- data/spec/models/patchedostree_ostree_repository_spec.rb +12 -17
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_sync_url_spec.rb +8 -13
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +84 -60
- data/docs/OstreeOstreeRemoteResponseHiddenFields.md +0 -19
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f04e5c73a416500ac2950a8e313ae5fe6b1bab2d398fac8bfbd73aab1d1fc4f
|
4
|
+
data.tar.gz: 565f3992a13b3637f4701e46211c771580ce8897dacdd17faf03fdbc6446a6b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82309c7de984a2db2a5a19a92c41a88880fb455a6fca1f6aa6d6fa4a25e75bde07c6fb97e07197a8b7c6afad218eab4bafe622d82aa8e0b78e1030fde4df533a
|
7
|
+
data.tar.gz: ad3db8438c3f7c6f7b86f5b4afb0a8079e4a443810d34aff556f5e239aeecdf22bb5354b88ca2bdb12c697de854374ee14df73ccde886eb8a30cbfece6339584
|
data/README.md
CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.4.
|
10
|
+
- Package version: 2.4.6
|
11
|
+
- Generator version: 7.10.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
14
|
|
@@ -24,16 +25,16 @@ gem build pulp_ostree_client.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.4.
|
28
|
+
gem install ./pulp_ostree_client-2.4.6.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.4.
|
31
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.4.6.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'pulp_ostree_client', '~> 2.4.
|
37
|
+
gem 'pulp_ostree_client', '~> 2.4.6'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -62,6 +63,8 @@ PulpOstreeClient.configure do |config|
|
|
62
63
|
# Configure HTTP basic authorization: basicAuth
|
63
64
|
config.username = 'YOUR_USERNAME'
|
64
65
|
config.password = 'YOUR_PASSWORD'
|
66
|
+
# Configure faraday connection
|
67
|
+
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
65
68
|
end
|
66
69
|
|
67
70
|
api_instance = PulpOstreeClient::ContentCommitsApi.new
|
@@ -69,17 +72,17 @@ opts = {
|
|
69
72
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
70
73
|
limit: 56, # Integer | Number of results to return per page.
|
71
74
|
offset: 56, # Integer | The initial index from which to return the results.
|
72
|
-
ordering: ['
|
73
|
-
orphaned_for:
|
74
|
-
prn__in: ['
|
75
|
-
pulp_href__in: ['
|
76
|
-
pulp_id__in: ['
|
75
|
+
ordering: ['-checksum'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
77
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
78
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
79
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
77
80
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
78
81
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
79
82
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
80
83
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
81
|
-
fields: ['
|
82
|
-
exclude_fields: ['
|
84
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
85
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
83
86
|
}
|
84
87
|
|
85
88
|
begin
|
@@ -177,7 +180,7 @@ Class | Method | HTTP request | Description
|
|
177
180
|
- [PulpOstreeClient::OstreeOstreeRefResponse](docs/OstreeOstreeRefResponse.md)
|
178
181
|
- [PulpOstreeClient::OstreeOstreeRemote](docs/OstreeOstreeRemote.md)
|
179
182
|
- [PulpOstreeClient::OstreeOstreeRemoteResponse](docs/OstreeOstreeRemoteResponse.md)
|
180
|
-
- [PulpOstreeClient::
|
183
|
+
- [PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFieldsInner](docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md)
|
181
184
|
- [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
|
182
185
|
- [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
|
183
186
|
- [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
|
@@ -208,6 +211,7 @@ Class | Method | HTTP request | Description
|
|
208
211
|
## Documentation for Authorization
|
209
212
|
|
210
213
|
|
214
|
+
Authentication schemes defined for the API:
|
211
215
|
### basicAuth
|
212
216
|
|
213
217
|
- **Type**: HTTP basic authentication
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**task** | **String** | The href of the task. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **task** | **String** | The href of the task. | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'pulp_ostree_client'
|
13
13
|
|
14
|
-
instance = PulpOstreeClient::AsyncOperationResponse.new(
|
14
|
+
instance = PulpOstreeClient::AsyncOperationResponse.new(
|
15
|
+
task: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ContentCommitsApi.md
CHANGED
@@ -2,25 +2,24 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**list**](ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits
|
8
|
-
[**read**](ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
|
9
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**list**](ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits |
|
8
|
+
| [**read**](ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit |
|
10
9
|
|
11
10
|
|
12
11
|
## list
|
13
12
|
|
14
|
-
> PaginatedostreeOstreeCommitResponseList list(opts)
|
13
|
+
> <PaginatedostreeOstreeCommitResponseList> list(opts)
|
15
14
|
|
16
15
|
List ostree commits
|
17
16
|
|
18
17
|
A ViewSet class for OSTree commits.
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'pulp_ostree_client'
|
25
24
|
# setup authorization
|
26
25
|
PulpOstreeClient.configure do |config|
|
@@ -34,47 +33,64 @@ opts = {
|
|
34
33
|
checksum: 'checksum_example', # String | Filter results where checksum matches value
|
35
34
|
limit: 56, # Integer | Number of results to return per page.
|
36
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
|
-
ordering: ['
|
38
|
-
orphaned_for:
|
39
|
-
prn__in: ['
|
40
|
-
pulp_href__in: ['
|
41
|
-
pulp_id__in: ['
|
36
|
+
ordering: ['-checksum'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
37
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
40
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
42
41
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
43
42
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
44
43
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
45
44
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
46
|
-
fields: ['
|
47
|
-
exclude_fields: ['
|
45
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
46
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
48
47
|
}
|
49
48
|
|
50
49
|
begin
|
51
|
-
#List ostree commits
|
50
|
+
# List ostree commits
|
52
51
|
result = api_instance.list(opts)
|
53
52
|
p result
|
54
53
|
rescue PulpOstreeClient::ApiError => e
|
55
|
-
puts "
|
54
|
+
puts "Error when calling ContentCommitsApi->list: #{e}"
|
56
55
|
end
|
57
56
|
```
|
58
57
|
|
59
|
-
|
58
|
+
#### Using the list_with_http_info variant
|
59
|
+
|
60
|
+
This returns an Array which contains the response data, status code and headers.
|
60
61
|
|
62
|
+
> <Array(<PaginatedostreeOstreeCommitResponseList>, Integer, Hash)> list_with_http_info(opts)
|
63
|
+
|
64
|
+
```ruby
|
65
|
+
begin
|
66
|
+
# List ostree commits
|
67
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
68
|
+
p status_code # => 2xx
|
69
|
+
p headers # => { ... }
|
70
|
+
p data # => <PaginatedostreeOstreeCommitResponseList>
|
71
|
+
rescue PulpOstreeClient::ApiError => e
|
72
|
+
puts "Error when calling ContentCommitsApi->list_with_http_info: #{e}"
|
73
|
+
end
|
74
|
+
```
|
75
|
+
|
76
|
+
### Parameters
|
61
77
|
|
62
|
-
Name | Type | Description
|
63
|
-
|
64
|
-
**checksum** | **String
|
65
|
-
**limit** | **Integer
|
66
|
-
**offset** | **Integer
|
67
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
68
|
-
**orphaned_for** | **Float
|
69
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
70
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
71
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
72
|
-
**q** | **String
|
73
|
-
**repository_version** | **String
|
74
|
-
**repository_version_added** | **String
|
75
|
-
**repository_version_removed** | **String
|
76
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
77
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
78
|
+
| Name | Type | Description | Notes |
|
79
|
+
| ---- | ---- | ----------- | ----- |
|
80
|
+
| **checksum** | **String** | Filter results where checksum matches value | [optional] |
|
81
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
82
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
83
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
84
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
85
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
86
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
87
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
88
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
89
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
90
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
91
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
92
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
93
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
78
94
|
|
79
95
|
### Return type
|
80
96
|
|
@@ -92,16 +108,16 @@ Name | Type | Description | Notes
|
|
92
108
|
|
93
109
|
## read
|
94
110
|
|
95
|
-
> OstreeOstreeCommitResponse read(ostree_ostree_commit_href, opts)
|
111
|
+
> <OstreeOstreeCommitResponse> read(ostree_ostree_commit_href, opts)
|
96
112
|
|
97
113
|
Inspect an ostree commit
|
98
114
|
|
99
115
|
A ViewSet class for OSTree commits.
|
100
116
|
|
101
|
-
###
|
117
|
+
### Examples
|
102
118
|
|
103
119
|
```ruby
|
104
|
-
|
120
|
+
require 'time'
|
105
121
|
require 'pulp_ostree_client'
|
106
122
|
# setup authorization
|
107
123
|
PulpOstreeClient.configure do |config|
|
@@ -113,27 +129,44 @@ end
|
|
113
129
|
api_instance = PulpOstreeClient::ContentCommitsApi.new
|
114
130
|
ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
|
115
131
|
opts = {
|
116
|
-
fields: ['
|
117
|
-
exclude_fields: ['
|
132
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
133
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
118
134
|
}
|
119
135
|
|
120
136
|
begin
|
121
|
-
#Inspect an ostree commit
|
137
|
+
# Inspect an ostree commit
|
122
138
|
result = api_instance.read(ostree_ostree_commit_href, opts)
|
123
139
|
p result
|
124
140
|
rescue PulpOstreeClient::ApiError => e
|
125
|
-
puts "
|
141
|
+
puts "Error when calling ContentCommitsApi->read: #{e}"
|
126
142
|
end
|
127
143
|
```
|
128
144
|
|
129
|
-
|
145
|
+
#### Using the read_with_http_info variant
|
146
|
+
|
147
|
+
This returns an Array which contains the response data, status code and headers.
|
148
|
+
|
149
|
+
> <Array(<OstreeOstreeCommitResponse>, Integer, Hash)> read_with_http_info(ostree_ostree_commit_href, opts)
|
150
|
+
|
151
|
+
```ruby
|
152
|
+
begin
|
153
|
+
# Inspect an ostree commit
|
154
|
+
data, status_code, headers = api_instance.read_with_http_info(ostree_ostree_commit_href, opts)
|
155
|
+
p status_code # => 2xx
|
156
|
+
p headers # => { ... }
|
157
|
+
p data # => <OstreeOstreeCommitResponse>
|
158
|
+
rescue PulpOstreeClient::ApiError => e
|
159
|
+
puts "Error when calling ContentCommitsApi->read_with_http_info: #{e}"
|
160
|
+
end
|
161
|
+
```
|
130
162
|
|
163
|
+
### Parameters
|
131
164
|
|
132
|
-
Name | Type | Description
|
133
|
-
|
134
|
-
**ostree_ostree_commit_href** | **String
|
135
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
136
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
165
|
+
| Name | Type | Description | Notes |
|
166
|
+
| ---- | ---- | ----------- | ----- |
|
167
|
+
| **ostree_ostree_commit_href** | **String** | | |
|
168
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
169
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
137
170
|
|
138
171
|
### Return type
|
139
172
|
|
data/docs/ContentConfigsApi.md
CHANGED
@@ -2,25 +2,24 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**list**](ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
|
8
|
-
[**read**](ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
|
9
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**list**](ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs |
|
8
|
+
| [**read**](ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config |
|
10
9
|
|
11
10
|
|
12
11
|
## list
|
13
12
|
|
14
|
-
> PaginatedostreeOstreeConfigResponseList list(opts)
|
13
|
+
> <PaginatedostreeOstreeConfigResponseList> list(opts)
|
15
14
|
|
16
15
|
List ostree configs
|
17
16
|
|
18
17
|
A ViewSet class for OSTree repository configurations.
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'pulp_ostree_client'
|
25
24
|
# setup authorization
|
26
25
|
PulpOstreeClient.configure do |config|
|
@@ -33,46 +32,63 @@ api_instance = PulpOstreeClient::ContentConfigsApi.new
|
|
33
32
|
opts = {
|
34
33
|
limit: 56, # Integer | Number of results to return per page.
|
35
34
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
|
-
ordering: ['
|
37
|
-
orphaned_for:
|
38
|
-
prn__in: ['
|
39
|
-
pulp_href__in: ['
|
40
|
-
pulp_id__in: ['
|
35
|
+
ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
36
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
37
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
38
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
39
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
41
40
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
42
41
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
43
42
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
44
43
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
45
|
-
fields: ['
|
46
|
-
exclude_fields: ['
|
44
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
45
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
47
46
|
}
|
48
47
|
|
49
48
|
begin
|
50
|
-
#List ostree configs
|
49
|
+
# List ostree configs
|
51
50
|
result = api_instance.list(opts)
|
52
51
|
p result
|
53
52
|
rescue PulpOstreeClient::ApiError => e
|
54
|
-
puts "
|
53
|
+
puts "Error when calling ContentConfigsApi->list: #{e}"
|
55
54
|
end
|
56
55
|
```
|
57
56
|
|
58
|
-
|
57
|
+
#### Using the list_with_http_info variant
|
58
|
+
|
59
|
+
This returns an Array which contains the response data, status code and headers.
|
59
60
|
|
61
|
+
> <Array(<PaginatedostreeOstreeConfigResponseList>, Integer, Hash)> list_with_http_info(opts)
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
begin
|
65
|
+
# List ostree configs
|
66
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
67
|
+
p status_code # => 2xx
|
68
|
+
p headers # => { ... }
|
69
|
+
p data # => <PaginatedostreeOstreeConfigResponseList>
|
70
|
+
rescue PulpOstreeClient::ApiError => e
|
71
|
+
puts "Error when calling ContentConfigsApi->list_with_http_info: #{e}"
|
72
|
+
end
|
73
|
+
```
|
74
|
+
|
75
|
+
### Parameters
|
60
76
|
|
61
|
-
Name | Type | Description
|
62
|
-
|
63
|
-
**limit** | **Integer
|
64
|
-
**offset** | **Integer
|
65
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
66
|
-
**orphaned_for** | **Float
|
67
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
68
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
69
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
70
|
-
**q** | **String
|
71
|
-
**repository_version** | **String
|
72
|
-
**repository_version_added** | **String
|
73
|
-
**repository_version_removed** | **String
|
74
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
75
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
77
|
+
| Name | Type | Description | Notes |
|
78
|
+
| ---- | ---- | ----------- | ----- |
|
79
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
80
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
81
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
82
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
83
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
84
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
85
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
86
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
87
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
88
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
89
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
90
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
91
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
76
92
|
|
77
93
|
### Return type
|
78
94
|
|
@@ -90,16 +106,16 @@ Name | Type | Description | Notes
|
|
90
106
|
|
91
107
|
## read
|
92
108
|
|
93
|
-
> OstreeOstreeConfigResponse read(ostree_ostree_config_href, opts)
|
109
|
+
> <OstreeOstreeConfigResponse> read(ostree_ostree_config_href, opts)
|
94
110
|
|
95
111
|
Inspect an ostree config
|
96
112
|
|
97
113
|
A ViewSet class for OSTree repository configurations.
|
98
114
|
|
99
|
-
###
|
115
|
+
### Examples
|
100
116
|
|
101
117
|
```ruby
|
102
|
-
|
118
|
+
require 'time'
|
103
119
|
require 'pulp_ostree_client'
|
104
120
|
# setup authorization
|
105
121
|
PulpOstreeClient.configure do |config|
|
@@ -111,27 +127,44 @@ end
|
|
111
127
|
api_instance = PulpOstreeClient::ContentConfigsApi.new
|
112
128
|
ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
|
113
129
|
opts = {
|
114
|
-
fields: ['
|
115
|
-
exclude_fields: ['
|
130
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
131
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
116
132
|
}
|
117
133
|
|
118
134
|
begin
|
119
|
-
#Inspect an ostree config
|
135
|
+
# Inspect an ostree config
|
120
136
|
result = api_instance.read(ostree_ostree_config_href, opts)
|
121
137
|
p result
|
122
138
|
rescue PulpOstreeClient::ApiError => e
|
123
|
-
puts "
|
139
|
+
puts "Error when calling ContentConfigsApi->read: #{e}"
|
124
140
|
end
|
125
141
|
```
|
126
142
|
|
127
|
-
|
143
|
+
#### Using the read_with_http_info variant
|
144
|
+
|
145
|
+
This returns an Array which contains the response data, status code and headers.
|
146
|
+
|
147
|
+
> <Array(<OstreeOstreeConfigResponse>, Integer, Hash)> read_with_http_info(ostree_ostree_config_href, opts)
|
148
|
+
|
149
|
+
```ruby
|
150
|
+
begin
|
151
|
+
# Inspect an ostree config
|
152
|
+
data, status_code, headers = api_instance.read_with_http_info(ostree_ostree_config_href, opts)
|
153
|
+
p status_code # => 2xx
|
154
|
+
p headers # => { ... }
|
155
|
+
p data # => <OstreeOstreeConfigResponse>
|
156
|
+
rescue PulpOstreeClient::ApiError => e
|
157
|
+
puts "Error when calling ContentConfigsApi->read_with_http_info: #{e}"
|
158
|
+
end
|
159
|
+
```
|
128
160
|
|
161
|
+
### Parameters
|
129
162
|
|
130
|
-
Name | Type | Description
|
131
|
-
|
132
|
-
**ostree_ostree_config_href** | **String
|
133
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
134
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
163
|
+
| Name | Type | Description | Notes |
|
164
|
+
| ---- | ---- | ----------- | ----- |
|
165
|
+
| **ostree_ostree_config_href** | **String** | | |
|
166
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
167
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
135
168
|
|
136
169
|
### Return type
|
137
170
|
|