pulp_ostree_client 2.2.1 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -4
- data/docs/ContentCommitsApi.md +2 -0
- data/docs/ContentConfigsApi.md +2 -0
- data/docs/ContentContentApi.md +56 -0
- data/docs/ContentObjectsApi.md +2 -0
- data/docs/ContentRefsApi.md +2 -0
- data/docs/ContentSummariesApi.md +2 -0
- data/docs/DistributionsOstreeApi.md +232 -0
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/OstreeOstreeCommitResponse.md +2 -0
- data/docs/OstreeOstreeConfigResponse.md +2 -0
- data/docs/OstreeOstreeContent.md +23 -0
- data/docs/OstreeOstreeContentResponse.md +2 -0
- data/docs/OstreeOstreeDistributionResponse.md +2 -0
- data/docs/OstreeOstreeObjectResponse.md +2 -0
- data/docs/OstreeOstreeRefResponse.md +2 -0
- data/docs/OstreeOstreeRemoteResponse.md +2 -2
- data/docs/OstreeOstreeRemoteResponseHiddenFields.md +2 -2
- data/docs/OstreeOstreeRepositoryResponse.md +2 -0
- data/docs/OstreeOstreeSummaryResponse.md +2 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeCommitResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeConfigResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeContentResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeDistributionResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeObjectResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeRefResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeRemoteResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeRepositoryResponseList.md +2 -2
- data/docs/PaginatedostreeOstreeSummaryResponseList.md +2 -2
- data/docs/RemotesOstreeApi.md +232 -0
- data/docs/RepositoriesOstreeApi.md +232 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ostree_client/api/content_commits_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +67 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +3 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +276 -0
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +276 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +276 -0
- data/lib/pulp_ostree_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ostree_client/models/nested_role.rb +253 -0
- data/lib/pulp_ostree_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ostree_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +289 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +11 -11
- data/lib/pulp_ostree_client/models/ostree_ostree_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +11 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +11 -1
- data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +10 -0
- data/lib/pulp_ostree_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +5 -0
- data/spec/api/content_commits_api_spec.rb +1 -0
- data/spec/api/content_configs_api_spec.rb +1 -0
- data/spec/api/content_content_api_spec.rb +13 -0
- data/spec/api/content_objects_api_spec.rb +1 -0
- data/spec/api/content_refs_api_spec.rb +1 -0
- data/spec/api/content_summaries_api_spec.rb +1 -0
- data/spec/api/distributions_ostree_api_spec.rb +54 -0
- data/spec/api/remotes_ostree_api_spec.rb +54 -0
- data/spec/api/repositories_ostree_api_spec.rb +54 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_content_spec.rb +59 -0
- data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_remote_response_spec.rb +6 -6
- data/spec/models/ostree_ostree_repository_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +55 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fabc43e65a33bb55b36ee8fe7ed6e292989ce7432cc292e20f01f17fde0db6a
|
4
|
+
data.tar.gz: 0e26baedf932e17c7b2a8c997de0eb4d3f8b15e8e2fe776ea23536d675edc3d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0209f022b02465e8fbcd3aff489b9837864c57939d8a6ef2579b1cefb469e7e92d75dfcec6a6f88f56aa9a61462f518b09bef732e1ca5549af1f041baa2991e9'
|
7
|
+
data.tar.gz: 80149617720d2c6a0cb12e547789c2f1856239701e47b79edec882b7503491916e3830a8fad17b0e1d567529731c371989834934ce90c90c1f987b070b15ecb2
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ 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.
|
10
|
+
- Package version: 2.3.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ostree_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ostree_client-2.
|
27
|
+
gem install ./pulp_ostree_client-2.3.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ostree_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_ostree_client-2.3.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ostree_client', '~> 2.
|
36
|
+
gem 'pulp_ostree_client', '~> 2.3.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -70,6 +70,7 @@ opts = {
|
|
70
70
|
limit: 56, # Integer | Number of results to return per page.
|
71
71
|
offset: 56, # Integer | The initial index from which to return the results.
|
72
72
|
ordering: ['ordering_example'], # 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)
|
73
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
73
74
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
74
75
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
75
76
|
q: 'q_example', # String |
|
@@ -100,6 +101,7 @@ Class | Method | HTTP request | Description
|
|
100
101
|
*PulpOstreeClient::ContentCommitsApi* | [**read**](docs/ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
|
101
102
|
*PulpOstreeClient::ContentConfigsApi* | [**list**](docs/ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
|
102
103
|
*PulpOstreeClient::ContentConfigsApi* | [**read**](docs/ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
|
104
|
+
*PulpOstreeClient::ContentContentApi* | [**create**](docs/ContentContentApi.md#create) | **POST** /pulp/api/v3/content/ostree/content/ | Create an ostree content
|
103
105
|
*PulpOstreeClient::ContentContentApi* | [**list**](docs/ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
|
104
106
|
*PulpOstreeClient::ContentContentApi* | [**read**](docs/ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
|
105
107
|
*PulpOstreeClient::ContentObjectsApi* | [**list**](docs/ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects
|
@@ -108,30 +110,42 @@ Class | Method | HTTP request | Description
|
|
108
110
|
*PulpOstreeClient::ContentRefsApi* | [**read**](docs/ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref
|
109
111
|
*PulpOstreeClient::ContentSummariesApi* | [**list**](docs/ContentSummariesApi.md#list) | **GET** /pulp/api/v3/content/ostree/summaries/ | List ostree summarys
|
110
112
|
*PulpOstreeClient::ContentSummariesApi* | [**read**](docs/ContentSummariesApi.md#read) | **GET** {ostree_ostree_summary_href} | Inspect an ostree summary
|
113
|
+
*PulpOstreeClient::DistributionsOstreeApi* | [**add_role**](docs/DistributionsOstreeApi.md#add_role) | **POST** {ostree_ostree_distribution_href}add_role/ | Add a role
|
111
114
|
*PulpOstreeClient::DistributionsOstreeApi* | [**create**](docs/DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
|
112
115
|
*PulpOstreeClient::DistributionsOstreeApi* | [**delete**](docs/DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
|
113
116
|
*PulpOstreeClient::DistributionsOstreeApi* | [**list**](docs/DistributionsOstreeApi.md#list) | **GET** /pulp/api/v3/distributions/ostree/ostree/ | List ostree distributions
|
117
|
+
*PulpOstreeClient::DistributionsOstreeApi* | [**list_roles**](docs/DistributionsOstreeApi.md#list_roles) | **GET** {ostree_ostree_distribution_href}list_roles/ | List roles
|
118
|
+
*PulpOstreeClient::DistributionsOstreeApi* | [**my_permissions**](docs/DistributionsOstreeApi.md#my_permissions) | **GET** {ostree_ostree_distribution_href}my_permissions/ | List user permissions
|
114
119
|
*PulpOstreeClient::DistributionsOstreeApi* | [**partial_update**](docs/DistributionsOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_distribution_href} | Update an ostree distribution
|
115
120
|
*PulpOstreeClient::DistributionsOstreeApi* | [**read**](docs/DistributionsOstreeApi.md#read) | **GET** {ostree_ostree_distribution_href} | Inspect an ostree distribution
|
121
|
+
*PulpOstreeClient::DistributionsOstreeApi* | [**remove_role**](docs/DistributionsOstreeApi.md#remove_role) | **POST** {ostree_ostree_distribution_href}remove_role/ | Remove a role
|
116
122
|
*PulpOstreeClient::DistributionsOstreeApi* | [**set_label**](docs/DistributionsOstreeApi.md#set_label) | **POST** {ostree_ostree_distribution_href}set_label/ | Set a label
|
117
123
|
*PulpOstreeClient::DistributionsOstreeApi* | [**unset_label**](docs/DistributionsOstreeApi.md#unset_label) | **POST** {ostree_ostree_distribution_href}unset_label/ | Unset a label
|
118
124
|
*PulpOstreeClient::DistributionsOstreeApi* | [**update**](docs/DistributionsOstreeApi.md#update) | **PUT** {ostree_ostree_distribution_href} | Update an ostree distribution
|
125
|
+
*PulpOstreeClient::RemotesOstreeApi* | [**add_role**](docs/RemotesOstreeApi.md#add_role) | **POST** {ostree_ostree_remote_href}add_role/ | Add a role
|
119
126
|
*PulpOstreeClient::RemotesOstreeApi* | [**create**](docs/RemotesOstreeApi.md#create) | **POST** /pulp/api/v3/remotes/ostree/ostree/ | Create an ostree remote
|
120
127
|
*PulpOstreeClient::RemotesOstreeApi* | [**delete**](docs/RemotesOstreeApi.md#delete) | **DELETE** {ostree_ostree_remote_href} | Delete an ostree remote
|
121
128
|
*PulpOstreeClient::RemotesOstreeApi* | [**list**](docs/RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
|
129
|
+
*PulpOstreeClient::RemotesOstreeApi* | [**list_roles**](docs/RemotesOstreeApi.md#list_roles) | **GET** {ostree_ostree_remote_href}list_roles/ | List roles
|
130
|
+
*PulpOstreeClient::RemotesOstreeApi* | [**my_permissions**](docs/RemotesOstreeApi.md#my_permissions) | **GET** {ostree_ostree_remote_href}my_permissions/ | List user permissions
|
122
131
|
*PulpOstreeClient::RemotesOstreeApi* | [**partial_update**](docs/RemotesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_remote_href} | Update an ostree remote
|
123
132
|
*PulpOstreeClient::RemotesOstreeApi* | [**read**](docs/RemotesOstreeApi.md#read) | **GET** {ostree_ostree_remote_href} | Inspect an ostree remote
|
133
|
+
*PulpOstreeClient::RemotesOstreeApi* | [**remove_role**](docs/RemotesOstreeApi.md#remove_role) | **POST** {ostree_ostree_remote_href}remove_role/ | Remove a role
|
124
134
|
*PulpOstreeClient::RemotesOstreeApi* | [**set_label**](docs/RemotesOstreeApi.md#set_label) | **POST** {ostree_ostree_remote_href}set_label/ | Set a label
|
125
135
|
*PulpOstreeClient::RemotesOstreeApi* | [**unset_label**](docs/RemotesOstreeApi.md#unset_label) | **POST** {ostree_ostree_remote_href}unset_label/ | Unset a label
|
126
136
|
*PulpOstreeClient::RemotesOstreeApi* | [**update**](docs/RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
|
137
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**add_role**](docs/RepositoriesOstreeApi.md#add_role) | **POST** {ostree_ostree_repository_href}add_role/ | Add a role
|
127
138
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**create**](docs/RepositoriesOstreeApi.md#create) | **POST** /pulp/api/v3/repositories/ostree/ostree/ | Create an ostree repository
|
128
139
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**delete**](docs/RepositoriesOstreeApi.md#delete) | **DELETE** {ostree_ostree_repository_href} | Delete an ostree repository
|
129
140
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**import_all**](docs/RepositoriesOstreeApi.md#import_all) | **POST** {ostree_ostree_repository_href}import_all/ | Import refs and commits to a repository
|
130
141
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**import_commits**](docs/RepositoriesOstreeApi.md#import_commits) | **POST** {ostree_ostree_repository_href}import_commits/ | Append child commits to a repository
|
131
142
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**list**](docs/RepositoriesOstreeApi.md#list) | **GET** /pulp/api/v3/repositories/ostree/ostree/ | List ostree repositorys
|
143
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**list_roles**](docs/RepositoriesOstreeApi.md#list_roles) | **GET** {ostree_ostree_repository_href}list_roles/ | List roles
|
132
144
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**modify**](docs/RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify repository
|
145
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**my_permissions**](docs/RepositoriesOstreeApi.md#my_permissions) | **GET** {ostree_ostree_repository_href}my_permissions/ | List user permissions
|
133
146
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**partial_update**](docs/RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
134
147
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**read**](docs/RepositoriesOstreeApi.md#read) | **GET** {ostree_ostree_repository_href} | Inspect an ostree repository
|
148
|
+
*PulpOstreeClient::RepositoriesOstreeApi* | [**remove_role**](docs/RepositoriesOstreeApi.md#remove_role) | **POST** {ostree_ostree_repository_href}remove_role/ | Remove a role
|
135
149
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**set_label**](docs/RepositoriesOstreeApi.md#set_label) | **POST** {ostree_ostree_repository_href}set_label/ | Set a label
|
136
150
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**sync**](docs/RepositoriesOstreeApi.md#sync) | **POST** {ostree_ostree_repository_href}sync/ | Sync from remote
|
137
151
|
*PulpOstreeClient::RepositoriesOstreeApi* | [**unset_label**](docs/RepositoriesOstreeApi.md#unset_label) | **POST** {ostree_ostree_repository_href}unset_label/ | Unset a label
|
@@ -146,10 +160,15 @@ Class | Method | HTTP request | Description
|
|
146
160
|
|
147
161
|
- [PulpOstreeClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
148
162
|
- [PulpOstreeClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
163
|
+
- [PulpOstreeClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
164
|
+
- [PulpOstreeClient::NestedRole](docs/NestedRole.md)
|
165
|
+
- [PulpOstreeClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
166
|
+
- [PulpOstreeClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
149
167
|
- [PulpOstreeClient::OstreeImportAll](docs/OstreeImportAll.md)
|
150
168
|
- [PulpOstreeClient::OstreeImportCommitsToRef](docs/OstreeImportCommitsToRef.md)
|
151
169
|
- [PulpOstreeClient::OstreeOstreeCommitResponse](docs/OstreeOstreeCommitResponse.md)
|
152
170
|
- [PulpOstreeClient::OstreeOstreeConfigResponse](docs/OstreeOstreeConfigResponse.md)
|
171
|
+
- [PulpOstreeClient::OstreeOstreeContent](docs/OstreeOstreeContent.md)
|
153
172
|
- [PulpOstreeClient::OstreeOstreeContentResponse](docs/OstreeOstreeContentResponse.md)
|
154
173
|
- [PulpOstreeClient::OstreeOstreeDistribution](docs/OstreeOstreeDistribution.md)
|
155
174
|
- [PulpOstreeClient::OstreeOstreeDistributionResponse](docs/OstreeOstreeDistributionResponse.md)
|
data/docs/ContentCommitsApi.md
CHANGED
@@ -35,6 +35,7 @@ opts = {
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
37
|
ordering: ['ordering_example'], # 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)
|
38
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
39
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
40
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
41
|
q: 'q_example', # String |
|
@@ -63,6 +64,7 @@ Name | Type | Description | Notes
|
|
63
64
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
64
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
65
66
|
**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]
|
67
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
66
68
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
67
69
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
68
70
|
**q** | **String**| | [optional]
|
data/docs/ContentConfigsApi.md
CHANGED
@@ -34,6 +34,7 @@ opts = {
|
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
36
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
37
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
37
38
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
38
39
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
40
|
q: 'q_example', # String |
|
@@ -61,6 +62,7 @@ Name | Type | Description | Notes
|
|
61
62
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
62
63
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
63
64
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
65
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
64
66
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
65
67
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
66
68
|
**q** | **String**| | [optional]
|
data/docs/ContentContentApi.md
CHANGED
@@ -4,11 +4,65 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentContentApi.md#create) | **POST** /pulp/api/v3/content/ostree/content/ | Create an ostree content
|
7
8
|
[**list**](ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
|
8
9
|
[**read**](ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
|
9
10
|
|
10
11
|
|
11
12
|
|
13
|
+
## create
|
14
|
+
|
15
|
+
> AsyncOperationResponse create(ostree_ostree_content)
|
16
|
+
|
17
|
+
Create an ostree content
|
18
|
+
|
19
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_ostree_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpOstreeClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpOstreeClient::ContentContentApi.new
|
34
|
+
ostree_ostree_content = PulpOstreeClient::OstreeOstreeContent.new # OstreeOstreeContent |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create an ostree content
|
38
|
+
result = api_instance.create(ostree_ostree_content)
|
39
|
+
p result
|
40
|
+
rescue PulpOstreeClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentContentApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**ostree_ostree_content** | [**OstreeOstreeContent**](OstreeOstreeContent.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
12
66
|
## list
|
13
67
|
|
14
68
|
> PaginatedostreeOstreeContentResponseList list(opts)
|
@@ -34,6 +88,7 @@ opts = {
|
|
34
88
|
limit: 56, # Integer | Number of results to return per page.
|
35
89
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
90
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
91
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
37
92
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
38
93
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
94
|
q: 'q_example', # String |
|
@@ -61,6 +116,7 @@ Name | Type | Description | Notes
|
|
61
116
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
62
117
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
63
118
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
119
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
64
120
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
65
121
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
66
122
|
**q** | **String**| | [optional]
|
data/docs/ContentObjectsApi.md
CHANGED
@@ -35,6 +35,7 @@ opts = {
|
|
35
35
|
limit: 56, # Integer | Number of results to return per page.
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
37
37
|
ordering: ['ordering_example'], # 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) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
38
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
38
39
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
40
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
40
41
|
q: 'q_example', # String |
|
@@ -63,6 +64,7 @@ Name | Type | Description | Notes
|
|
63
64
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
64
65
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
65
66
|
**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) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
67
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
66
68
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
67
69
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
68
70
|
**q** | **String**| | [optional]
|
data/docs/ContentRefsApi.md
CHANGED
@@ -44,6 +44,7 @@ opts = {
|
|
44
44
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
45
45
|
offset: 56, # Integer | The initial index from which to return the results.
|
46
46
|
ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
47
48
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
48
49
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
49
50
|
q: 'q_example', # String |
|
@@ -81,6 +82,7 @@ Name | Type | Description | Notes
|
|
81
82
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
82
83
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
83
84
|
**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) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
85
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
84
86
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
85
87
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
86
88
|
**q** | **String**| | [optional]
|
data/docs/ContentSummariesApi.md
CHANGED
@@ -34,6 +34,7 @@ opts = {
|
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
36
36
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
37
|
+
orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
37
38
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
38
39
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
39
40
|
q: 'q_example', # String |
|
@@ -61,6 +62,7 @@ Name | Type | Description | Notes
|
|
61
62
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
62
63
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
63
64
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
65
|
+
**orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
64
66
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
65
67
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
66
68
|
**q** | **String**| | [optional]
|
@@ -4,17 +4,76 @@ All URIs are relative to *http://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](DistributionsOstreeApi.md#add_role) | **POST** {ostree_ostree_distribution_href}add_role/ | Add a role
|
7
8
|
[**create**](DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
|
8
9
|
[**delete**](DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
|
9
10
|
[**list**](DistributionsOstreeApi.md#list) | **GET** /pulp/api/v3/distributions/ostree/ostree/ | List ostree distributions
|
11
|
+
[**list_roles**](DistributionsOstreeApi.md#list_roles) | **GET** {ostree_ostree_distribution_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](DistributionsOstreeApi.md#my_permissions) | **GET** {ostree_ostree_distribution_href}my_permissions/ | List user permissions
|
10
13
|
[**partial_update**](DistributionsOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_distribution_href} | Update an ostree distribution
|
11
14
|
[**read**](DistributionsOstreeApi.md#read) | **GET** {ostree_ostree_distribution_href} | Inspect an ostree distribution
|
15
|
+
[**remove_role**](DistributionsOstreeApi.md#remove_role) | **POST** {ostree_ostree_distribution_href}remove_role/ | Remove a role
|
12
16
|
[**set_label**](DistributionsOstreeApi.md#set_label) | **POST** {ostree_ostree_distribution_href}set_label/ | Set a label
|
13
17
|
[**unset_label**](DistributionsOstreeApi.md#unset_label) | **POST** {ostree_ostree_distribution_href}unset_label/ | Unset a label
|
14
18
|
[**update**](DistributionsOstreeApi.md#update) | **PUT** {ostree_ostree_distribution_href} | Update an ostree distribution
|
15
19
|
|
16
20
|
|
17
21
|
|
22
|
+
## add_role
|
23
|
+
|
24
|
+
> NestedRoleResponse add_role(ostree_ostree_distribution_href, nested_role)
|
25
|
+
|
26
|
+
Add a role
|
27
|
+
|
28
|
+
Add a role for this object to users/groups.
|
29
|
+
|
30
|
+
### Example
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
# load the gem
|
34
|
+
require 'pulp_ostree_client'
|
35
|
+
# setup authorization
|
36
|
+
PulpOstreeClient.configure do |config|
|
37
|
+
# Configure HTTP basic authorization: basicAuth
|
38
|
+
config.username = 'YOUR USERNAME'
|
39
|
+
config.password = 'YOUR PASSWORD'
|
40
|
+
end
|
41
|
+
|
42
|
+
api_instance = PulpOstreeClient::DistributionsOstreeApi.new
|
43
|
+
ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
|
44
|
+
nested_role = PulpOstreeClient::NestedRole.new # NestedRole |
|
45
|
+
|
46
|
+
begin
|
47
|
+
#Add a role
|
48
|
+
result = api_instance.add_role(ostree_ostree_distribution_href, nested_role)
|
49
|
+
p result
|
50
|
+
rescue PulpOstreeClient::ApiError => e
|
51
|
+
puts "Exception when calling DistributionsOstreeApi->add_role: #{e}"
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
### Parameters
|
56
|
+
|
57
|
+
|
58
|
+
Name | Type | Description | Notes
|
59
|
+
------------- | ------------- | ------------- | -------------
|
60
|
+
**ostree_ostree_distribution_href** | **String**| |
|
61
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[basicAuth](../README.md#basicAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
74
|
+
- **Accept**: application/json
|
75
|
+
|
76
|
+
|
18
77
|
## create
|
19
78
|
|
20
79
|
> AsyncOperationResponse create(ostree_ostree_distribution)
|
@@ -224,6 +283,124 @@ Name | Type | Description | Notes
|
|
224
283
|
- **Accept**: application/json
|
225
284
|
|
226
285
|
|
286
|
+
## list_roles
|
287
|
+
|
288
|
+
> ObjectRolesResponse list_roles(ostree_ostree_distribution_href, opts)
|
289
|
+
|
290
|
+
List roles
|
291
|
+
|
292
|
+
List roles assigned to this object.
|
293
|
+
|
294
|
+
### Example
|
295
|
+
|
296
|
+
```ruby
|
297
|
+
# load the gem
|
298
|
+
require 'pulp_ostree_client'
|
299
|
+
# setup authorization
|
300
|
+
PulpOstreeClient.configure do |config|
|
301
|
+
# Configure HTTP basic authorization: basicAuth
|
302
|
+
config.username = 'YOUR USERNAME'
|
303
|
+
config.password = 'YOUR PASSWORD'
|
304
|
+
end
|
305
|
+
|
306
|
+
api_instance = PulpOstreeClient::DistributionsOstreeApi.new
|
307
|
+
ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
|
308
|
+
opts = {
|
309
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
310
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
311
|
+
}
|
312
|
+
|
313
|
+
begin
|
314
|
+
#List roles
|
315
|
+
result = api_instance.list_roles(ostree_ostree_distribution_href, opts)
|
316
|
+
p result
|
317
|
+
rescue PulpOstreeClient::ApiError => e
|
318
|
+
puts "Exception when calling DistributionsOstreeApi->list_roles: #{e}"
|
319
|
+
end
|
320
|
+
```
|
321
|
+
|
322
|
+
### Parameters
|
323
|
+
|
324
|
+
|
325
|
+
Name | Type | Description | Notes
|
326
|
+
------------- | ------------- | ------------- | -------------
|
327
|
+
**ostree_ostree_distribution_href** | **String**| |
|
328
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
329
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
330
|
+
|
331
|
+
### Return type
|
332
|
+
|
333
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
334
|
+
|
335
|
+
### Authorization
|
336
|
+
|
337
|
+
[basicAuth](../README.md#basicAuth)
|
338
|
+
|
339
|
+
### HTTP request headers
|
340
|
+
|
341
|
+
- **Content-Type**: Not defined
|
342
|
+
- **Accept**: application/json
|
343
|
+
|
344
|
+
|
345
|
+
## my_permissions
|
346
|
+
|
347
|
+
> MyPermissionsResponse my_permissions(ostree_ostree_distribution_href, opts)
|
348
|
+
|
349
|
+
List user permissions
|
350
|
+
|
351
|
+
List permissions available to the current user on this object.
|
352
|
+
|
353
|
+
### Example
|
354
|
+
|
355
|
+
```ruby
|
356
|
+
# load the gem
|
357
|
+
require 'pulp_ostree_client'
|
358
|
+
# setup authorization
|
359
|
+
PulpOstreeClient.configure do |config|
|
360
|
+
# Configure HTTP basic authorization: basicAuth
|
361
|
+
config.username = 'YOUR USERNAME'
|
362
|
+
config.password = 'YOUR PASSWORD'
|
363
|
+
end
|
364
|
+
|
365
|
+
api_instance = PulpOstreeClient::DistributionsOstreeApi.new
|
366
|
+
ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
|
367
|
+
opts = {
|
368
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
369
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
370
|
+
}
|
371
|
+
|
372
|
+
begin
|
373
|
+
#List user permissions
|
374
|
+
result = api_instance.my_permissions(ostree_ostree_distribution_href, opts)
|
375
|
+
p result
|
376
|
+
rescue PulpOstreeClient::ApiError => e
|
377
|
+
puts "Exception when calling DistributionsOstreeApi->my_permissions: #{e}"
|
378
|
+
end
|
379
|
+
```
|
380
|
+
|
381
|
+
### Parameters
|
382
|
+
|
383
|
+
|
384
|
+
Name | Type | Description | Notes
|
385
|
+
------------- | ------------- | ------------- | -------------
|
386
|
+
**ostree_ostree_distribution_href** | **String**| |
|
387
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
388
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
389
|
+
|
390
|
+
### Return type
|
391
|
+
|
392
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
393
|
+
|
394
|
+
### Authorization
|
395
|
+
|
396
|
+
[basicAuth](../README.md#basicAuth)
|
397
|
+
|
398
|
+
### HTTP request headers
|
399
|
+
|
400
|
+
- **Content-Type**: Not defined
|
401
|
+
- **Accept**: application/json
|
402
|
+
|
403
|
+
|
227
404
|
## partial_update
|
228
405
|
|
229
406
|
> AsyncOperationResponse partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution)
|
@@ -338,6 +515,61 @@ Name | Type | Description | Notes
|
|
338
515
|
- **Accept**: application/json
|
339
516
|
|
340
517
|
|
518
|
+
## remove_role
|
519
|
+
|
520
|
+
> NestedRoleResponse remove_role(ostree_ostree_distribution_href, nested_role)
|
521
|
+
|
522
|
+
Remove a role
|
523
|
+
|
524
|
+
Remove a role for this object from users/groups.
|
525
|
+
|
526
|
+
### Example
|
527
|
+
|
528
|
+
```ruby
|
529
|
+
# load the gem
|
530
|
+
require 'pulp_ostree_client'
|
531
|
+
# setup authorization
|
532
|
+
PulpOstreeClient.configure do |config|
|
533
|
+
# Configure HTTP basic authorization: basicAuth
|
534
|
+
config.username = 'YOUR USERNAME'
|
535
|
+
config.password = 'YOUR PASSWORD'
|
536
|
+
end
|
537
|
+
|
538
|
+
api_instance = PulpOstreeClient::DistributionsOstreeApi.new
|
539
|
+
ostree_ostree_distribution_href = 'ostree_ostree_distribution_href_example' # String |
|
540
|
+
nested_role = PulpOstreeClient::NestedRole.new # NestedRole |
|
541
|
+
|
542
|
+
begin
|
543
|
+
#Remove a role
|
544
|
+
result = api_instance.remove_role(ostree_ostree_distribution_href, nested_role)
|
545
|
+
p result
|
546
|
+
rescue PulpOstreeClient::ApiError => e
|
547
|
+
puts "Exception when calling DistributionsOstreeApi->remove_role: #{e}"
|
548
|
+
end
|
549
|
+
```
|
550
|
+
|
551
|
+
### Parameters
|
552
|
+
|
553
|
+
|
554
|
+
Name | Type | Description | Notes
|
555
|
+
------------- | ------------- | ------------- | -------------
|
556
|
+
**ostree_ostree_distribution_href** | **String**| |
|
557
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
558
|
+
|
559
|
+
### Return type
|
560
|
+
|
561
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
562
|
+
|
563
|
+
### Authorization
|
564
|
+
|
565
|
+
[basicAuth](../README.md#basicAuth)
|
566
|
+
|
567
|
+
### HTTP request headers
|
568
|
+
|
569
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
570
|
+
- **Accept**: application/json
|
571
|
+
|
572
|
+
|
341
573
|
## set_label
|
342
574
|
|
343
575
|
> SetLabelResponse set_label(ostree_ostree_distribution_href, set_label)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpOstreeClient::MyPermissionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions** | **Array<String>** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpOstreeClient'
|
13
|
+
|
14
|
+
instance = PulpOstreeClient::MyPermissionsResponse.new(permissions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/NestedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpOstreeClient::NestedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpOstreeClient'
|
15
|
+
|
16
|
+
instance = PulpOstreeClient::NestedRole.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpOstreeClient::NestedRoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpOstreeClient'
|
15
|
+
|
16
|
+
instance = PulpOstreeClient::NestedRoleResponse.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpOstreeClient::ObjectRolesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**roles** | [**Array<NestedRoleResponse>**](NestedRoleResponse.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpOstreeClient'
|
13
|
+
|
14
|
+
instance = PulpOstreeClient::ObjectRolesResponse.new(roles: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
9
10
|
**artifact** | **String** | Artifact file representing the physical content |
|
10
11
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
12
|
**parent_commit** | **String** | | [optional]
|
@@ -19,6 +20,7 @@ require 'PulpOstreeClient'
|
|
19
20
|
|
20
21
|
instance = PulpOstreeClient::OstreeOstreeCommitResponse.new(pulp_href: null,
|
21
22
|
pulp_created: null,
|
23
|
+
pulp_last_updated: null,
|
22
24
|
artifact: null,
|
23
25
|
relative_path: null,
|
24
26
|
parent_commit: null,
|