pulp_ansible_client 0.12.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -5
  3. data/docs/AnsibleAnsibleRepository.md +3 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleCollectionVersionSignature.md +21 -0
  7. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -2
  8. data/docs/AnsibleGitRemote.md +27 -27
  9. data/docs/AnsibleGitRemoteResponse.md +23 -23
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionVersionListResponse.md +25 -0
  12. data/docs/ContentCollectionSignaturesApi.md +64 -4
  13. data/docs/KeyringEnum.md +16 -0
  14. data/docs/{PaginatedCollectionVersionResponseList.md → PaginatedCollectionVersionListResponseList.md} +3 -3
  15. data/docs/PatchedansibleAnsibleRepository.md +3 -1
  16. data/docs/PatchedansibleGitRemote.md +27 -27
  17. data/docs/PulpAnsibleApiV3Api.md +8 -2
  18. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +68 -0
  19. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +8 -2
  20. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +8 -2
  21. data/docs/PulpAnsibleApiV3CollectionsApi.md +81 -6
  22. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +77 -6
  23. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +8 -2
  24. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +75 -0
  25. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +69 -0
  26. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +69 -0
  27. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +70 -0
  28. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +264 -0
  29. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +223 -0
  30. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +75 -0
  31. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +205 -1
  32. data/docs/PulpAnsibleDefaultApiApi.md +50 -0
  33. data/docs/PulpAnsibleDefaultApiV3Api.md +57 -0
  34. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +68 -0
  35. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +57 -0
  36. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +71 -0
  37. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +248 -0
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +211 -0
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +71 -0
  40. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +73 -0
  41. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +67 -0
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +67 -0
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +68 -0
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +256 -0
  45. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +217 -0
  46. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +73 -0
  47. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +79 -4
  48. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -3
  49. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +92 -0
  50. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -3
  51. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -3
  52. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +81 -9
  53. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +87 -9
  54. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -3
  55. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +103 -0
  56. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +94 -0
  57. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +94 -0
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +98 -0
  59. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +357 -0
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +313 -0
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +112 -0
  62. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +298 -1
  63. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +74 -0
  64. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +76 -0
  65. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +92 -0
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +76 -0
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +91 -0
  68. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +309 -0
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +277 -0
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +100 -0
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +97 -0
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +88 -0
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +88 -0
  74. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +92 -0
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +333 -0
  76. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +295 -0
  77. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +106 -0
  78. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -5
  79. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -5
  80. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
  81. data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +238 -0
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +0 -5
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
  85. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  86. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +269 -0
  87. data/lib/pulp_ansible_client/models/keyring_enum.rb +40 -0
  88. data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → paginated_collection_version_list_response_list.rb} +4 -4
  89. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -5
  90. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
  91. data/lib/pulp_ansible_client/version.rb +1 -1
  92. data/lib/pulp_ansible_client.rb +27 -1
  93. data/spec/api/content_collection_signatures_api_spec.rb +16 -2
  94. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -1
  95. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +49 -0
  96. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -1
  97. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -1
  98. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +16 -3
  99. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +17 -3
  100. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -1
  101. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +52 -0
  102. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +49 -0
  103. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +49 -0
  104. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +50 -0
  105. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +99 -0
  106. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +94 -0
  107. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +52 -0
  108. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +51 -0
  109. data/spec/api/pulp_ansible_default_api_api_spec.rb +45 -0
  110. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +45 -0
  111. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +49 -0
  112. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +45 -0
  113. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +50 -0
  114. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +91 -0
  115. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +88 -0
  116. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +50 -0
  117. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +51 -0
  118. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +48 -0
  119. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +48 -0
  120. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +49 -0
  121. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +95 -0
  122. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +91 -0
  123. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +51 -0
  124. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  125. data/spec/models/ansible_ansible_repository_spec.rb +6 -0
  126. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  127. data/spec/models/ansible_collection_version_signature_spec.rb +53 -0
  128. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  129. data/spec/models/ansible_git_remote_spec.rb +19 -19
  130. data/spec/models/ansible_role_response_spec.rb +2 -2
  131. data/spec/models/collection_version_list_response_spec.rb +65 -0
  132. data/spec/models/keyring_enum_spec.rb +35 -0
  133. data/spec/models/{paginated_collection_version_response_list_spec.rb → paginated_collection_version_list_response_list_spec.rb} +6 -6
  134. data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
  135. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  136. metadata +109 -5
