pulp_ansible_client 0.2.0b5 → 0.2.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -23
  3. data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
  4. data/docs/AnsibleAnsibleRemote.md +39 -0
  5. data/docs/AnsibleAnsibleRepository.md +27 -0
  6. data/docs/AnsibleCollection.md +19 -0
  7. data/docs/AnsibleCollectionRemote.md +41 -0
  8. data/docs/AnsibleCollectionVersion.md +67 -0
  9. data/docs/AnsibleCollectionsApi.md +80 -18
  10. data/docs/AnsibleRole.md +27 -0
  11. data/docs/AnsibleTag.md +17 -0
  12. data/docs/Collection.md +31 -0
  13. data/docs/CollectionImportDetail.md +2 -2
  14. data/docs/CollectionMetadata.md +9 -9
  15. data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
  16. data/docs/CollectionRef.md +21 -0
  17. data/docs/CollectionVersion.md +19 -59
  18. data/docs/ContentCollectionVersionsApi.md +25 -27
  19. data/docs/ContentRolesApi.md +17 -25
  20. data/docs/ContentSummary.md +21 -0
  21. data/docs/DistributionsAnsibleApi.md +16 -12
  22. data/docs/GalaxyCollection.md +2 -2
  23. data/docs/GalaxyCollectionVersion.md +4 -4
  24. data/docs/GalaxyRole.md +1 -1
  25. data/docs/GalaxyRoleVersion.md +1 -1
  26. data/docs/InlineResponse200.md +1 -1
  27. data/docs/InlineResponse2001.md +1 -1
  28. data/docs/InlineResponse20010.md +23 -0
  29. data/docs/InlineResponse20011.md +23 -0
  30. data/docs/InlineResponse20012.md +23 -0
  31. data/docs/InlineResponse20013.md +23 -0
  32. data/docs/InlineResponse2002.md +1 -1
  33. data/docs/InlineResponse2003.md +1 -1
  34. data/docs/InlineResponse2004.md +1 -1
  35. data/docs/InlineResponse2005.md +1 -1
  36. data/docs/InlineResponse2006.md +1 -1
  37. data/docs/InlineResponse2007.md +1 -1
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +1 -1
  40. data/docs/PulpAnsibleApiApi.md +3 -1
  41. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
  42. data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
  43. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
  44. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
  45. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
  46. data/docs/PulpAnsibleTagsApi.md +5 -3
  47. data/docs/RemotesAnsibleApi.md +30 -81
  48. data/docs/RemotesCollectionApi.md +30 -81
  49. data/docs/RepositoriesAnsibleApi.md +409 -0
  50. data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
  51. data/docs/RepositorySyncURL.md +2 -2
  52. data/docs/RepositoryVersion.md +25 -0
  53. data/docs/Tag.md +1 -1
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
  55. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
  56. data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
  57. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
  59. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
  60. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
  61. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
  62. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
  63. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
  64. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
  65. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
  66. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
  67. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
  68. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
  69. data/lib/pulp_ansible_client/api_client.rb +1 -1
  70. data/lib/pulp_ansible_client/api_error.rb +1 -1
  71. data/lib/pulp_ansible_client/configuration.rb +1 -1
  72. data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
  73. data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
  74. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
  75. data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
  76. data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
  78. data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
  79. data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
  80. data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
  81. data/lib/pulp_ansible_client/models/collection.rb +314 -0
  82. data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
  83. data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
  84. data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
  85. data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
  86. data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
  87. data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
  88. data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
  89. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
  90. data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
  91. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
  92. data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
  93. data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
  94. data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
  95. data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
  96. data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
  97. data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
  98. data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
  99. data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
  100. data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
  101. data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
  102. data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
  103. data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
  104. data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
  105. data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
  106. data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
  107. data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
  108. data/lib/pulp_ansible_client/models/tag.rb +12 -2
  109. data/lib/pulp_ansible_client/version.rb +2 -2
  110. data/lib/pulp_ansible_client.rb +20 -6
  111. data/pulp_ansible_client.gemspec +1 -1
  112. data/spec/api/ansible_collections_api_spec.rb +25 -10
  113. data/spec/api/content_collection_versions_api_spec.rb +12 -12
  114. data/spec/api/content_roles_api_spec.rb +8 -11
  115. data/spec/api/distributions_ansible_api_spec.rb +5 -3
  116. data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
  117. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
  118. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
  119. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
  120. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
  121. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
  122. data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
  123. data/spec/api/remotes_ansible_api_spec.rb +12 -22
  124. data/spec/api/remotes_collection_api_spec.rb +12 -22
  125. data/spec/api/repositories_ansible_api_spec.rb +128 -0
  126. data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
  127. data/spec/api_client_spec.rb +2 -2
  128. data/spec/configuration_spec.rb +1 -1
  129. data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
  130. data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
  131. data/spec/models/ansible_ansible_repository_spec.rb +71 -0
  132. data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
  133. data/spec/models/ansible_collection_spec.rb +47 -0
  134. data/spec/models/ansible_collection_version_spec.rb +191 -0
  135. data/spec/models/ansible_role_spec.rb +71 -0
  136. data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
  137. data/spec/models/async_operation_response_spec.rb +1 -1
  138. data/spec/models/collection_import_detail_spec.rb +1 -1
  139. data/spec/models/collection_metadata_spec.rb +1 -1
  140. data/spec/models/collection_namespace_spec.rb +41 -0
  141. data/spec/models/collection_ref_spec.rb +53 -0
  142. data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
  143. data/spec/models/collection_version_spec.rb +14 -130
  144. data/spec/models/content_summary_spec.rb +53 -0
  145. data/spec/models/galaxy_collection_spec.rb +1 -1
  146. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  147. data/spec/models/galaxy_role_spec.rb +1 -1
  148. data/spec/models/galaxy_role_version_spec.rb +1 -1
  149. data/spec/models/inline_response20010_spec.rb +59 -0
  150. data/spec/models/inline_response20011_spec.rb +59 -0
  151. data/spec/models/inline_response20012_spec.rb +59 -0
  152. data/spec/models/inline_response20013_spec.rb +59 -0
  153. data/spec/models/inline_response2001_spec.rb +1 -1
  154. data/spec/models/inline_response2002_spec.rb +1 -1
  155. data/spec/models/inline_response2003_spec.rb +1 -1
  156. data/spec/models/inline_response2004_spec.rb +1 -1
  157. data/spec/models/inline_response2005_spec.rb +1 -1
  158. data/spec/models/inline_response2006_spec.rb +1 -1
  159. data/spec/models/inline_response2007_spec.rb +1 -1
  160. data/spec/models/inline_response2008_spec.rb +1 -1
  161. data/spec/models/inline_response2009_spec.rb +1 -1
  162. data/spec/models/inline_response200_spec.rb +1 -1
  163. data/spec/models/repository_sync_url_spec.rb +2 -2
  164. data/spec/models/repository_version_spec.rb +65 -0
  165. data/spec/models/tag_spec.rb +1 -1
  166. data/spec/spec_helper.rb +1 -1
  167. metadata +78 -22
  168. data/docs/AnsibleRemote.md +0 -45
  169. data/docs/CollectionRemote.md +0 -47
  170. data/docs/Role.md +0 -33
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::InlineResponse20011
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<GalaxyCollection>**](GalaxyCollection.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::InlineResponse20011.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::InlineResponse20012
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<GalaxyCollectionVersion>**](GalaxyCollectionVersion.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::InlineResponse20012.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::InlineResponse20013
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
8
+ **_next** | **String** | | [optional]
9
+ **previous** | **String** | | [optional]
10
+ **results** | [**Array<Collection>**](Collection.md) | |
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::InlineResponse20013.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleDistribution>**](AnsibleDistribution.md) | |
10
+ **results** | [**Array<AnsibleRole>**](AnsibleRole.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<Tag>**](Tag.md) | |
10
+ **results** | [**Array<AnsibleAnsibleDistribution>**](AnsibleAnsibleDistribution.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<AnsibleRemote>**](AnsibleRemote.md) | |
10
+ **results** | [**Array<Tag>**](Tag.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<CollectionRemote>**](CollectionRemote.md) | |
10
+ **results** | [**Array<AnsibleAnsibleRemote>**](AnsibleAnsibleRemote.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyRole>**](GalaxyRole.md) | |
10
+ **results** | [**Array<AnsibleCollectionRemote>**](AnsibleCollectionRemote.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyRoleVersion>**](GalaxyRoleVersion.md) | |
10
+ **results** | [**Array<AnsibleAnsibleRepository>**](AnsibleAnsibleRepository.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyCollection>**](GalaxyCollection.md) | |
10
+ **results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<GalaxyCollectionVersion>**](GalaxyCollectionVersion.md) | |
10
+ **results** | [**Array<GalaxyRole>**](GalaxyRole.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -31,7 +31,8 @@ end
31
31
  api_instance = PulpAnsibleClient::PulpAnsibleApiApi.new
32
32
  path = 'path_example' # String |
33
33
  opts = {
34
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
35
36
  }
36
37
 
37
38
  begin
@@ -48,6 +49,7 @@ Name | Type | Description | Notes
48
49
  ------------- | ------------- | ------------- | -------------
49
50
  **path** | **String**| |
50
51
  **fields** | **String**| A list of fields to include in the response. | [optional]
52
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
51
53
 
52
54
  ### Return type
53
55
 
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
67
67
 
68
68
  ## list
69
69
 
70
- > InlineResponse2008 list(path, opts)
70
+ > InlineResponse20011 list(path, opts)
71
71
 
72
72
 
73
73
 
@@ -89,7 +89,8 @@ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
89
89
  path = 'path_example' # String |
90
90
  opts = {
91
91
  page: 56, # Integer | A page number within the paginated result set.
92
- fields: 'fields_example' # String | A list of fields to include in the response.
92
+ fields: 'fields_example', # String | A list of fields to include in the response.
93
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
93
94
  }
94
95
 
95
96
  begin
@@ -108,10 +109,11 @@ Name | Type | Description | Notes
108
109
  **path** | **String**| |
109
110
  **page** | **Integer**| A page number within the paginated result set. | [optional]
110
111
  **fields** | **String**| A list of fields to include in the response. | [optional]
112
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
111
113
 
112
114
  ### Return type
113
115
 
114
- [**InlineResponse2008**](InlineResponse2008.md)
116
+ [**InlineResponse20011**](InlineResponse20011.md)
115
117
 
116
118
  ### Authorization
117
119
 
@@ -125,7 +127,7 @@ Name | Type | Description | Notes
125
127
 
126
128
  ## list_0
127
129
 
128
- > list_0(path, opts)
130
+ > InlineResponse20013 list_0(path, opts)
129
131
 
130
132
 
131
133
 
@@ -148,11 +150,13 @@ path = 'path_example' # String |
148
150
  opts = {
149
151
  limit: 56, # Integer | Number of results to return per page.
150
152
  offset: 56, # Integer | The initial index from which to return the results.
151
- fields: 'fields_example' # String | A list of fields to include in the response.
153
+ fields: 'fields_example', # String | A list of fields to include in the response.
154
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
152
155
  }
153
156
 
154
157
  begin
155
- api_instance.list_0(path, opts)
158
+ result = api_instance.list_0(path, opts)
159
+ p result
156
160
  rescue PulpAnsibleClient::ApiError => e
157
161
  puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->list_0: #{e}"
158
162
  end
@@ -167,10 +171,11 @@ Name | Type | Description | Notes
167
171
  **limit** | **Integer**| Number of results to return per page. | [optional]
168
172
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
169
173
  **fields** | **String**| A list of fields to include in the response. | [optional]
174
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
170
175
 
171
176
  ### Return type
172
177
 
173
- nil (empty response body)
178
+ [**InlineResponse20013**](InlineResponse20013.md)
174
179
 
175
180
  ### Authorization
176
181
 
@@ -179,7 +184,7 @@ nil (empty response body)
179
184
  ### HTTP request headers
180
185
 
181
186
  - **Content-Type**: Not defined
182
- - **Accept**: Not defined
187
+ - **Accept**: application/json
183
188
 
184
189
 
185
190
  ## read
@@ -205,7 +210,8 @@ end
205
210
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
206
211
  collection_href = 'collection_href_example' # String | URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
207
212
  opts = {
208
- fields: 'fields_example' # String | A list of fields to include in the response.
213
+ fields: 'fields_example', # String | A list of fields to include in the response.
214
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
209
215
  }
210
216
 
211
217
  begin
@@ -223,6 +229,7 @@ Name | Type | Description | Notes
223
229
  ------------- | ------------- | ------------- | -------------
224
230
  **collection_href** | **String**| URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/ |
225
231
  **fields** | **String**| A list of fields to include in the response. | [optional]
232
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
226
233
 
227
234
  ### Return type
228
235
 
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
 
11
11
  ## list
12
12
 
13
- > InlineResponse2006 list(path, opts)
13
+ > InlineResponse2009 list(path, opts)
14
14
 
15
15
 
16
16
 
@@ -33,7 +33,8 @@ path = 'path_example' # String |
33
33
  opts = {
34
34
  limit: 56, # Integer | Number of results to return per page.
35
35
  offset: 56, # Integer | The initial index from which to return the results.
36
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
37
38
  }
38
39
 
39
40
  begin
@@ -53,10 +54,11 @@ Name | Type | Description | Notes
53
54
  **limit** | **Integer**| Number of results to return per page. | [optional]
54
55
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
55
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]
56
58
 
