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,198 @@
|
|
1
|
+
# PulpAnsibleClient::ContentCollectionMarksApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](ContentCollectionMarksApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_marks/ | Create a collection version mark
|
8
|
+
[**list**](ContentCollectionMarksApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_marks/ | List collection version marks
|
9
|
+
[**read**](ContentCollectionMarksApi.md#read) | **GET** {ansible_collection_version_mark_href} | Inspect a collection version mark
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## create
|
14
|
+
|
15
|
+
> AnsibleCollectionVersionMarkResponse create(ansible_collection_version_mark)
|
16
|
+
|
17
|
+
Create a collection version mark
|
18
|
+
|
19
|
+
ViewSet for looking at mark objects for CollectionVersion content.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_ansible_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpAnsibleClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpAnsibleClient::ContentCollectionMarksApi.new
|
34
|
+
ansible_collection_version_mark = PulpAnsibleClient::AnsibleCollectionVersionMark.new # AnsibleCollectionVersionMark |
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Create a collection version mark
|
38
|
+
result = api_instance.create(ansible_collection_version_mark)
|
39
|
+
p result
|
40
|
+
rescue PulpAnsibleClient::ApiError => e
|
41
|
+
puts "Exception when calling ContentCollectionMarksApi->create: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**ansible_collection_version_mark** | [**AnsibleCollectionVersionMark**](AnsibleCollectionVersionMark.md)| |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**AnsibleCollectionVersionMarkResponse**](AnsibleCollectionVersionMarkResponse.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[basicAuth](../README.md#basicAuth)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
## list
|
67
|
+
|
68
|
+
> PaginatedansibleCollectionVersionMarkResponseList list(opts)
|
69
|
+
|
70
|
+
List collection version marks
|
71
|
+
|
72
|
+
ViewSet for looking at mark objects for CollectionVersion content.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
|
76
|
+
```ruby
|
77
|
+
# load the gem
|
78
|
+
require 'pulp_ansible_client'
|
79
|
+
# setup authorization
|
80
|
+
PulpAnsibleClient.configure do |config|
|
81
|
+
# Configure HTTP basic authorization: basicAuth
|
82
|
+
config.username = 'YOUR USERNAME'
|
83
|
+
config.password = 'YOUR PASSWORD'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = PulpAnsibleClient::ContentCollectionMarksApi.new
|
87
|
+
opts = {
|
88
|
+
limit: 56, # Integer | Number of results to return per page.
|
89
|
+
marked_collection: 'marked_collection_example', # String | Filter marks for collection version
|
90
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
93
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
94
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
95
|
+
value: 'value_example', # String | Filter marks by value
|
96
|
+
value__in: ['value__in_example'], # Array<String> | Filter results where value is in a comma-separated list of values
|
97
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
98
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
99
|
+
}
|
100
|
+
|
101
|
+
begin
|
102
|
+
#List collection version marks
|
103
|
+
result = api_instance.list(opts)
|
104
|
+
p result
|
105
|
+
rescue PulpAnsibleClient::ApiError => e
|
106
|
+
puts "Exception when calling ContentCollectionMarksApi->list: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
### Parameters
|
111
|
+
|
112
|
+
|
113
|
+
Name | Type | Description | Notes
|
114
|
+
------------- | ------------- | ------------- | -------------
|
115
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
|
+
**marked_collection** | **String**| Filter marks for collection version | [optional]
|
117
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
118
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
119
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
121
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
122
|
+
**value** | **String**| Filter marks by value | [optional]
|
123
|
+
**value__in** | [**Array<String>**](String.md)| Filter results where value is in a comma-separated list of values | [optional]
|
124
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
125
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
126
|
+
|
127
|
+
### Return type
|
128
|
+
|
129
|
+
[**PaginatedansibleCollectionVersionMarkResponseList**](PaginatedansibleCollectionVersionMarkResponseList.md)
|
130
|
+
|
131
|
+
### Authorization
|
132
|
+
|
133
|
+
[basicAuth](../README.md#basicAuth)
|
134
|
+
|
135
|
+
### HTTP request headers
|
136
|
+
|
137
|
+
- **Content-Type**: Not defined
|
138
|
+
- **Accept**: application/json
|
139
|
+
|
140
|
+
|
141
|
+
## read
|
142
|
+
|
143
|
+
> AnsibleCollectionVersionMarkResponse read(ansible_collection_version_mark_href, opts)
|
144
|
+
|
145
|
+
Inspect a collection version mark
|
146
|
+
|
147
|
+
ViewSet for looking at mark objects for CollectionVersion content.
|
148
|
+
|
149
|
+
### Example
|
150
|
+
|
151
|
+
```ruby
|
152
|
+
# load the gem
|
153
|
+
require 'pulp_ansible_client'
|
154
|
+
# setup authorization
|
155
|
+
PulpAnsibleClient.configure do |config|
|
156
|
+
# Configure HTTP basic authorization: basicAuth
|
157
|
+
config.username = 'YOUR USERNAME'
|
158
|
+
config.password = 'YOUR PASSWORD'
|
159
|
+
end
|
160
|
+
|
161
|
+
api_instance = PulpAnsibleClient::ContentCollectionMarksApi.new
|
162
|
+
ansible_collection_version_mark_href = 'ansible_collection_version_mark_href_example' # String |
|
163
|
+
opts = {
|
164
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
165
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
166
|
+
}
|
167
|
+
|
168
|
+
begin
|
169
|
+
#Inspect a collection version mark
|
170
|
+
result = api_instance.read(ansible_collection_version_mark_href, opts)
|
171
|
+
p result
|
172
|
+
rescue PulpAnsibleClient::ApiError => e
|
173
|
+
puts "Exception when calling ContentCollectionMarksApi->read: #{e}"
|
174
|
+
end
|
175
|
+
```
|
176
|
+
|
177
|
+
### Parameters
|
178
|
+
|
179
|
+
|
180
|
+
Name | Type | Description | Notes
|
181
|
+
------------- | ------------- | ------------- | -------------
|
182
|
+
**ansible_collection_version_mark_href** | **String**| |
|
183
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
184
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
185
|
+
|
186
|
+
### Return type
|
187
|
+
|
188
|
+
[**AnsibleCollectionVersionMarkResponse**](AnsibleCollectionVersionMarkResponse.md)
|
189
|
+
|
190
|
+
### Authorization
|
191
|
+
|
192
|
+
[basicAuth](../README.md#basicAuth)
|
193
|
+
|
194
|
+
### HTTP request headers
|
195
|
+
|
196
|
+
- **Content-Type**: Not defined
|
197
|
+
- **Accept**: application/json
|
198
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::ContentCollectionVersionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -32,10 +32,10 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
34
34
|
opts = {
|
35
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
35
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
36
|
+
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
38
37
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
39
|
expected_name: 'expected_name_example', # String | The name of the collection.
|
40
40
|
expected_namespace: 'expected_namespace_example', # String | The namespace of the collection.
|
41
41
|
expected_version: 'expected_version_example' # String | The version of the collection.
|
@@ -55,10 +55,10 @@ end
|
|
55
55
|
|
56
56
|
Name | Type | Description | Notes
|
57
57
|
------------- | ------------- | ------------- | -------------
|
58
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
59
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
60
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
|
+
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
61
60
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
61
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
62
62
|
**expected_name** | **String**| The name of the collection. | [optional]
|
63
63
|
**expected_namespace** | **String**| The namespace of the collection. | [optional]
|
64
64
|
**expected_version** | **String**| The version of the collection. | [optional]
|
@@ -0,0 +1,220 @@
|
|
1
|
+
# PulpAnsibleClient::ContentNamespacesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**avatar**](ContentNamespacesApi.md#avatar) | **GET** {ansible_ansible_namespace_metadata_href}avatar/ |
|
8
|
+
[**list**](ContentNamespacesApi.md#list) | **GET** /pulp/api/v3/content/ansible/namespaces/ | List ansible namespace metadatas
|
9
|
+
[**read**](ContentNamespacesApi.md#read) | **GET** {ansible_ansible_namespace_metadata_href} | Inspect an ansible namespace metadata
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## avatar
|
14
|
+
|
15
|
+
> avatar(ansible_ansible_namespace_metadata_href, opts)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
Get the logo for the this namespace.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_ansible_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpAnsibleClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
34
|
+
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
35
|
+
opts = {
|
36
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
37
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
38
|
+
}
|
39
|
+
|
40
|
+
begin
|
41
|
+
api_instance.avatar(ansible_ansible_namespace_metadata_href, opts)
|
42
|
+
rescue PulpAnsibleClient::ApiError => e
|
43
|
+
puts "Exception when calling ContentNamespacesApi->avatar: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
|
50
|
+
Name | Type | Description | Notes
|
51
|
+
------------- | ------------- | ------------- | -------------
|
52
|
+
**ansible_ansible_namespace_metadata_href** | **String**| |
|
53
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
54
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
nil (empty response body)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: Not defined
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
70
|
+
## list
|
71
|
+
|
72
|
+
> PaginatedansibleAnsibleNamespaceMetadataResponseList list(opts)
|
73
|
+
|
74
|
+
List ansible namespace metadatas
|
75
|
+
|
76
|
+
ViewSet for AnsibleNamespace.
|
77
|
+
|
78
|
+
### Example
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
# load the gem
|
82
|
+
require 'pulp_ansible_client'
|
83
|
+
# setup authorization
|
84
|
+
PulpAnsibleClient.configure do |config|
|
85
|
+
# Configure HTTP basic authorization: basicAuth
|
86
|
+
config.username = 'YOUR USERNAME'
|
87
|
+
config.password = 'YOUR PASSWORD'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
91
|
+
opts = {
|
92
|
+
company: 'company_example', # String | Filter results where company matches value
|
93
|
+
company__contains: 'company__contains_example', # String | Filter results where company contains value
|
94
|
+
company__icontains: 'company__icontains_example', # String | Filter results where company contains value
|
95
|
+
company__in: ['company__in_example'], # Array<String> | Filter results where company is in a comma-separated list of values
|
96
|
+
company__startswith: 'company__startswith_example', # String | Filter results where company starts with value
|
97
|
+
limit: 56, # Integer | Number of results to return per page.
|
98
|
+
metadata_sha256: 'metadata_sha256_example', # String | Filter results where metadata_sha256 matches value
|
99
|
+
metadata_sha256__in: ['metadata_sha256__in_example'], # Array<String> | Filter results where metadata_sha256 is in a comma-separated list of values
|
100
|
+
name: 'name_example', # String | Filter results where name matches value
|
101
|
+
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
102
|
+
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
103
|
+
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
104
|
+
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
105
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
108
|
+
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
109
|
+
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
110
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
111
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
112
|
+
}
|
113
|
+
|
114
|
+
begin
|
115
|
+
#List ansible namespace metadatas
|
116
|
+
result = api_instance.list(opts)
|
117
|
+
p result
|
118
|
+
rescue PulpAnsibleClient::ApiError => e
|
119
|
+
puts "Exception when calling ContentNamespacesApi->list: #{e}"
|
120
|
+
end
|
121
|
+
```
|
122
|
+
|
123
|
+
### Parameters
|
124
|
+
|
125
|
+
|
126
|
+
Name | Type | Description | Notes
|
127
|
+
------------- | ------------- | ------------- | -------------
|
128
|
+
**company** | **String**| Filter results where company matches value | [optional]
|
129
|
+
**company__contains** | **String**| Filter results where company contains value | [optional]
|
130
|
+
**company__icontains** | **String**| Filter results where company contains value | [optional]
|
131
|
+
**company__in** | [**Array<String>**](String.md)| Filter results where company is in a comma-separated list of values | [optional]
|
132
|
+
**company__startswith** | **String**| Filter results where company starts with value | [optional]
|
133
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
134
|
+
**metadata_sha256** | **String**| Filter results where metadata_sha256 matches value | [optional]
|
135
|
+
**metadata_sha256__in** | [**Array<String>**](String.md)| Filter results where metadata_sha256 is in a comma-separated list of values | [optional]
|
136
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
137
|
+
**name__contains** | **String**| Filter results where name contains value | [optional]
|
138
|
+
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
139
|
+
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
140
|
+
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
141
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
142
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
143
|
+
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
144
|
+
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
145
|
+
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
146
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
147
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
148
|
+
|
149
|
+
### Return type
|
150
|
+
|
151
|
+
[**PaginatedansibleAnsibleNamespaceMetadataResponseList**](PaginatedansibleAnsibleNamespaceMetadataResponseList.md)
|
152
|
+
|
153
|
+
### Authorization
|
154
|
+
|
155
|
+
[basicAuth](../README.md#basicAuth)
|
156
|
+
|
157
|
+
### HTTP request headers
|
158
|
+
|
159
|
+
- **Content-Type**: Not defined
|
160
|
+
- **Accept**: application/json
|
161
|
+
|
162
|
+
|
163
|
+
## read
|
164
|
+
|
165
|
+
> AnsibleAnsibleNamespaceMetadataResponse read(ansible_ansible_namespace_metadata_href, opts)
|
166
|
+
|
167
|
+
Inspect an ansible namespace metadata
|
168
|
+
|
169
|
+
ViewSet for AnsibleNamespace.
|
170
|
+
|
171
|
+
### Example
|
172
|
+
|
173
|
+
```ruby
|
174
|
+
# load the gem
|
175
|
+
require 'pulp_ansible_client'
|
176
|
+
# setup authorization
|
177
|
+
PulpAnsibleClient.configure do |config|
|
178
|
+
# Configure HTTP basic authorization: basicAuth
|
179
|
+
config.username = 'YOUR USERNAME'
|
180
|
+
config.password = 'YOUR PASSWORD'
|
181
|
+
end
|
182
|
+
|
183
|
+
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
184
|
+
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
185
|
+
opts = {
|
186
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
187
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
188
|
+
}
|
189
|
+
|
190
|
+
begin
|
191
|
+
#Inspect an ansible namespace metadata
|
192
|
+
result = api_instance.read(ansible_ansible_namespace_metadata_href, opts)
|
193
|
+
p result
|
194
|
+
rescue PulpAnsibleClient::ApiError => e
|
195
|
+
puts "Exception when calling ContentNamespacesApi->read: #{e}"
|
196
|
+
end
|
197
|
+
```
|
198
|
+
|
199
|
+
### Parameters
|
200
|
+
|
201
|
+
|
202
|
+
Name | Type | Description | Notes
|
203
|
+
------------- | ------------- | ------------- | -------------
|
204
|
+
**ansible_ansible_namespace_metadata_href** | **String**| |
|
205
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
206
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
207
|
+
|
208
|
+
### Return type
|
209
|
+
|
210
|
+
[**AnsibleAnsibleNamespaceMetadataResponse**](AnsibleAnsibleNamespaceMetadataResponse.md)
|
211
|
+
|
212
|
+
### Authorization
|
213
|
+
|
214
|
+
[basicAuth](../README.md#basicAuth)
|
215
|
+
|
216
|
+
### HTTP request headers
|
217
|
+
|
218
|
+
- **Content-Type**: Not defined
|
219
|
+
- **Accept**: application/json
|
220
|
+
|