pulp_ansible_client 0.16.2 → 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 +88 -22
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +4 -2
- data/docs/CollectionVersionResponse.md +6 -4
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +230 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.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 +3 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/RemotesCollectionApi.md +238 -6
- data/docs/RemotesGitApi.md +230 -6
- data/docs/RemotesRoleApi.md +230 -6
- data/docs/RepositoriesAnsibleApi.md +450 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/Repository.md +25 -0
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +6 -4
- data/docs/VersionsApi.md +10 -10
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +270 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +270 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- 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_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -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_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- 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_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- 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 +283 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +270 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +270 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +542 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- 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 +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +23 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- 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 +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- 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_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- 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 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -5
- 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/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- 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 +14 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- 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_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 -5
- 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 +51 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +51 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- 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_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -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_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- 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_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -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 +55 -3
- data/spec/api/remotes_git_api_spec.rb +51 -3
- data/spec/api/remotes_role_api_spec.rb +51 -3
- data/spec/api/repositories_ansible_api_spec.rb +99 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/api/versions_api_spec.rb +4 -4
- 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 +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- 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 +20 -20
- 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 +231 -103
@@ -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
|
+
|
@@ -4,15 +4,73 @@ 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)
|
@@ -148,9 +206,7 @@ opts = {
|
|
148
206
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
207
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
208
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
209
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
210
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
211
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
156
212
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -158,6 +214,10 @@ opts = {
|
|
158
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
|
159
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
|
160
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
|
161
221
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
162
222
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
163
223
|
}
|
@@ -183,9 +243,7 @@ Name | Type | Description | Notes
|
|
183
243
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
244
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
245
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
187
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
246
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
189
247
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
190
248
|
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
191
249
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
@@ -193,6 +251,10 @@ Name | Type | Description | Notes
|
|
193
251
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
194
252
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
195
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]
|
196
258
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
197
259
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
198
260
|
|
@@ -210,6 +272,122 @@ Name | Type | Description | Notes
|
|
210
272
|
- **Accept**: application/json
|
211
273
|
|
212
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
|
+
|
213
391
|
## partial_update
|
214
392
|
|
215
393
|
> AsyncOperationResponse partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
@@ -324,6 +502,60 @@ Name | Type | Description | Notes
|
|
324
502
|
- **Accept**: application/json
|
325
503
|
|
326
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
|
+
|
327
559
|
## update
|
328
560
|
|
329
561
|
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote)
|