57
59
  ### Return type
58
60
 
59
- [**InlineResponse2006**](InlineResponse2006.md)
61
+ [**InlineResponse2009**](InlineResponse2009.md)
60
62
 
61
63
  ### Authorization
62
64
 
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
 
11
11
  ## list
12
12
 
13
- > InlineResponse2007 list(path, role_pk, opts)
13
+ > InlineResponse20010 list(path, role_pk, opts)
14
14
 
15
15
 
16
16
 
@@ -34,7 +34,8 @@ role_pk = 'role_pk_example' # String |
34
34
  opts = {
35
35
  limit: 56, # Integer | Number of results to return per page.
36
36
  offset: 56, # Integer | The initial index from which to return the results.
37
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
38
39
  }
39
40
 
40
41
  begin
@@ -55,10 +56,11 @@ Name | Type | Description | Notes
55
56
  **limit** | **Integer**| Number of results to return per page. | [optional]
56
57
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
57
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]
58
60
 
59
61
  ### Return type
60
62
 
61
- [**InlineResponse2007**](InlineResponse2007.md)
63
+ [**InlineResponse20010**](InlineResponse20010.md)
62
64
 
63
65
  ### Authorization
64
66
 
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
 
11
11
  ## list
12
12
 
13
- > InlineResponse2009 list(collection_href, opts)
13
+ > InlineResponse20012 list(collection_href, opts)
14
14
 