@@ -0,0 +1,248 @@
1
+ # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](PulpAnsibleDefaultApiV3CollectionsApi.md#delete) | **DELETE** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/ |
8
+ [**list**](PulpAnsibleDefaultApiV3CollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/ |
9
+ [**read**](PulpAnsibleDefaultApiV3CollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/ |
10
+ [**update**](PulpAnsibleDefaultApiV3CollectionsApi.md#update) | **PATCH** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/ |
11
+
12
+
13
+
14
+ ## delete
15
+
16
+ > AsyncOperationResponse delete(name, namespace)
17
+
18
+
19
+
20
+ Legacy v3 endpoint.
21
+
22
+ ### Example
23
+
24
+ ```ruby
25
+ # load the gem
26
+ require 'pulp_ansible_client'
27
+ # setup authorization
28
+ PulpAnsibleClient.configure do |config|
29
+ # Configure HTTP basic authorization: basicAuth
30
+ config.username = 'YOUR USERNAME'
31
+ config.password = 'YOUR PASSWORD'
32
+ end
33
+
34
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
35
+ name = 'name_example' # String |
36
+ namespace = 'namespace_example' # String |
37
+
38
+ begin
39
+ result = api_instance.delete(name, namespace)
40
+ p result
41
+ rescue PulpAnsibleClient::ApiError => e
42
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsApi->delete: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **name** | **String**| |
52
+ **namespace** | **String**| |
53
+
54
+ ### Return type
55
+
56
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [basicAuth](../README.md#basicAuth)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: application/json
66
+
67
+
68
+ ## list
69
+
70
+ > PaginatedCollectionResponseList list(opts)
71
+
72
+
73
+
74
+ Legacy v3 endpoint.
75
+
76
+ ### Example
77
+
78
+ ```ruby
79
+ # load the gem
80
+ require 'pulp_ansible_client'
81
+ # setup authorization
82
+ PulpAnsibleClient.configure do |config|
83
+ # Configure HTTP basic authorization: basicAuth
84
+ config.username = 'YOUR USERNAME'
85
+ config.password = 'YOUR PASSWORD'
86
+ end
87
+
88
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
89
+ opts = {
90
+ deprecated: true, # Boolean |
91
+ limit: 56, # Integer | Number of results to return per page.
92
+ name: 'name_example', # String |
93
+ namespace: 'namespace_example', # String |
94
+ offset: 56, # Integer | The initial index from which to return the results.
95
+ fields: 'fields_example', # String | A list of fields to include in the response.
96
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
97
+ }
98
+
99
+ begin
100
+ result = api_instance.list(opts)
101
+ p result
102
+ rescue PulpAnsibleClient::ApiError => e
103
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsApi->list: #{e}"
104
+ end
105
+ ```
106
+
107
+ ### Parameters
108
+
109
+
110
+ Name | Type | Description | Notes
111
+ ------------- | ------------- | ------------- | -------------
112
+ **deprecated** | **Boolean**| | [optional]
113
+ **limit** | **Integer**| Number of results to return per page. | [optional]
114
+ **name** | **String**| | [optional]
115
+ **namespace** | **String**| | [optional]
116
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
117
+ **fields** | **String**| A list of fields to include in the response. | [optional]
118
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
119
+
120
+ ### Return type
121
+
122
+ [**PaginatedCollectionResponseList**](PaginatedCollectionResponseList.md)
123
+
124
+ ### Authorization
125
+
126
+ [basicAuth](../README.md#basicAuth)
127
+
128
+ ### HTTP request headers
129
+
130
+ - **Content-Type**: Not defined
131
+ - **Accept**: application/json
132
+
133
+
134
+ ## read
135
+
136
+ > CollectionResponse read(name, namespace, opts)
137
+
138
+
139
+
140
+ Legacy v3 endpoint.
141
+
142
+ ### Example
143
+
144
+ ```ruby
145
+ # load the gem
146
+ require 'pulp_ansible_client'
147
+ # setup authorization
148
+ PulpAnsibleClient.configure do |config|
149
+ # Configure HTTP basic authorization: basicAuth
150
+ config.username = 'YOUR USERNAME'
151
+ config.password = 'YOUR PASSWORD'
152
+ end
153
+
154
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
155
+ name = 'name_example' # String |
156
+ namespace = 'namespace_example' # String |
157
+ opts = {
158
+ fields: 'fields_example', # String | A list of fields to include in the response.
159
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
160
+ }
161
+
162
+ begin
163
+ result = api_instance.read(name, namespace, opts)
164
+ p result
165
+ rescue PulpAnsibleClient::ApiError => e
166
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsApi->read: #{e}"
167
+ end
168
+ ```
169
+
170
+ ### Parameters
171
+
172
+
173
+ Name | Type | Description | Notes
174
+ ------------- | ------------- | ------------- | -------------
175
+ **name** | **String**| |
176
+ **namespace** | **String**| |
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
178
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
179
+
180
+ ### Return type
181
+
182
+ [**CollectionResponse**](CollectionResponse.md)
183
+
184
+ ### Authorization
185
+
186
+ [basicAuth](../README.md#basicAuth)
187
+
188
+ ### HTTP request headers
189
+
190
+ - **Content-Type**: Not defined
191
+ - **Accept**: application/json
192
+
193
+
194
+ ## update
195
+
196
+ > AsyncOperationResponse update(name, namespace, body)
197
+
198
+
199
+
200
+ Legacy v3 endpoint.
201
+
202
+ ### Example
203
+
204
+ ```ruby
205
+ # load the gem
206
+ require 'pulp_ansible_client'
207
+ # setup authorization
208
+ PulpAnsibleClient.configure do |config|
209
+ # Configure HTTP basic authorization: basicAuth
210
+ config.username = 'YOUR USERNAME'
211
+ config.password = 'YOUR PASSWORD'
212
+ end
213
+
214
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
215
+ name = 'name_example' # String |
216
+ namespace = 'namespace_example' # String |
217
+ body = nil # Object |
218
+
219
+ begin
220
+ result = api_instance.update(name, namespace, body)
221
+ p result
222
+ rescue PulpAnsibleClient::ApiError => e
223
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsApi->update: #{e}"
224
+ end
225
+ ```
226
+
227
+ ### Parameters
228
+
229
+
230
+ Name | Type | Description | Notes
231
+ ------------- | ------------- | ------------- | -------------
232
+ **name** | **String**| |
233
+ **namespace** | **String**| |
234
+ **body** | **Object**| |
235
+
236
+ ### Return type
237
+
238
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
239
+
240
+ ### Authorization
241
+
242
+ [basicAuth](../README.md#basicAuth)
243
+
244
+ ### HTTP request headers
245
+
246
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
247
+ - **Accept**: application/json
248
+
@@ -0,0 +1,211 @@
1
+ # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](PulpAnsibleDefaultApiV3CollectionsVersionsApi.md#delete) | **DELETE** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/versions/{version}/ |
8
+ [**list**](PulpAnsibleDefaultApiV3CollectionsVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/versions/ |
9
+ [**read**](PulpAnsibleDefaultApiV3CollectionsVersionsApi.md#read) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/versions/{version}/ |
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > AsyncOperationResponse delete(name, namespace, version)
16
+
17
+
18
+
19
+ Legacy v3 endpoint.
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::PulpAnsibleDefaultApiV3CollectionsVersionsApi.new
34
+ name = 'name_example' # String |
35
+ namespace = 'namespace_example' # String |
36
+ version = 'version_example' # String |
37
+
38
+ begin
39
+ result = api_instance.delete(name, namespace, version)
40
+ p result
41
+ rescue PulpAnsibleClient::ApiError => e
42
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi->delete: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **name** | **String**| |
52
+ **namespace** | **String**| |
53
+ **version** | **String**| |
54
+
55
+ ### Return type
56
+
57
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: application/json
67
+
68
+
69
+ ## list
70
+
71
+ > PaginatedCollectionVersionListResponseList list(name, namespace, opts)
72
+
73
+
74
+
75
+ Legacy v3 endpoint.
76
+
77
+ ### Example
78
+
79
+ ```ruby
80
+ # load the gem
81
+ require 'pulp_ansible_client'
82
+ # setup authorization
83
+ PulpAnsibleClient.configure do |config|
84
+ # Configure HTTP basic authorization: basicAuth
85
+ config.username = 'YOUR USERNAME'
86
+ config.password = 'YOUR PASSWORD'
87
+ end
88
+
89
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi.new
90
+ name = 'name_example' # String |
91
+ namespace = 'namespace_example' # String |
92
+ opts = {
93
+ is_highest: true, # Boolean |
94
+ limit: 56, # Integer | Number of results to return per page.
95
+ name2: 'name_example', # String |
96
+ namespace2: 'namespace_example', # String |
97
+ offset: 56, # Integer | The initial index from which to return the results.
98
+ q: 'q_example', # String |
99
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
100
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
101
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
102
+ tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
103
+ version: 'version_example', # String | Filter results where version matches value
104
+ fields: 'fields_example', # String | A list of fields to include in the response.
105
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
106
+ }
107
+
108
+ begin
109
+ result = api_instance.list(name, namespace, opts)
110
+ p result
111
+ rescue PulpAnsibleClient::ApiError => e
112
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi->list: #{e}"
113
+ end
114
+ ```
115
+
116
+ ### Parameters
117
+
118
+
119
+ Name | Type | Description | Notes
120
+ ------------- | ------------- | ------------- | -------------
121
+ **name** | **String**| |
122
+ **namespace** | **String**| |
123
+ **is_highest** | **Boolean**| | [optional]
124
+ **limit** | **Integer**| Number of results to return per page. | [optional]
125
+ **name2** | **String**| | [optional]
126
+ **namespace2** | **String**| | [optional]
127
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
128
+ **q** | **String**| | [optional]
129
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
130
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
131
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
132
+ **tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
133
+ **version** | **String**| Filter results where version matches value | [optional]
134
+ **fields** | **String**| A list of fields to include in the response. | [optional]
135
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
136
+
137
+ ### Return type
138
+
139
+ [**PaginatedCollectionVersionListResponseList**](PaginatedCollectionVersionListResponseList.md)
140
+
141
+ ### Authorization
142
+
143
+ [basicAuth](../README.md#basicAuth)
144
+
145
+ ### HTTP request headers
146
+
147
+ - **Content-Type**: Not defined
148
+ - **Accept**: application/json
149
+
150
+
151
+ ## read
152
+
153
+ > CollectionVersionResponse read(name, namespace, version, opts)
154
+
155
+
156
+
157
+ Legacy v3 endpoint.
158
+
159
+ ### Example
160
+
161
+ ```ruby
162
+ # load the gem
163
+ require 'pulp_ansible_client'
164
+ # setup authorization
165
+ PulpAnsibleClient.configure do |config|
166
+ # Configure HTTP basic authorization: basicAuth
167
+ config.username = 'YOUR USERNAME'
168
+ config.password = 'YOUR PASSWORD'
169
+ end
170
+
171
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsApi.new
172
+ name = 'name_example' # String |
173
+ namespace = 'namespace_example' # String |
174
+ version = 'version_example' # String |
175
+ opts = {
176
+ fields: 'fields_example', # String | A list of fields to include in the response.
177
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
178
+ }
179
+
180
+ begin
181
+ result = api_instance.read(name, namespace, version, opts)
182
+ p result
183
+ rescue PulpAnsibleClient::ApiError => e
184
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi->read: #{e}"
185
+ end
186
+ ```
187
+
188
+ ### Parameters
189
+
190
+
191
+ Name | Type | Description | Notes
192
+ ------------- | ------------- | ------------- | -------------
193
+ **name** | **String**| |
194
+ **namespace** | **String**| |
195
+ **version** | **String**| |
196
+ **fields** | **String**| A list of fields to include in the response. | [optional]
197
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
198
+
199
+ ### Return type
200
+
201
+ [**CollectionVersionResponse**](CollectionVersionResponse.md)
202
+
203
+ ### Authorization
204
+
205
+ [basicAuth](../README.md#basicAuth)
206
+
207
+ ### HTTP request headers
208
+
209
+ - **Content-Type**: Not defined
210
+ - **Accept**: application/json
211
+
@@ -0,0 +1,71 @@
1
+ # PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**read**](PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md#read) | **GET** /pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/versions/{version}/docs-blob/ |
8
+
9
+
10
+
11
+ ## read
12
+
13
+ > CollectionVersionDocsResponse read(name, namespace, version, opts)
14
+
15
+
16
+
17
+ Legacy v3 endpoint.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_ansible_client'
24
+ # setup authorization
25
+ PulpAnsibleClient.configure do |config|
26
+ # Configure HTTP basic authorization: basicAuth
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.new
32
+ name = 'name_example' # String |
33
+ namespace = 'namespace_example' # String |
34
+ version = 'version_example' # String |
35
+ opts = {
36
+ fields: 'fields_example', # String | A list of fields to include in the response.
37
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
38
+ }
39
+
40
+ begin
41
+ result = api_instance.read(name, namespace, version, opts)
42
+ p result
43
+ rescue PulpAnsibleClient::ApiError => e
44
+ puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi->read: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **name** | **String**| |
54
+ **namespace** | **String**| |
55
+ **version** | **String**| |
56
+ **fields** | **String**| A list of fields to include in the response. | [optional]
57
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
58
+
59
+ ### Return type
60
+
61
+ [**CollectionVersionDocsResponse**](CollectionVersionDocsResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ [basicAuth](../README.md#basicAuth)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: application/json
71
+
@@ -0,0 +1,73 @@
1
+ # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-collections/ |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > Array<CollectionResponse> list(distro_base_path, opts)
14
+
15
+
16
+
17
+ Unpaginated ViewSet for Collections.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_ansible_client'
24
+ # setup authorization
25
+ PulpAnsibleClient.configure do |config|
26
+ # Configure HTTP basic authorization: basicAuth
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.new
32
+ distro_base_path = 'distro_base_path_example' # String |
33
+ opts = {
34
+ deprecated: true, # Boolean |
35
+ name: 'name_example', # String |
36
+ namespace: 'namespace_example', # String |
37
+ fields: 'fields_example', # String | A list of fields to include in the response.
38
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
39
+ }
40
+
41
+ begin
42
+ result = api_instance.list(distro_base_path, opts)
43
+ p result
44
+ rescue PulpAnsibleClient::ApiError => e
45
+ puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi->list: #{e}"
46
+ end
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ Name | Type | Description | Notes
53
+ ------------- | ------------- | ------------- | -------------
54
+ **distro_base_path** | **String**| |
55
+ **deprecated** | **Boolean**| | [optional]
56
+ **name** | **String**| | [optional]
57
+ **namespace** | **String**| | [optional]
58
+ **fields** | **String**| A list of fields to include in the response. | [optional]
59
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
60
+
61
+ ### Return type
62
+
63
+ [**Array<CollectionResponse>**](CollectionResponse.md)
64
+
65
+ ### Authorization
66
+
67
+ [basicAuth](../README.md#basicAuth)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: application/json
73
+
@@ -0,0 +1,67 @@
1
+ # PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-versions/ |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > Array<UnpaginatedCollectionVersionResponse> list(distro_base_path, opts)
14
+
15
+
16
+
17
+ Returns paginated CollectionVersions list.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_ansible_client'
24
+ # setup authorization
25
+ PulpAnsibleClient.configure do |config|
26
+ # Configure HTTP basic authorization: basicAuth
27
+ config.username = 'YOUR USERNAME'
28
+ config.password = 'YOUR PASSWORD'
29
+ end
30
+
31
+ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.new
32
+ distro_base_path = 'distro_base_path_example' # String |
33
+ opts = {
34
+ fields: 'fields_example', # String | A list of fields to include in the response.
35
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
36
+ }
37
+
38
+ begin
39
+ result = api_instance.list(distro_base_path, opts)
40
+ p result
41
+ rescue PulpAnsibleClient::ApiError => e
42
+ puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi->list: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **distro_base_path** | **String**| |
52
+ **fields** | **String**| A list of fields to include in the response. | [optional]
53
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
54
+
55
+ ### Return type
56
+
57
+ [**Array<UnpaginatedCollectionVersionResponse>**](UnpaginatedCollectionVersionResponse.md)
58
+
59
+ ### Authorization
60
+
61
+ [basicAuth](../README.md#basicAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: Not defined
66
+ - **Accept**: application/json
67
+