pulp_ansible_client 0.16.4 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +89 -21
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +4 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +6 -2
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +229 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +3 -1
- data/docs/CollectionVersionResponse.md +2 -0
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +233 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NamespaceLink.md +19 -0
- data/docs/NamespaceLinkResponse.md +19 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +21 -0
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +23 -0
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +23 -0
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/PatchedansibleAnsibleRepository.md +4 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/ProgressReportResponse.md +27 -0
- 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 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +7 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- 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 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +7 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +237 -1
- data/docs/RemotesGitApi.md +229 -1
- data/docs/RemotesRoleApi.md +229 -1
- data/docs/RepositoriesAnsibleApi.md +465 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/Repository.md +25 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +2 -0
- data/docs/VersionsApi.md +11 -11
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +268 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +274 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +209 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +8 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +531 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +229 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +197 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +501 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +217 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +281 -1
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +268 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +268 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +564 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +359 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +402 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -6
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +24 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +33 -24
- 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 +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +268 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +13 -4
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +359 -0
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +242 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +16 -5
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -1
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +279 -0
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +287 -0
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ansible_client/models/namespace_link.rb +282 -0
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +264 -0
- data/lib/pulp_ansible_client/models/nested_role.rb +253 -0
- data/lib/pulp_ansible_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ansible_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +226 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +350 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -6
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +211 -211
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository.rb +306 -0
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/repository_response.rb +309 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +12 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +32 -0
- data/spec/api/ansible_collections_api_spec.rb +50 -0
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/distributions_ansible_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +77 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +131 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +83 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +75 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +126 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +81 -0
- data/spec/api/remotes_collection_api_spec.rb +54 -0
- data/spec/api/remotes_git_api_spec.rb +50 -0
- data/spec/api/remotes_role_api_spec.rb +50 -0
- data/spec/api/repositories_ansible_api_spec.rb +106 -0
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +95 -0
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_mark_response_spec.rb +59 -0
- data/spec/models/ansible_collection_version_mark_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +17 -17
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_namespace_response_spec.rb +6 -0
- data/spec/models/collection_summary_response_spec.rb +95 -0
- data/spec/models/collection_version_copy_move_spec.rb +53 -0
- data/spec/models/collection_version_list_response_spec.rb +6 -0
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/collection_version_search_list_response_spec.rb +77 -0
- data/spec/models/collection_version_search_list_spec.rb +71 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/namespace_link_response_spec.rb +47 -0
- data/spec/models/namespace_link_spec.rb +47 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +53 -0
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +59 -0
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +17 -17
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/repository_response_spec.rb +89 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +241 -113
@@ -0,0 +1,164 @@
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
8
|
+
[**rebuild**](PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
## list
|
13
|
+
|
14
|
+
> PaginatedCollectionVersionSearchListResponseList list(opts)
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
A viewset for cross-repo searches.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'pulp_ansible_client'
|
25
|
+
# setup authorization
|
26
|
+
PulpAnsibleClient.configure do |config|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
28
|
+
config.username = 'YOUR USERNAME'
|
29
|
+
config.password = 'YOUR PASSWORD'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.new
|
33
|
+
opts = {
|
34
|
+
dependency: 'dependency_example', # String |
|
35
|
+
deprecated: true, # Boolean |
|
36
|
+
distribution: ['distribution_example'], # Array<String> | Filter collectionversions that are in these distrubtion ids.
|
37
|
+
distribution_base_path: ['distribution_base_path_example'], # Array<String> | Filter collectionversions that are in these base paths.
|
38
|
+
highest: true, # Boolean |
|
39
|
+
is_deprecated: true, # Boolean |
|
40
|
+
is_highest: true, # Boolean |
|
41
|
+
is_signed: true, # Boolean |
|
42
|
+
keywords: 'keywords_example', # String |
|
43
|
+
limit: 56, # Integer | Number of results to return per page.
|
44
|
+
name: 'name_example', # String |
|
45
|
+
namespace: 'namespace_example', # String |
|
46
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
47
|
+
order_by: ['order_by_example'], # Array<String> | Ordering
|
48
|
+
q: 'q_example', # String |
|
49
|
+
repository: ['repository_example'], # Array<String> | Filter collectionversions that are in these repository ids.
|
50
|
+
repository_label: 'repository_label_example', # String | Filter labels by search string
|
51
|
+
repository_name: ['repository_name_example'], # Array<String> | Filter collectionversions that are in these repositories.
|
52
|
+
repository_version: 'repository_version_example', # String |
|
53
|
+
signed: true, # Boolean |
|
54
|
+
tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
|
55
|
+
version: 'version_example', # String |
|
56
|
+
version_range: 'version_range_example', # String |
|
57
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
58
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
59
|
+
}
|
60
|
+
|
61
|
+
begin
|
62
|
+
result = api_instance.list(opts)
|
63
|
+
p result
|
64
|
+
rescue PulpAnsibleClient::ApiError => e
|
65
|
+
puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi->list: #{e}"
|
66
|
+
end
|
67
|
+
```
|
68
|
+
|
69
|
+
### Parameters
|
70
|
+
|
71
|
+
|
72
|
+
Name | Type | Description | Notes
|
73
|
+
------------- | ------------- | ------------- | -------------
|
74
|
+
**dependency** | **String**| | [optional]
|
75
|
+
**deprecated** | **Boolean**| | [optional]
|
76
|
+
**distribution** | [**Array<String>**](String.md)| Filter collectionversions that are in these distrubtion ids. | [optional]
|
77
|
+
**distribution_base_path** | [**Array<String>**](String.md)| Filter collectionversions that are in these base paths. | [optional]
|
78
|
+
**highest** | **Boolean**| | [optional]
|
79
|
+
**is_deprecated** | **Boolean**| | [optional]
|
80
|
+
**is_highest** | **Boolean**| | [optional]
|
81
|
+
**is_signed** | **Boolean**| | [optional]
|
82
|
+
**keywords** | **String**| | [optional]
|
83
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
84
|
+
**name** | **String**| | [optional]
|
85
|
+
**namespace** | **String**| | [optional]
|
86
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
87
|
+
**order_by** | [**Array<String>**](String.md)| Ordering | [optional]
|
88
|
+
**q** | **String**| | [optional]
|
89
|
+
**repository** | [**Array<String>**](String.md)| Filter collectionversions that are in these repository ids. | [optional]
|
90
|
+
**repository_label** | **String**| Filter labels by search string | [optional]
|
91
|
+
**repository_name** | [**Array<String>**](String.md)| Filter collectionversions that are in these repositories. | [optional]
|
92
|
+
**repository_version** | **String**| | [optional]
|
93
|
+
**signed** | **Boolean**| | [optional]
|
94
|
+
**tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
|
95
|
+
**version** | **String**| | [optional]
|
96
|
+
**version_range** | **String**| | [optional]
|
97
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
98
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
99
|
+
|
100
|
+
### Return type
|
101
|
+
|
102
|
+
[**PaginatedCollectionVersionSearchListResponseList**](PaginatedCollectionVersionSearchListResponseList.md)
|
103
|
+
|
104
|
+
### Authorization
|
105
|
+
|
106
|
+
[basicAuth](../README.md#basicAuth)
|
107
|
+
|
108
|
+
### HTTP request headers
|
109
|
+
|
110
|
+
- **Content-Type**: Not defined
|
111
|
+
- **Accept**: application/json
|
112
|
+
|
113
|
+
|
114
|
+
## rebuild
|
115
|
+
|
116
|
+
> CollectionVersionSearchListResponse rebuild(collection_version_search_list)
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
A viewset for cross-repo searches.
|
121
|
+
|
122
|
+
### Example
|
123
|
+
|
124
|
+
```ruby
|
125
|
+
# load the gem
|
126
|
+
require 'pulp_ansible_client'
|
127
|
+
# setup authorization
|
128
|
+
PulpAnsibleClient.configure do |config|
|
129
|
+
# Configure HTTP basic authorization: basicAuth
|
130
|
+
config.username = 'YOUR USERNAME'
|
131
|
+
config.password = 'YOUR PASSWORD'
|
132
|
+
end
|
133
|
+
|
134
|
+
api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.new
|
135
|
+
collection_version_search_list = PulpAnsibleClient::CollectionVersionSearchList.new # CollectionVersionSearchList |
|
136
|
+
|
137
|
+
begin
|
138
|
+
result = api_instance.rebuild(collection_version_search_list)
|
139
|
+
p result
|
140
|
+
rescue PulpAnsibleClient::ApiError => e
|
141
|
+
puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi->rebuild: #{e}"
|
142
|
+
end
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
|
148
|
+
Name | Type | Description | Notes
|
149
|
+
------------- | ------------- | ------------- | -------------
|
150
|
+
**collection_version_search_list** | [**CollectionVersionSearchList**](CollectionVersionSearchList.md)| |
|
151
|
+
|
152
|
+
### Return type
|
153
|
+
|
154
|
+
[**CollectionVersionSearchListResponse**](CollectionVersionSearchListResponse.md)
|
155
|
+
|
156
|
+
### Authorization
|
157
|
+
|
158
|
+
[basicAuth](../README.md#basicAuth)
|
159
|
+
|
160
|
+
### HTTP request headers
|
161
|
+
|
162
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
163
|
+
- **Accept**: application/json
|
164
|
+
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -1,18 +1,76 @@
|
|
1
1
|
# PulpAnsibleClient::RemotesCollectionApi
|
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**](RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ |
|
7
8
|
[**create**](RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
8
9
|
[**delete**](RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
9
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/ |
|
10
13
|
[**partial_update**](RemotesCollectionApi.md#partial_update) | **PATCH** {ansible_collection_remote_href} | Update a collection remote
|
11
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/ |
|
12
16
|
[**update**](RemotesCollectionApi.md#update) | **PUT** {ansible_collection_remote_href} | Update a collection remote
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(ansible_collection_remote_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_ansible_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpAnsibleClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
41
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
42
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(ansible_collection_remote_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpAnsibleClient::ApiError => e
|
48
|
+
puts "Exception when calling RemotesCollectionApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**ansible_collection_remote_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> AnsibleCollectionRemoteResponse create(ansible_collection_remote)
|
@@ -156,6 +214,10 @@ opts = {
|
|
156
214
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
215
|
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
|
158
216
|
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
|
217
|
+
url: 'url_example', # String | Filter results where url matches value
|
218
|
+
url__contains: 'url__contains_example', # String | Filter results where url contains value
|
219
|
+
url__icontains: 'url__icontains_example', # String | Filter results where url contains value
|
220
|
+
url__in: ['url__in_example'], # Array<String> | Filter results where url is in a comma-separated list of values
|
159
221
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
160
222
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
223
|
}
|
@@ -189,6 +251,10 @@ Name | Type | Description | Notes
|
|
189
251
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
252
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
253
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
254
|
+
**url** | **String**| Filter results where url matches value | [optional]
|
255
|
+
**url__contains** | **String**| Filter results where url contains value | [optional]
|
256
|
+
**url__icontains** | **String**| Filter results where url contains value | [optional]
|
257
|
+
**url__in** | [**Array<String>**](String.md)| Filter results where url is in a comma-separated list of values | [optional]
|
192
258
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
193
259
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
260
|
|
@@ -206,6 +272,122 @@ Name | Type | Description | Notes
|
|
206
272
|
- **Accept**: application/json
|
207
273
|
|
208
274
|
|
275
|
+
## list_roles
|
276
|
+
|
277
|
+
> ObjectRolesResponse list_roles(ansible_collection_remote_href, opts)
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
List roles assigned to this object.
|
282
|
+
|
283
|
+
### Example
|
284
|
+
|
285
|
+
```ruby
|
286
|
+
# load the gem
|
287
|
+
require 'pulp_ansible_client'
|
288
|
+
# setup authorization
|
289
|
+
PulpAnsibleClient.configure do |config|
|
290
|
+
# Configure HTTP basic authorization: basicAuth
|
291
|
+
config.username = 'YOUR USERNAME'
|
292
|
+
config.password = 'YOUR PASSWORD'
|
293
|
+
end
|
294
|
+
|
295
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
296
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
297
|
+
opts = {
|
298
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
299
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
300
|
+
}
|
301
|
+
|
302
|
+
begin
|
303
|
+
result = api_instance.list_roles(ansible_collection_remote_href, opts)
|
304
|
+
p result
|
305
|
+
rescue PulpAnsibleClient::ApiError => e
|
306
|
+
puts "Exception when calling RemotesCollectionApi->list_roles: #{e}"
|
307
|
+
end
|
308
|
+
```
|
309
|
+
|
310
|
+
### Parameters
|
311
|
+
|
312
|
+
|
313
|
+
Name | Type | Description | Notes
|
314
|
+
------------- | ------------- | ------------- | -------------
|
315
|
+
**ansible_collection_remote_href** | **String**| |
|
316
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
317
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
322
|
+
|
323
|
+
### Authorization
|
324
|
+
|
325
|
+
[basicAuth](../README.md#basicAuth)
|
326
|
+
|
327
|
+
### HTTP request headers
|
328
|
+
|
329
|
+
- **Content-Type**: Not defined
|
330
|
+
- **Accept**: application/json
|
331
|
+
|
332
|
+
|
333
|
+
## my_permissions
|
334
|
+
|
335
|
+
> MyPermissionsResponse my_permissions(ansible_collection_remote_href, opts)
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
List permissions available to the current user on this object.
|
340
|
+
|
341
|
+
### Example
|
342
|
+
|
343
|
+
```ruby
|
344
|
+
# load the gem
|
345
|
+
require 'pulp_ansible_client'
|
346
|
+
# setup authorization
|
347
|
+
PulpAnsibleClient.configure do |config|
|
348
|
+
# Configure HTTP basic authorization: basicAuth
|
349
|
+
config.username = 'YOUR USERNAME'
|
350
|
+
config.password = 'YOUR PASSWORD'
|
351
|
+
end
|
352
|
+
|
353
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
354
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
355
|
+
opts = {
|
356
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
357
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
358
|
+
}
|
359
|
+
|
360
|
+
begin
|
361
|
+
result = api_instance.my_permissions(ansible_collection_remote_href, opts)
|
362
|
+
p result
|
363
|
+
rescue PulpAnsibleClient::ApiError => e
|
364
|
+
puts "Exception when calling RemotesCollectionApi->my_permissions: #{e}"
|
365
|
+
end
|
366
|
+
```
|
367
|
+
|
368
|
+
### Parameters
|
369
|
+
|
370
|
+
|
371
|
+
Name | Type | Description | Notes
|
372
|
+
------------- | ------------- | ------------- | -------------
|
373
|
+
**ansible_collection_remote_href** | **String**| |
|
374
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
375
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
376
|
+
|
377
|
+
### Return type
|
378
|
+
|
379
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
380
|
+
|
381
|
+
### Authorization
|
382
|
+
|
383
|
+
[basicAuth](../README.md#basicAuth)
|
384
|
+
|
385
|
+
### HTTP request headers
|
386
|
+
|
387
|
+
- **Content-Type**: Not defined
|
388
|
+
- **Accept**: application/json
|
389
|
+
|
390
|
+
|
209
391
|
## partial_update
|
210
392
|
|
211
393
|
> AsyncOperationResponse partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
@@ -320,6 +502,60 @@ Name | Type | Description | Notes
|
|
320
502
|
- **Accept**: application/json
|
321
503
|
|
322
504
|
|
505
|
+
## remove_role
|
506
|
+
|
507
|
+
> NestedRoleResponse remove_role(ansible_collection_remote_href, nested_role)
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
Remove a role for this object from users/groups.
|
512
|
+
|
513
|
+
### Example
|
514
|
+
|
515
|
+
```ruby
|
516
|
+
# load the gem
|
517
|
+
require 'pulp_ansible_client'
|
518
|
+
# setup authorization
|
519
|
+
PulpAnsibleClient.configure do |config|
|
520
|
+
# Configure HTTP basic authorization: basicAuth
|
521
|
+
config.username = 'YOUR USERNAME'
|
522
|
+
config.password = 'YOUR PASSWORD'
|
523
|
+
end
|
524
|
+
|
525
|
+
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
526
|
+
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
527
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
528
|
+
|
529
|
+
begin
|
530
|
+
result = api_instance.remove_role(ansible_collection_remote_href, nested_role)
|
531
|
+
p result
|
532
|
+
rescue PulpAnsibleClient::ApiError => e
|
533
|
+
puts "Exception when calling RemotesCollectionApi->remove_role: #{e}"
|
534
|
+
end
|
535
|
+
```
|
536
|
+
|
537
|
+
### Parameters
|
538
|
+
|
539
|
+
|
540
|
+
Name | Type | Description | Notes
|
541
|
+
------------- | ------------- | ------------- | -------------
|
542
|
+
**ansible_collection_remote_href** | **String**| |
|
543
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
544
|
+
|
545
|
+
### Return type
|
546
|
+
|
547
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
548
|
+
|
549
|
+
### Authorization
|
550
|
+
|
551
|
+
[basicAuth](../README.md#basicAuth)
|
552
|
+
|
553
|
+
### HTTP request headers
|
554
|
+
|
555
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
556
|
+
- **Accept**: application/json
|
557
|
+
|
558
|
+
|
323
559
|
## update
|
324
560
|
|
325
561
|
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote)
|