pulp_ansible_client 0.19.0 → 0.20.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 +44 -32
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +3 -1
- data/docs/ContentCollectionMarksApi.md +4 -2
- data/docs/ContentCollectionSignaturesApi.md +5 -3
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +19 -1
- data/docs/ContentRolesApi.md +3 -1
- data/docs/DistributionsAnsibleApi.md +136 -10
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +135 -9
- data/docs/RemotesGitApi.md +135 -9
- data/docs/RemotesRoleApi.md +135 -9
- data/docs/RepositoriesAnsibleApi.md +136 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +11 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +195 -195
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → set_label.rb} +52 -59
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/{task.rb → unset_label.rb} +31 -55
- data/lib/pulp_ansible_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -3
- data/spec/api/ansible_collections_api_spec.rb +5 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
- data/spec/api/content_collection_marks_api_spec.rb +1 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +9 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +35 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/remotes_collection_api_spec.rb +35 -0
- data/spec/api/remotes_git_api_spec.rb +35 -0
- data/spec/api/remotes_role_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/{task_spec.rb → set_label_spec.rb} +8 -8
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +147 -143
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/task_response_spec.rb +0 -131
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -18,7 +18,7 @@ Method | HTTP request | Description
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
|
21
|
+
Provides the authentication and permission classes from settings.
|
22
22
|
|
23
23
|
### Example
|
24
24
|
|
@@ -140,7 +140,7 @@ Name | Type | Description | Notes
|
|
140
140
|
|
141
141
|
|
142
142
|
|
143
|
-
|
143
|
+
Provides the authentication and permission classes from settings.
|
144
144
|
|
145
145
|
### Example
|
146
146
|
|
@@ -160,7 +160,11 @@ opts = {
|
|
160
160
|
company: 'company_example', # String | Filter results where company matches value
|
161
161
|
company__contains: 'company__contains_example', # String | Filter results where company contains value
|
162
162
|
company__icontains: 'company__icontains_example', # String | Filter results where company contains value
|
163
|
+
company__iexact: 'company__iexact_example', # String | Filter results where company matches value
|
163
164
|
company__in: ['company__in_example'], # Array<String> | Filter results where company is in a comma-separated list of values
|
165
|
+
company__iregex: 'company__iregex_example', # String | Filter results where company matches regex value
|
166
|
+
company__istartswith: 'company__istartswith_example', # String | Filter results where company starts with value
|
167
|
+
company__regex: 'company__regex_example', # String | Filter results where company matches regex value
|
164
168
|
company__startswith: 'company__startswith_example', # String | Filter results where company starts with value
|
165
169
|
limit: 56, # Integer | Number of results to return per page.
|
166
170
|
metadata_sha256: 'metadata_sha256_example', # String | Filter results where metadata_sha256 matches value
|
@@ -168,12 +172,17 @@ opts = {
|
|
168
172
|
name: 'name_example', # String | Filter results where name matches value
|
169
173
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
170
174
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
175
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
171
176
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
177
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
178
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
179
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
172
180
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
173
181
|
offset: 56, # Integer | The initial index from which to return the results.
|
174
182
|
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) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
175
183
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
176
184
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
185
|
+
q: 'q_example', # String |
|
177
186
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
178
187
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
179
188
|
}
|
@@ -195,7 +204,11 @@ Name | Type | Description | Notes
|
|
195
204
|
**company** | **String**| Filter results where company matches value | [optional]
|
196
205
|
**company__contains** | **String**| Filter results where company contains value | [optional]
|
197
206
|
**company__icontains** | **String**| Filter results where company contains value | [optional]
|
207
|
+
**company__iexact** | **String**| Filter results where company matches value | [optional]
|
198
208
|
**company__in** | [**Array<String>**](String.md)| Filter results where company is in a comma-separated list of values | [optional]
|
209
|
+
**company__iregex** | **String**| Filter results where company matches regex value | [optional]
|
210
|
+
**company__istartswith** | **String**| Filter results where company starts with value | [optional]
|
211
|
+
**company__regex** | **String**| Filter results where company matches regex value | [optional]
|
199
212
|
**company__startswith** | **String**| Filter results where company starts with value | [optional]
|
200
213
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
201
214
|
**metadata_sha256** | **String**| Filter results where metadata_sha256 matches value | [optional]
|
@@ -203,12 +216,17 @@ Name | Type | Description | Notes
|
|
203
216
|
**name** | **String**| Filter results where name matches value | [optional]
|
204
217
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
205
218
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
219
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
206
220
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
221
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
222
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
223
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
207
224
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
208
225
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
209
226
|
**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) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
210
227
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
211
228
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
229
|
+
**q** | **String**| | [optional]
|
212
230
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
213
231
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
214
232
|
|
@@ -232,7 +250,7 @@ Name | Type | Description | Notes
|
|
232
250
|
|
233
251
|
|
234
252
|
|
235
|
-
|
253
|
+
Provides the authentication and permission classes from settings.
|
236
254
|
|
237
255
|
### Example
|
238
256
|
|
@@ -302,7 +320,7 @@ Name | Type | Description | Notes
|
|
302
320
|
|
303
321
|
|
304
322
|
|
305
|
-
|
323
|
+
Provides the authentication and permission classes from settings.
|
306
324
|
|
307
325
|
### Example
|
308
326
|
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpAnsibleClient::RemotesCollectionApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ | Add a role
|
8
8
|
[**create**](RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
9
9
|
[**delete**](RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
10
10
|
[**list**](RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes
|
11
|
-
[**list_roles**](RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](RemotesCollectionApi.md#partial_update) | **PATCH** {ansible_collection_remote_href} | Update a collection remote
|
14
14
|
[**read**](RemotesCollectionApi.md#read) | **GET** {ansible_collection_remote_href} | Inspect a collection remote
|
15
|
-
[**remove_role**](RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ |
|
15
|
+
[**remove_role**](RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](RemotesCollectionApi.md#set_label) | **POST** {ansible_collection_remote_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](RemotesCollectionApi.md#unset_label) | **POST** {ansible_collection_remote_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RemotesCollectionApi.md#update) | **PUT** {ansible_collection_remote_href} | Update a collection remote
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(ansible_collection_remote_href, nested_role)
|
23
25
|
|
24
|
-
|
26
|
+
Add a role
|
25
27
|
|
26
28
|
Add a role for this object to users/groups.
|
27
29
|
|
@@ -42,6 +44,7 @@ ansible_collection_remote_href = 'ansible_collection_remote_href_example' # Stri
|
|
42
44
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
43
45
|
|
44
46
|
begin
|
47
|
+
#Add a role
|
45
48
|
result = api_instance.add_role(ansible_collection_remote_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -203,7 +206,11 @@ opts = {
|
|
203
206
|
name: 'name_example', # String | Filter results where name matches value
|
204
207
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
208
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
209
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
206
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
211
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
212
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
213
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
207
214
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
215
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
216
|
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -216,6 +223,7 @@ opts = {
|
|
216
223
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
224
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
225
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
226
|
+
q: 'q_example', # String |
|
219
227
|
url: 'url_example', # String | Filter results where url matches value
|
220
228
|
url__contains: 'url__contains_example', # String | Filter results where url contains value
|
221
229
|
url__icontains: 'url__icontains_example', # String | Filter results where url contains value
|
@@ -242,7 +250,11 @@ Name | Type | Description | Notes
|
|
242
250
|
**name** | **String**| Filter results where name matches value | [optional]
|
243
251
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
244
252
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
253
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
245
254
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
255
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
256
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
257
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
246
258
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
247
259
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
248
260
|
**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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -255,6 +267,7 @@ Name | Type | Description | Notes
|
|
255
267
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
256
268
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
257
269
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
270
|
+
**q** | **String**| | [optional]
|
258
271
|
**url** | **String**| Filter results where url matches value | [optional]
|
259
272
|
**url__contains** | **String**| Filter results where url contains value | [optional]
|
260
273
|
**url__icontains** | **String**| Filter results where url contains value | [optional]
|
@@ -280,7 +293,7 @@ Name | Type | Description | Notes
|
|
280
293
|
|
281
294
|
> ObjectRolesResponse list_roles(ansible_collection_remote_href, opts)
|
282
295
|
|
283
|
-
|
296
|
+
List roles
|
284
297
|
|
285
298
|
List roles assigned to this object.
|
286
299
|
|
@@ -304,6 +317,7 @@ opts = {
|
|
304
317
|
}
|
305
318
|
|
306
319
|
begin
|
320
|
+
#List roles
|
307
321
|
result = api_instance.list_roles(ansible_collection_remote_href, opts)
|
308
322
|
p result
|
309
323
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -338,7 +352,7 @@ Name | Type | Description | Notes
|
|
338
352
|
|
339
353
|
> MyPermissionsResponse my_permissions(ansible_collection_remote_href, opts)
|
340
354
|
|
341
|
-
|
355
|
+
List user permissions
|
342
356
|
|
343
357
|
List permissions available to the current user on this object.
|
344
358
|
|
@@ -362,6 +376,7 @@ opts = {
|
|
362
376
|
}
|
363
377
|
|
364
378
|
begin
|
379
|
+
#List user permissions
|
365
380
|
result = api_instance.my_permissions(ansible_collection_remote_href, opts)
|
366
381
|
p result
|
367
382
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -510,7 +525,7 @@ Name | Type | Description | Notes
|
|
510
525
|
|
511
526
|
> NestedRoleResponse remove_role(ansible_collection_remote_href, nested_role)
|
512
527
|
|
513
|
-
|
528
|
+
Remove a role
|
514
529
|
|
515
530
|
Remove a role for this object from users/groups.
|
516
531
|
|
@@ -531,6 +546,7 @@ ansible_collection_remote_href = 'ansible_collection_remote_href_example' # Stri
|
|
531
546
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
532
547
|
|
533
548
|
begin
|
549
|
+
#Remove a role
|
534
550
|
result = api_instance.remove_role(ansible_collection_remote_href, nested_role)
|
535
551
|
p result
|
536
552
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -560,6 +576,116 @@ Name | Type | Description | Notes
|
|
560
576
|
- **Accept**: application/json
|
561
577
|
|
562
578
|
|
579
|
+
## set_label
|
580
|
+
|
581
|
+
> SetLabelResponse set_label(ansible_collection_remote_href, set_label)
|
582
|
+
|
583
|
+
Set a label
|
584
|
+
|
585
|
+
Set a single pulp_label on the object to a specific value or null.
|
586
|
+
|
587
|
+
### Example
|
588
|
+
|
589
|
+
```ruby
|
590
|
+
# load the gem
|
591
|
+
require 'pulp_ansible_client'
|
592
|
+
# setup authorization
|
593
|
+
PulpAnsibleClient.configure do |config|
|
594
|
+
# Configure HTTP basic authorization: basicAuth
|
595
|
+
config.username = 'YOUR USERNAME'
|
596
|
+
config.password = 'YOUR PASSWORD'
|
597
|
+
end
|
598
|
+
|
599
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
600
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
601
|
+
set_label = PulpAnsibleClient::SetLabel.new # SetLabel |
|
602
|
+
|
603
|
+
begin
|
604
|
+
#Set a label
|
605
|
+
result = api_instance.set_label(ansible_collection_remote_href, set_label)
|
606
|
+
p result
|
607
|
+
rescue PulpAnsibleClient::ApiError => e
|
608
|
+
puts "Exception when calling RemotesCollectionApi->set_label: #{e}"
|
609
|
+
end
|
610
|
+
```
|
611
|
+
|
612
|
+
### Parameters
|
613
|
+
|
614
|
+
|
615
|
+
Name | Type | Description | Notes
|
616
|
+
------------- | ------------- | ------------- | -------------
|
617
|
+
**ansible_collection_remote_href** | **String**| |
|
618
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
619
|
+
|
620
|
+
### Return type
|
621
|
+
|
622
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
623
|
+
|
624
|
+
### Authorization
|
625
|
+
|
626
|
+
[basicAuth](../README.md#basicAuth)
|
627
|
+
|
628
|
+
### HTTP request headers
|
629
|
+
|
630
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
631
|
+
- **Accept**: application/json
|
632
|
+
|
633
|
+
|
634
|
+
## unset_label
|
635
|
+
|
636
|
+
> UnsetLabelResponse unset_label(ansible_collection_remote_href, unset_label)
|
637
|
+
|
638
|
+
Unset a label
|
639
|
+
|
640
|
+
Unset a single pulp_label on the object.
|
641
|
+
|
642
|
+
### Example
|
643
|
+
|
644
|
+
```ruby
|
645
|
+
# load the gem
|
646
|
+
require 'pulp_ansible_client'
|
647
|
+
# setup authorization
|
648
|
+
PulpAnsibleClient.configure do |config|
|
649
|
+
# Configure HTTP basic authorization: basicAuth
|
650
|
+
config.username = 'YOUR USERNAME'
|
651
|
+
config.password = 'YOUR PASSWORD'
|
652
|
+
end
|
653
|
+
|
654
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
655
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
656
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new # UnsetLabel |
|
657
|
+
|
658
|
+
begin
|
659
|
+
#Unset a label
|
660
|
+
result = api_instance.unset_label(ansible_collection_remote_href, unset_label)
|
661
|
+
p result
|
662
|
+
rescue PulpAnsibleClient::ApiError => e
|
663
|
+
puts "Exception when calling RemotesCollectionApi->unset_label: #{e}"
|
664
|
+
end
|
665
|
+
```
|
666
|
+
|
667
|
+
### Parameters
|
668
|
+
|
669
|
+
|
670
|
+
Name | Type | Description | Notes
|
671
|
+
------------- | ------------- | ------------- | -------------
|
672
|
+
**ansible_collection_remote_href** | **String**| |
|
673
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
674
|
+
|
675
|
+
### Return type
|
676
|
+
|
677
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
678
|
+
|
679
|
+
### Authorization
|
680
|
+
|
681
|
+
[basicAuth](../README.md#basicAuth)
|
682
|
+
|
683
|
+
### HTTP request headers
|
684
|
+
|
685
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
686
|
+
- **Accept**: application/json
|
687
|
+
|
688
|
+
|
563
689
|
## update
|
564
690
|
|
565
691
|
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote)
|
data/docs/RemotesGitApi.md
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
# PulpAnsibleClient::RemotesGitApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RemotesGitApi.md#add_role) | **POST** {ansible_git_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesGitApi.md#add_role) | **POST** {ansible_git_remote_href}add_role/ | Add a role
|
8
8
|
[**create**](RemotesGitApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/git/ | Create a git remote
|
9
9
|
[**delete**](RemotesGitApi.md#delete) | **DELETE** {ansible_git_remote_href} | Delete a git remote
|
10
10
|
[**list**](RemotesGitApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/git/ | List git remotes
|
11
|
-
[**list_roles**](RemotesGitApi.md#list_roles) | **GET** {ansible_git_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesGitApi.md#my_permissions) | **GET** {ansible_git_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesGitApi.md#list_roles) | **GET** {ansible_git_remote_href}list_roles/ | List roles
|
12
|
+
[**my_permissions**](RemotesGitApi.md#my_permissions) | **GET** {ansible_git_remote_href}my_permissions/ | List user permissions
|
13
13
|
[**partial_update**](RemotesGitApi.md#partial_update) | **PATCH** {ansible_git_remote_href} | Update a git remote
|
14
14
|
[**read**](RemotesGitApi.md#read) | **GET** {ansible_git_remote_href} | Inspect a git remote
|
15
|
-
[**remove_role**](RemotesGitApi.md#remove_role) | **POST** {ansible_git_remote_href}remove_role/ |
|
15
|
+
[**remove_role**](RemotesGitApi.md#remove_role) | **POST** {ansible_git_remote_href}remove_role/ | Remove a role
|
16
|
+
[**set_label**](RemotesGitApi.md#set_label) | **POST** {ansible_git_remote_href}set_label/ | Set a label
|
17
|
+
[**unset_label**](RemotesGitApi.md#unset_label) | **POST** {ansible_git_remote_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RemotesGitApi.md#update) | **PUT** {ansible_git_remote_href} | Update a git remote
|
17
19
|
|
18
20
|
|
@@ -21,7 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|
22
24
|
> NestedRoleResponse add_role(ansible_git_remote_href, nested_role)
|
23
25
|
|
24
|
-
|
26
|
+
Add a role
|
25
27
|
|
26
28
|
Add a role for this object to users/groups.
|
27
29
|
|
@@ -42,6 +44,7 @@ ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
|
42
44
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
43
45
|
|
44
46
|
begin
|
47
|
+
#Add a role
|
45
48
|
result = api_instance.add_role(ansible_git_remote_href, nested_role)
|
46
49
|
p result
|
47
50
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -203,7 +206,11 @@ opts = {
|
|
203
206
|
name: 'name_example', # String | Filter results where name matches value
|
204
207
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
205
208
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
209
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
206
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
211
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
212
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
213
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
207
214
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
208
215
|
offset: 56, # Integer | The initial index from which to return the results.
|
209
216
|
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -216,6 +223,7 @@ opts = {
|
|
216
223
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
224
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
225
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
226
|
+
q: 'q_example', # String |
|
219
227
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
220
228
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
221
229
|
}
|
@@ -238,7 +246,11 @@ Name | Type | Description | Notes
|
|
238
246
|
**name** | **String**| Filter results where name matches value | [optional]
|
239
247
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
248
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
249
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
241
250
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
251
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
252
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
253
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
242
254
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
255
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
256
|
**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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
@@ -251,6 +263,7 @@ Name | Type | Description | Notes
|
|
251
263
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
252
264
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
253
265
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
266
|
+
**q** | **String**| | [optional]
|
254
267
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
255
268
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
256
269
|
|
@@ -272,7 +285,7 @@ Name | Type | Description | Notes
|
|
272
285
|
|
273
286
|
> ObjectRolesResponse list_roles(ansible_git_remote_href, opts)
|
274
287
|
|
275
|
-
|
288
|
+
List roles
|
276
289
|
|
277
290
|
List roles assigned to this object.
|
278
291
|
|
@@ -296,6 +309,7 @@ opts = {
|
|
296
309
|
}
|
297
310
|
|
298
311
|
begin
|
312
|
+
#List roles
|
299
313
|
result = api_instance.list_roles(ansible_git_remote_href, opts)
|
300
314
|
p result
|
301
315
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -330,7 +344,7 @@ Name | Type | Description | Notes
|
|
330
344
|
|
331
345
|
> MyPermissionsResponse my_permissions(ansible_git_remote_href, opts)
|
332
346
|
|
333
|
-
|
347
|
+
List user permissions
|
334
348
|
|
335
349
|
List permissions available to the current user on this object.
|
336
350
|
|
@@ -354,6 +368,7 @@ opts = {
|
|
354
368
|
}
|
355
369
|
|
356
370
|
begin
|
371
|
+
#List user permissions
|
357
372
|
result = api_instance.my_permissions(ansible_git_remote_href, opts)
|
358
373
|
p result
|
359
374
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -502,7 +517,7 @@ Name | Type | Description | Notes
|
|
502
517
|
|
503
518
|
> NestedRoleResponse remove_role(ansible_git_remote_href, nested_role)
|
504
519
|
|
505
|
-
|
520
|
+
Remove a role
|
506
521
|
|
507
522
|
Remove a role for this object from users/groups.
|
508
523
|
|
@@ -523,6 +538,7 @@ ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
|
523
538
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
524
539
|
|
525
540
|
begin
|
541
|
+
#Remove a role
|
526
542
|
result = api_instance.remove_role(ansible_git_remote_href, nested_role)
|
527
543
|
p result
|
528
544
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -552,6 +568,116 @@ Name | Type | Description | Notes
|
|
552
568
|
- **Accept**: application/json
|
553
569
|
|
554
570
|
|
571
|
+
## set_label
|
572
|
+
|
573
|
+
> SetLabelResponse set_label(ansible_git_remote_href, set_label)
|
574
|
+
|
575
|
+
Set a label
|
576
|
+
|
577
|
+
Set a single pulp_label on the object to a specific value or null.
|
578
|
+
|
579
|
+
### Example
|
580
|
+
|
581
|
+
```ruby
|
582
|
+
# load the gem
|
583
|
+
require 'pulp_ansible_client'
|
584
|
+
# setup authorization
|
585
|
+
PulpAnsibleClient.configure do |config|
|
586
|
+
# Configure HTTP basic authorization: basicAuth
|
587
|
+
config.username = 'YOUR USERNAME'
|
588
|
+
config.password = 'YOUR PASSWORD'
|
589
|
+
end
|
590
|
+
|
591
|
+
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
592
|
+
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
593
|
+
set_label = PulpAnsibleClient::SetLabel.new # SetLabel |
|
594
|
+
|
595
|
+
begin
|
596
|
+
#Set a label
|
597
|
+
result = api_instance.set_label(ansible_git_remote_href, set_label)
|
598
|
+
p result
|
599
|
+
rescue PulpAnsibleClient::ApiError => e
|
600
|
+
puts "Exception when calling RemotesGitApi->set_label: #{e}"
|
601
|
+
end
|
602
|
+
```
|
603
|
+
|
604
|
+
### Parameters
|
605
|
+
|
606
|
+
|
607
|
+
Name | Type | Description | Notes
|
608
|
+
------------- | ------------- | ------------- | -------------
|
609
|
+
**ansible_git_remote_href** | **String**| |
|
610
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
611
|
+
|
612
|
+
### Return type
|
613
|
+
|
614
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
615
|
+
|
616
|
+
### Authorization
|
617
|
+
|
618
|
+
[basicAuth](../README.md#basicAuth)
|
619
|
+
|
620
|
+
### HTTP request headers
|
621
|
+
|
622
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
623
|
+
- **Accept**: application/json
|
624
|
+
|
625
|
+
|
626
|
+
## unset_label
|
627
|
+
|
628
|
+
> UnsetLabelResponse unset_label(ansible_git_remote_href, unset_label)
|
629
|
+
|
630
|
+
Unset a label
|
631
|
+
|
632
|
+
Unset a single pulp_label on the object.
|
633
|
+
|
634
|
+
### Example
|
635
|
+
|
636
|
+
```ruby
|
637
|
+
# load the gem
|
638
|
+
require 'pulp_ansible_client'
|
639
|
+
# setup authorization
|
640
|
+
PulpAnsibleClient.configure do |config|
|
641
|
+
# Configure HTTP basic authorization: basicAuth
|
642
|
+
config.username = 'YOUR USERNAME'
|
643
|
+
config.password = 'YOUR PASSWORD'
|
644
|
+
end
|
645
|
+
|
646
|
+
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
647
|
+
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
648
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new # UnsetLabel |
|
649
|
+
|
650
|
+
begin
|
651
|
+
#Unset a label
|
652
|
+
result = api_instance.unset_label(ansible_git_remote_href, unset_label)
|
653
|
+
p result
|
654
|
+
rescue PulpAnsibleClient::ApiError => e
|
655
|
+
puts "Exception when calling RemotesGitApi->unset_label: #{e}"
|
656
|
+
end
|
657
|
+
```
|
658
|
+
|
659
|
+
### Parameters
|
660
|
+
|
661
|
+
|
662
|
+
Name | Type | Description | Notes
|
663
|
+
------------- | ------------- | ------------- | -------------
|
664
|
+
**ansible_git_remote_href** | **String**| |
|
665
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
666
|
+
|
667
|
+
### Return type
|
668
|
+
|
669
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
670
|
+
|
671
|
+
### Authorization
|
672
|
+
|
673
|
+
[basicAuth](../README.md#basicAuth)
|
674
|
+
|
675
|
+
### HTTP request headers
|
676
|
+
|
677
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
678
|
+
- **Accept**: application/json
|
679
|
+
|
680
|
+
|
555
681
|
## update
|
556
682
|
|
557
683
|
> AsyncOperationResponse update(ansible_git_remote_href, ansible_git_remote)
|