15
15
 
16
16
 
@@ -33,7 +33,8 @@ collection_href = 'collection_href_example' # String | URI of Collection. e.g.:
33
33
  opts = {
34
34
  limit: 56, # Integer | Number of results to return per page.
35
35
  offset: 56, # Integer | The initial index from which to return the results.
36
- fields: 'fields_example' # String | A list of fields to include in the response.
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.
37
38
  }
38
39
 
39
40
  begin
@@ -53,10 +54,11 @@ Name | Type | Description | Notes
53
54
  **limit** | **Integer**| Number of results to return per page. | [optional]
54
55
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
55
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]
56
58
 
57
59
  ### Return type
58
60
 
59
- [**InlineResponse2009**](InlineResponse2009.md)
61
+ [**InlineResponse20012**](InlineResponse20012.md)
60
62
 
61
63
  ### Authorization
62
64
 
@@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ |
7
+ [**create**](PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
8
8
  [**read**](PulpAnsibleGalaxyApiV3CollectionsApi.md#read) | **GET** {collection_import_href} | Inspect a collection import
9
9
 
10
10
 
11
11
 
12
12
  ## create
13
13
 
14
- > create(path)
14
+ > AsyncOperationResponse create(path, file, opts)
15
15
 
16
+ Upload a collection
16
17
 
17
-
18
- ViewSet for CollectionVersions.
18
+ Create an artifact and trigger an asynchronous task to create Collection content from it.
19
19
 
20
20
  ### Example
21
21
 
@@ -31,9 +31,18 @@ end
31
31
 
32
32
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new
33
33
  path = 'path_example' # String |
34
+ file = File.new('/path/to/file') # File | The Collection tarball.
35
+ opts = {
36
+ sha256: 'sha256_example', # String | An optional sha256 checksum of the uploaded file.
37
+ expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
38
+ expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
39
+ expected_version: 'expected_version_example' # String | The expected version of the Collection to be verified against the metadata during import.
40
+ }
34
41
 
35
42
  begin
36
- api_instance.create(path)
43
+ #Upload a collection
44
+ result = api_instance.create(path, file, opts)
45
+ p result
37
46
  rescue PulpAnsibleClient::ApiError => e
38
47
  puts "Exception when calling PulpAnsibleGalaxyApiV3CollectionsApi->create: #{e}"
39
48
  end
@@ -45,10 +54,15 @@ end
45
54
  Name | Type | Description | Notes
46
55
  ------------- | ------------- | ------------- | -------------
47
56
  **path** | **String**| |
57
+ **file** | **File**| The Collection tarball. |
58
+ **sha256** | **String**| An optional sha256 checksum of the uploaded file. | [optional]
59
+ **expected_namespace** | **String**| The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
60
+ **expected_name** | **String**| The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
61
+ **expected_version** | **String**| The expected version of the Collection to be verified against the metadata during import. | [optional]
48
62
 
49
63
  ### Return type
50
64
 
51
- nil (empty response body)
65
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
52
66
 
53
67
  ### Authorization
54
68
 
@@ -56,8 +70,8 @@ nil (empty response body)
56
70
 
57
71
  ### HTTP request headers
58
72
 
59
- - **Content-Type**: Not defined
60
- - **Accept**: Not defined
73
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
74
+ - **Accept**: application/json
61
75
 
62
76
 
63
77
  ## read
@@ -66,7 +80,7 @@ nil (empty response body)
66
80
 
67
81
  Inspect a collection import
68
82
 
69
- ViewSet for CollectionImports.
83
+ Returns a CollectionImport object.
70
84
 
71
85
  ### Example
72
86
 
@@ -83,7 +97,9 @@ end
83
97
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new
84
98
  collection_import_href = 'collection_import_href_example' # String | URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
85
99
  opts = {
86
- fields: 'fields_example' # String | A list of fields to include in the response.
100
+ fields: 'fields_example', # String | A list of fields to include in the response.
101
+ exclude_fields: 'exclude_fields_example', # String | A list of fields to exclude from the response.
102
+ since: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | Filter messages since a given timestamp
87
103
  }
88
104
 
89
105
  begin
@@ -102,6 +118,8 @@ Name | Type | Description | Notes
102
118
  ------------- | ------------- | ------------- | -------------
103
119
  **collection_import_href** | **String**| URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/ |
104
120
  **fields** | **String**| A list of fields to include in the response. | [optional]
121
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
122
+ **since** | **DateTime**| Filter messages since a given timestamp | [optional]
105
123
 
106
124
  ### Return type
107
125
 
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
 
11
11
  ## list
12
12
 
13
- > InlineResponse2003 list(opts)
13
+ > InlineResponse2004 list(opts)
14
14
 
15
15
  List tags
16
16
 
@@ -32,7 +32,8 @@ api_instance = PulpAnsibleClient::PulpAnsibleTagsApi.new
32
32
  opts = {
33
33
  limit: 56, # Integer | Number of results to return per page.
34
34
  offset: 56, # Integer | The initial index from which to return the results.
35
- fields: 'fields_example' # String | A list of fields to include in the response.
35
+ fields: 'fields_example', # String | A list of fields to include in the response.
36
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
36
37
  }
37
38
 
38
39
  begin
@@ -52,10 +53,11 @@ Name | Type | Description | Notes
52
53
  **limit** | **Integer**| Number of results to return per page. | [optional]
53
54
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
54
55
  **fields** | **String**| A list of fields to include in the response. | [optional]
56
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
55
57
 
56
58
  ### Return type
57
59
 
58
- [**InlineResponse2003**](InlineResponse2003.md)
60
+ [**InlineResponse2004**](InlineResponse2004.md)
59
61
 
60
62
  ### Authorization
61
63