pulp_ansible_client 0.18.4 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- 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 +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- 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 +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +158 -166
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
data/docs/RemotesRoleApi.md
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
# PulpAnsibleClient::RemotesRoleApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RemotesRoleApi.md#add_role) | **POST** {ansible_role_remote_href}add_role/ |
|
7
|
+
[**add_role**](RemotesRoleApi.md#add_role) | **POST** {ansible_role_remote_href}add_role/ |
|
8
8
|
[**create**](RemotesRoleApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/role/ | Create a role remote
|
9
9
|
[**delete**](RemotesRoleApi.md#delete) | **DELETE** {ansible_role_remote_href} | Delete a role remote
|
10
10
|
[**list**](RemotesRoleApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/role/ | List role remotes
|
11
|
-
[**list_roles**](RemotesRoleApi.md#list_roles) | **GET** {ansible_role_remote_href}list_roles/ |
|
12
|
-
[**my_permissions**](RemotesRoleApi.md#my_permissions) | **GET** {ansible_role_remote_href}my_permissions/ |
|
11
|
+
[**list_roles**](RemotesRoleApi.md#list_roles) | **GET** {ansible_role_remote_href}list_roles/ |
|
12
|
+
[**my_permissions**](RemotesRoleApi.md#my_permissions) | **GET** {ansible_role_remote_href}my_permissions/ |
|
13
13
|
[**partial_update**](RemotesRoleApi.md#partial_update) | **PATCH** {ansible_role_remote_href} | Update a role remote
|
14
14
|
[**read**](RemotesRoleApi.md#read) | **GET** {ansible_role_remote_href} | Inspect a role remote
|
15
|
-
[**remove_role**](RemotesRoleApi.md#remove_role) | **POST** {ansible_role_remote_href}remove_role/ |
|
16
|
-
[**set_label**](RemotesRoleApi.md#set_label) | **POST** {ansible_role_remote_href}set_label/ | Set a label
|
17
|
-
[**unset_label**](RemotesRoleApi.md#unset_label) | **POST** {ansible_role_remote_href}unset_label/ | Unset a label
|
15
|
+
[**remove_role**](RemotesRoleApi.md#remove_role) | **POST** {ansible_role_remote_href}remove_role/ |
|
18
16
|
[**update**](RemotesRoleApi.md#update) | **PUT** {ansible_role_remote_href} | Update a role remote
|
19
17
|
|
20
18
|
|
@@ -23,7 +21,7 @@ Method | HTTP request | Description
|
|
23
21
|
|
24
22
|
> NestedRoleResponse add_role(ansible_role_remote_href, nested_role)
|
25
23
|
|
26
|
-
|
24
|
+
|
27
25
|
|
28
26
|
Add a role for this object to users/groups.
|
29
27
|
|
@@ -44,7 +42,6 @@ ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
|
44
42
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
45
43
|
|
46
44
|
begin
|
47
|
-
#Add a role
|
48
45
|
result = api_instance.add_role(ansible_role_remote_href, nested_role)
|
49
46
|
p result
|
50
47
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -206,11 +203,7 @@ opts = {
|
|
206
203
|
name: 'name_example', # String | Filter results where name matches value
|
207
204
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
208
205
|
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
|
210
206
|
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
|
214
207
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
215
208
|
offset: 56, # Integer | The initial index from which to return the results.
|
216
209
|
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)
|
@@ -223,7 +216,6 @@ opts = {
|
|
223
216
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
224
217
|
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
|
225
218
|
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 |
|
227
219
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
228
220
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
229
221
|
}
|
@@ -246,11 +238,7 @@ Name | Type | Description | Notes
|
|
246
238
|
**name** | **String**| Filter results where name matches value | [optional]
|
247
239
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
248
240
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
249
|
-
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
250
241
|
**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]
|
254
242
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
255
243
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
256
244
|
**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]
|
@@ -263,7 +251,6 @@ Name | Type | Description | Notes
|
|
263
251
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
264
252
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
265
253
|
**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]
|
267
254
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
268
255
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
269
256
|
|
@@ -285,7 +272,7 @@ Name | Type | Description | Notes
|
|
285
272
|
|
286
273
|
> ObjectRolesResponse list_roles(ansible_role_remote_href, opts)
|
287
274
|
|
288
|
-
|
275
|
+
|
289
276
|
|
290
277
|
List roles assigned to this object.
|
291
278
|
|
@@ -309,7 +296,6 @@ opts = {
|
|
309
296
|
}
|
310
297
|
|
311
298
|
begin
|
312
|
-
#List roles
|
313
299
|
result = api_instance.list_roles(ansible_role_remote_href, opts)
|
314
300
|
p result
|
315
301
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -344,7 +330,7 @@ Name | Type | Description | Notes
|
|
344
330
|
|
345
331
|
> MyPermissionsResponse my_permissions(ansible_role_remote_href, opts)
|
346
332
|
|
347
|
-
|
333
|
+
|
348
334
|
|
349
335
|
List permissions available to the current user on this object.
|
350
336
|
|
@@ -368,7 +354,6 @@ opts = {
|
|
368
354
|
}
|
369
355
|
|
370
356
|
begin
|
371
|
-
#List user permissions
|
372
357
|
result = api_instance.my_permissions(ansible_role_remote_href, opts)
|
373
358
|
p result
|
374
359
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -517,7 +502,7 @@ Name | Type | Description | Notes
|
|
517
502
|
|
518
503
|
> NestedRoleResponse remove_role(ansible_role_remote_href, nested_role)
|
519
504
|
|
520
|
-
|
505
|
+
|
521
506
|
|
522
507
|
Remove a role for this object from users/groups.
|
523
508
|
|
@@ -538,7 +523,6 @@ ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
|
538
523
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
539
524
|
|
540
525
|
begin
|
541
|
-
#Remove a role
|
542
526
|
result = api_instance.remove_role(ansible_role_remote_href, nested_role)
|
543
527
|
p result
|
544
528
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -568,116 +552,6 @@ Name | Type | Description | Notes
|
|
568
552
|
- **Accept**: application/json
|
569
553
|
|
570
554
|
|
571
|
-
## set_label
|
572
|
-
|
573
|
-
> SetLabelResponse set_label(ansible_role_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::RemotesRoleApi.new
|
592
|
-
ansible_role_remote_href = 'ansible_role_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_role_remote_href, set_label)
|
598
|
-
p result
|
599
|
-
rescue PulpAnsibleClient::ApiError => e
|
600
|
-
puts "Exception when calling RemotesRoleApi->set_label: #{e}"
|
601
|
-
end
|
602
|
-
```
|
603
|
-
|
604
|
-
### Parameters
|
605
|
-
|
606
|
-
|
607
|
-
Name | Type | Description | Notes
|
608
|
-
------------- | ------------- | ------------- | -------------
|
609
|
-
**ansible_role_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_role_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::RemotesRoleApi.new
|
647
|
-
ansible_role_remote_href = 'ansible_role_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_role_remote_href, unset_label)
|
653
|
-
p result
|
654
|
-
rescue PulpAnsibleClient::ApiError => e
|
655
|
-
puts "Exception when calling RemotesRoleApi->unset_label: #{e}"
|
656
|
-
end
|
657
|
-
```
|
658
|
-
|
659
|
-
### Parameters
|
660
|
-
|
661
|
-
|
662
|
-
Name | Type | Description | Notes
|
663
|
-
------------- | ------------- | ------------- | -------------
|
664
|
-
**ansible_role_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
|
-
|
681
555
|
## update
|
682
556
|
|
683
557
|
> AsyncOperationResponse update(ansible_role_remote_href, ansible_role_remote)
|
@@ -1,28 +1,26 @@
|
|
1
1
|
# PulpAnsibleClient::RepositoriesAnsibleApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ |
|
7
|
+
[**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ |
|
8
8
|
[**copy_collection_version**](RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ |
|
9
9
|
[**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
|
10
10
|
[**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository
|
11
11
|
[**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
|
12
|
-
[**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ |
|
12
|
+
[**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ |
|
13
13
|
[**mark**](RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ |
|
14
14
|
[**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
15
15
|
[**move_collection_version**](RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ |
|
16
|
-
[**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ |
|
16
|
+
[**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ |
|
17
17
|
[**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
18
18
|
[**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
19
19
|
[**rebuild_metadata**](RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ |
|
20
|
-
[**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ |
|
21
|
-
[**set_label**](RepositoriesAnsibleApi.md#set_label) | **POST** {ansible_ansible_repository_href}set_label/ | Set a label
|
20
|
+
[**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ |
|
22
21
|
[**sign**](RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
23
22
|
[**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
24
23
|
[**unmark**](RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ |
|
25
|
-
[**unset_label**](RepositoriesAnsibleApi.md#unset_label) | **POST** {ansible_ansible_repository_href}unset_label/ | Unset a label
|
26
24
|
[**update**](RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
27
25
|
|
28
26
|
|
@@ -31,7 +29,7 @@ Method | HTTP request | Description
|
|
31
29
|
|
32
30
|
> NestedRoleResponse add_role(ansible_ansible_repository_href, nested_role)
|
33
31
|
|
34
|
-
|
32
|
+
|
35
33
|
|
36
34
|
Add a role for this object to users/groups.
|
37
35
|
|
@@ -52,7 +50,6 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
52
50
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
53
51
|
|
54
52
|
begin
|
55
|
-
#Add a role
|
56
53
|
result = api_instance.add_role(ansible_ansible_repository_href, nested_role)
|
57
54
|
p result
|
58
55
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -269,18 +266,13 @@ opts = {
|
|
269
266
|
name: 'name_example', # String | Filter results where name matches value
|
270
267
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
271
268
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
272
|
-
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
273
269
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
274
|
-
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
275
|
-
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
276
|
-
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
277
270
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
278
271
|
offset: 56, # Integer | The initial index from which to return the results.
|
279
272
|
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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
280
273
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
281
274
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
282
275
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
283
|
-
q: 'q_example', # String |
|
284
276
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
285
277
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
286
278
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -314,19 +306,14 @@ Name | Type | Description | Notes
|
|
314
306
|
**name** | **String**| Filter results where name matches value | [optional]
|
315
307
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
316
308
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
317
|
-
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
318
309
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
319
|
-
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
320
|
-
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
321
|
-
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
322
310
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
323
311
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
324
312
|
**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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
325
313
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
326
314
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
327
315
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
328
|
-
**
|
329
|
-
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
316
|
+
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
330
317
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
331
318
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
332
319
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -357,7 +344,7 @@ Name | Type | Description | Notes
|
|
357
344
|
|
358
345
|
> ObjectRolesResponse list_roles(ansible_ansible_repository_href, opts)
|
359
346
|
|
360
|
-
|
347
|
+
|
361
348
|
|
362
349
|
List roles assigned to this object.
|
363
350
|
|
@@ -381,7 +368,6 @@ opts = {
|
|
381
368
|
}
|
382
369
|
|
383
370
|
begin
|
384
|
-
#List roles
|
385
371
|
result = api_instance.list_roles(ansible_ansible_repository_href, opts)
|
386
372
|
p result
|
387
373
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -579,7 +565,7 @@ Name | Type | Description | Notes
|
|
579
565
|
|
580
566
|
> MyPermissionsResponse my_permissions(ansible_ansible_repository_href, opts)
|
581
567
|
|
582
|
-
|
568
|
+
|
583
569
|
|
584
570
|
List permissions available to the current user on this object.
|
585
571
|
|
@@ -603,7 +589,6 @@ opts = {
|
|
603
589
|
}
|
604
590
|
|
605
591
|
begin
|
606
|
-
#List user permissions
|
607
592
|
result = api_instance.my_permissions(ansible_ansible_repository_href, opts)
|
608
593
|
p result
|
609
594
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -806,7 +791,7 @@ Name | Type | Description | Notes
|
|
806
791
|
|
807
792
|
> NestedRoleResponse remove_role(ansible_ansible_repository_href, nested_role)
|
808
793
|
|
809
|
-
|
794
|
+
|
810
795
|
|
811
796
|
Remove a role for this object from users/groups.
|
812
797
|
|
@@ -827,7 +812,6 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
827
812
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
828
813
|
|
829
814
|
begin
|
830
|
-
#Remove a role
|
831
815
|
result = api_instance.remove_role(ansible_ansible_repository_href, nested_role)
|
832
816
|
p result
|
833
817
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -857,61 +841,6 @@ Name | Type | Description | Notes
|
|
857
841
|
- **Accept**: application/json
|
858
842
|
|
859
843
|
|
860
|
-
## set_label
|
861
|
-
|
862
|
-
> SetLabelResponse set_label(ansible_ansible_repository_href, set_label)
|
863
|
-
|
864
|
-
Set a label
|
865
|
-
|
866
|
-
Set a single pulp_label on the object to a specific value or null.
|
867
|
-
|
868
|
-
### Example
|
869
|
-
|
870
|
-
```ruby
|
871
|
-
# load the gem
|
872
|
-
require 'pulp_ansible_client'
|
873
|
-
# setup authorization
|
874
|
-
PulpAnsibleClient.configure do |config|
|
875
|
-
# Configure HTTP basic authorization: basicAuth
|
876
|
-
config.username = 'YOUR USERNAME'
|
877
|
-
config.password = 'YOUR PASSWORD'
|
878
|
-
end
|
879
|
-
|
880
|
-
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
881
|
-
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
882
|
-
set_label = PulpAnsibleClient::SetLabel.new # SetLabel |
|
883
|
-
|
884
|
-
begin
|
885
|
-
#Set a label
|
886
|
-
result = api_instance.set_label(ansible_ansible_repository_href, set_label)
|
887
|
-
p result
|
888
|
-
rescue PulpAnsibleClient::ApiError => e
|
889
|
-
puts "Exception when calling RepositoriesAnsibleApi->set_label: #{e}"
|
890
|
-
end
|
891
|
-
```
|
892
|
-
|
893
|
-
### Parameters
|
894
|
-
|
895
|
-
|
896
|
-
Name | Type | Description | Notes
|
897
|
-
------------- | ------------- | ------------- | -------------
|
898
|
-
**ansible_ansible_repository_href** | **String**| |
|
899
|
-
**set_label** | [**SetLabel**](SetLabel.md)| |
|
900
|
-
|
901
|
-
### Return type
|
902
|
-
|
903
|
-
[**SetLabelResponse**](SetLabelResponse.md)
|
904
|
-
|
905
|
-
### Authorization
|
906
|
-
|
907
|
-
[basicAuth](../README.md#basicAuth)
|
908
|
-
|
909
|
-
### HTTP request headers
|
910
|
-
|
911
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
912
|
-
- **Accept**: application/json
|
913
|
-
|
914
|
-
|
915
844
|
## sign
|
916
845
|
|
917
846
|
> AsyncOperationResponse sign(ansible_ansible_repository_href, ansible_repository_signature)
|
@@ -1074,61 +1003,6 @@ Name | Type | Description | Notes
|
|
1074
1003
|
- **Accept**: application/json
|
1075
1004
|
|
1076
1005
|
|
1077
|
-
## unset_label
|
1078
|
-
|
1079
|
-
> UnsetLabelResponse unset_label(ansible_ansible_repository_href, unset_label)
|
1080
|
-
|
1081
|
-
Unset a label
|
1082
|
-
|
1083
|
-
Unset a single pulp_label on the object.
|
1084
|
-
|
1085
|
-
### Example
|
1086
|
-
|
1087
|
-
```ruby
|
1088
|
-
# load the gem
|
1089
|
-
require 'pulp_ansible_client'
|
1090
|
-
# setup authorization
|
1091
|
-
PulpAnsibleClient.configure do |config|
|
1092
|
-
# Configure HTTP basic authorization: basicAuth
|
1093
|
-
config.username = 'YOUR USERNAME'
|
1094
|
-
config.password = 'YOUR PASSWORD'
|
1095
|
-
end
|
1096
|
-
|
1097
|
-
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
1098
|
-
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
1099
|
-
unset_label = PulpAnsibleClient::UnsetLabel.new # UnsetLabel |
|
1100
|
-
|
1101
|
-
begin
|
1102
|
-
#Unset a label
|
1103
|
-
result = api_instance.unset_label(ansible_ansible_repository_href, unset_label)
|
1104
|
-
p result
|
1105
|
-
rescue PulpAnsibleClient::ApiError => e
|
1106
|
-
puts "Exception when calling RepositoriesAnsibleApi->unset_label: #{e}"
|
1107
|
-
end
|
1108
|
-
```
|
1109
|
-
|
1110
|
-
### Parameters
|
1111
|
-
|
1112
|
-
|
1113
|
-
Name | Type | Description | Notes
|
1114
|
-
------------- | ------------- | ------------- | -------------
|
1115
|
-
**ansible_ansible_repository_href** | **String**| |
|
1116
|
-
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
1117
|
-
|
1118
|
-
### Return type
|
1119
|
-
|
1120
|
-
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
1121
|
-
|
1122
|
-
### Authorization
|
1123
|
-
|
1124
|
-
[basicAuth](../README.md#basicAuth)
|
1125
|
-
|
1126
|
-
### HTTP request headers
|
1127
|
-
|
1128
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
1129
|
-
- **Accept**: application/json
|
1130
|
-
|
1131
|
-
|
1132
1006
|
## update
|
1133
1007
|
|
1134
1008
|
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::RepositoriesAnsibleVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *https://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -106,7 +106,6 @@ opts = {
|
|
106
106
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
107
107
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
108
108
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
109
|
-
q: 'q_example', # String |
|
110
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
111
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
112
111
|
}
|
@@ -144,7 +143,6 @@ Name | Type | Description | Notes
|
|
144
143
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
145
144
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
146
145
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
147
|
-
**q** | **String**| | [optional]
|
148
146
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
149
147
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
150
148
|
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**download_url** | **String** | Get artifact download URL. | [optional] [readonly]
|
16
16
|
**name** | **String** | | [optional] [readonly]
|
17
17
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
18
|
-
**signatures** | **
|
18
|
+
**signatures** | [**Array<CollectionVersionSignatureResponse>**](CollectionVersionSignatureResponse.md) | |
|
19
19
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
20
20
|
**git_url** | **String** | Get the git URL. | [optional] [readonly]
|
21
21
|
**git_commit_sha** | **String** | Get the git commit sha. | [optional] [readonly]
|
data/docs/VersionsApi.md
CHANGED
@@ -19,7 +19,6 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param ansible_collection_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param ansible_collection_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -99,7 +97,6 @@ module PulpAnsibleClient
|
|
99
97
|
# @option opts [Array<String>] :ordering 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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
100
98
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
101
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
102
|
-
# @option opts [String] :q
|
103
100
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
101
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
102
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -118,7 +115,6 @@ module PulpAnsibleClient
|
|
118
115
|
# @option opts [Array<String>] :ordering 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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
119
116
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
120
117
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
121
|
-
# @option opts [String] :q
|
122
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
120
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
@@ -142,7 +138,6 @@ module PulpAnsibleClient
|
|
142
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
139
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
140
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
145
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
146
141
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
147
142
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
148
143
|
|
@@ -179,7 +174,6 @@ module PulpAnsibleClient
|
|
179
174
|
return data, status_code, headers
|
180
175
|
end
|
181
176
|
|
182
|
-
# List roles
|
183
177
|
# List roles assigned to this object.
|
184
178
|
# @param ansible_collection_href [String]
|
185
179
|
# @param [Hash] opts the optional parameters
|
@@ -191,7 +185,6 @@ module PulpAnsibleClient
|
|
191
185
|
data
|
192
186
|
end
|
193
187
|
|
194
|
-
# List roles
|
195
188
|
# List roles assigned to this object.
|
196
189
|
# @param ansible_collection_href [String]
|
197
190
|
# @param [Hash] opts the optional parameters
|
@@ -247,7 +240,6 @@ module PulpAnsibleClient
|
|
247
240
|
return data, status_code, headers
|
248
241
|
end
|
249
242
|
|
250
|
-
# List user permissions
|
251
243
|
# List permissions available to the current user on this object.
|
252
244
|
# @param ansible_collection_href [String]
|
253
245
|
# @param [Hash] opts the optional parameters
|
@@ -259,7 +251,6 @@ module PulpAnsibleClient
|
|
259
251
|
data
|
260
252
|
end
|
261
253
|
|
262
|
-
# List user permissions
|
263
254
|
# List permissions available to the current user on this object.
|
264
255
|
# @param ansible_collection_href [String]
|
265
256
|
# @param [Hash] opts the optional parameters
|
@@ -315,7 +306,6 @@ module PulpAnsibleClient
|
|
315
306
|
return data, status_code, headers
|
316
307
|
end
|
317
308
|
|
318
|
-
# Remove a role
|
319
309
|
# Remove a role for this object from users/groups.
|
320
310
|
# @param ansible_collection_href [String]
|
321
311
|
# @param nested_role [NestedRole]
|
@@ -326,7 +316,6 @@ module PulpAnsibleClient
|
|
326
316
|
data
|
327
317
|
end
|
328
318
|
|
329
|
-
# Remove a role
|
330
319
|
# Remove a role for this object from users/groups.
|
331
320
|
# @param ansible_collection_href [String]
|
332
321
|
# @param nested_role [NestedRole]
|