pulp_ansible_client 0.2.0b15 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (256) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +88 -61
  3. data/docs/AnsibleAnsibleDistribution.md +2 -8
  4. data/docs/AnsibleAnsibleDistributionResponse.md +31 -0
  5. data/docs/AnsibleAnsibleRepository.md +4 -10
  6. data/docs/AnsibleAnsibleRepositoryResponse.md +29 -0
  7. data/docs/AnsibleCollectionRemote.md +4 -10
  8. data/docs/AnsibleCollectionRemoteResponse.md +49 -0
  9. data/docs/{AnsibleCollection.md → AnsibleCollectionResponse.md} +2 -2
  10. data/docs/AnsibleCollectionVersion.md +5 -25
  11. data/docs/AnsibleCollectionVersionResponse.md +67 -0
  12. data/docs/AnsibleCollectionsApi.md +47 -47
  13. data/docs/AnsibleRole.md +1 -5
  14. data/docs/AnsibleRoleRemote.md +37 -0
  15. data/docs/{AnsibleAnsibleRemote.md → AnsibleRoleRemoteResponse.md} +5 -5
  16. data/docs/AnsibleRoleResponse.md +27 -0
  17. data/docs/{AnsibleTag.md → AnsibleTagResponse.md} +2 -2
  18. data/docs/CertificationEnum.md +16 -0
  19. data/docs/Collection.md +2 -12
  20. data/docs/CollectionImportApi.md +70 -0
  21. data/docs/{CollectionImportDetail.md → CollectionImportDetailResponse.md} +2 -2
  22. data/docs/CollectionMetadata.md +1 -19
  23. data/docs/CollectionMetadataResponse.md +35 -0
  24. data/docs/CollectionNamespaceResponse.md +17 -0
  25. data/docs/CollectionOneShot.md +25 -0
  26. data/docs/CollectionRef.md +1 -3
  27. data/docs/CollectionRefResponse.md +21 -0
  28. data/docs/CollectionResponse.md +31 -0
  29. data/docs/CollectionVersion.md +3 -19
  30. data/docs/CollectionVersionResponse.md +37 -0
  31. data/docs/ContentCollectionVersionsApi.md +42 -42
  32. data/docs/ContentRolesApi.md +32 -32
  33. data/docs/ContentSummary.md +3 -3
  34. data/docs/ContentSummaryResponse.md +21 -0
  35. data/docs/DistributionsAnsibleApi.md +108 -60
  36. data/docs/GalaxyCollection.md +1 -5
  37. data/docs/GalaxyCollectionListApi.md +65 -0
  38. data/docs/GalaxyCollectionResponse.md +23 -0
  39. data/docs/{GalaxyCollectionVersion.md → GalaxyCollectionVersionResponse.md} +7 -7
  40. data/docs/GalaxyDetailApi.md +61 -0
  41. data/docs/{GalaxyRole.md → GalaxyRoleResponse.md} +3 -3
  42. data/docs/{GalaxyRoleVersion.md → GalaxyRoleVersionResponse.md} +3 -3
  43. data/docs/InlineResponse200.md +3 -3
  44. data/docs/InlineResponse2001.md +3 -3
  45. data/docs/InlineResponse20010.md +3 -3
  46. data/docs/InlineResponse20011.md +3 -3
  47. data/docs/InlineResponse20012.md +3 -3
  48. data/docs/InlineResponse20013.md +3 -3
  49. data/docs/InlineResponse20014.md +23 -0
  50. data/docs/InlineResponse2002.md +3 -3
  51. data/docs/InlineResponse2003.md +3 -3
  52. data/docs/InlineResponse2004.md +3 -3
  53. data/docs/InlineResponse2005.md +3 -3
  54. data/docs/InlineResponse2006.md +3 -3
  55. data/docs/InlineResponse2007.md +3 -3
  56. data/docs/InlineResponse2008.md +3 -3
  57. data/docs/InlineResponse2009.md +3 -3
  58. data/docs/PatchedansibleAnsibleDistribution.md +25 -0
  59. data/docs/PatchedansibleAnsibleRepository.md +21 -0
  60. data/docs/PatchedansibleCollectionRemote.md +43 -0
  61. data/docs/PatchedansibleRoleRemote.md +37 -0
  62. data/docs/PolicyEnum.md +16 -0
  63. data/docs/PulpAnsibleApiApi.md +6 -12
  64. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +37 -108
  65. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +17 -22
  66. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +1 -69
  67. data/docs/PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md +63 -0
  68. data/docs/PulpAnsibleGalaxyApiV3VersionsApi.md +172 -0
  69. data/docs/PulpAnsibleTagsApi.md +4 -4
  70. data/docs/RemotesCollectionApi.md +127 -67
  71. data/docs/RemotesRoleApi.md +428 -0
  72. data/docs/RepositoriesAnsibleApi.md +100 -76
  73. data/docs/RepositoriesAnsibleVersionsApi.md +96 -64
  74. data/docs/RepositoryAddRemoveContent.md +2 -2
  75. data/docs/RepositorySyncURL.md +1 -1
  76. data/docs/RepositoryVersion.md +1 -9
  77. data/docs/RepositoryVersionResponse.md +25 -0
  78. data/docs/{PulpAnsibleGalaxyApiV1VersionsApi.md → RoleListApi.md} +9 -17
  79. data/docs/{Tag.md → TagResponse.md} +2 -2
  80. data/docs/{PulpAnsibleGalaxyApiRolesApi.md → V1RolesApi.md} +9 -15
  81. data/docs/V2CollectionsApi.md +112 -0
  82. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +74 -90
  83. data/lib/pulp_ansible_client/api/collection_import_api.rb +93 -0
  84. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +67 -63
  85. data/lib/pulp_ansible_client/api/content_roles_api.rb +48 -48
  86. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +153 -90
  87. data/lib/pulp_ansible_client/api/galaxy_collection_list_api.rb +94 -0
  88. data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +88 -0
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +9 -9
  90. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +77 -122
  91. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +38 -28
  92. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +3 -90
  93. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_certified_api.rb +108 -0
  94. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_versions_api.rb +264 -0
  95. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
  96. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +184 -103
  97. data/lib/pulp_ansible_client/api/remotes_role_api.rb +532 -0
  98. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +151 -124
  99. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +141 -96
  100. data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_v1_versions_api.rb → role_list_api.rb} +15 -21
  101. data/lib/pulp_ansible_client/api/{pulp_ansible_galaxy_api_roles_api.rb → v1_roles_api.rb} +15 -15
  102. data/lib/pulp_ansible_client/api/v2_collections_api.rb +159 -0
  103. data/lib/pulp_ansible_client/api_client.rb +2 -2
  104. data/lib/pulp_ansible_client/api_error.rb +2 -2
  105. data/lib/pulp_ansible_client/configuration.rb +3 -3
  106. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +8 -74
  107. data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +290 -0
  108. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +18 -78
  109. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +271 -0
  110. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +7 -232
  111. data/lib/pulp_ansible_client/models/{ansible_ansible_remote.rb → ansible_collection_remote_response.rb} +66 -166
  112. data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_collection_response.rb} +6 -43
  113. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +55 -250
  114. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +721 -0
  115. data/lib/pulp_ansible_client/models/ansible_role.rb +4 -79
  116. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +339 -0
  117. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +368 -0
  118. data/lib/pulp_ansible_client/models/ansible_role_response.rb +274 -0
  119. data/lib/pulp_ansible_client/models/{ansible_tag.rb → ansible_tag_response.rb} +6 -20
  120. data/lib/pulp_ansible_client/models/async_operation_response.rb +3 -2
  121. data/lib/pulp_ansible_client/models/certification_enum.rb +37 -0
  122. data/lib/pulp_ansible_client/models/collection.rb +7 -81
  123. data/lib/pulp_ansible_client/models/{collection_import_detail.rb → collection_import_detail_response.rb} +6 -24
  124. data/lib/pulp_ansible_client/models/collection_metadata.rb +4 -163
  125. data/lib/pulp_ansible_client/models/collection_metadata_response.rb +367 -0
  126. data/lib/pulp_ansible_client/models/collection_namespace.rb +3 -21
  127. data/lib/pulp_ansible_client/models/{tag.rb → collection_namespace_response.rb} +9 -18
  128. data/lib/pulp_ansible_client/models/collection_one_shot.rb +253 -0
  129. data/lib/pulp_ansible_client/models/collection_ref.rb +7 -53
  130. data/lib/pulp_ansible_client/models/collection_ref_response.rb +235 -0
  131. data/lib/pulp_ansible_client/models/collection_response.rb +285 -0
  132. data/lib/pulp_ansible_client/models/collection_version.rb +8 -143
  133. data/lib/pulp_ansible_client/models/collection_version_response.rb +307 -0
  134. data/lib/pulp_ansible_client/models/content_summary.rb +9 -15
  135. data/lib/pulp_ansible_client/models/content_summary_response.rb +240 -0
  136. data/lib/pulp_ansible_client/models/galaxy_collection.rb +7 -62
  137. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +244 -0
  138. data/lib/pulp_ansible_client/models/{galaxy_collection_version.rb → galaxy_collection_version_response.rb} +11 -29
  139. data/lib/pulp_ansible_client/models/{galaxy_role.rb → galaxy_role_response.rb} +7 -44
  140. data/lib/pulp_ansible_client/models/{galaxy_role_version.rb → galaxy_role_version_response.rb} +7 -25
  141. data/lib/pulp_ansible_client/models/inline_response200.rb +3 -13
  142. data/lib/pulp_ansible_client/models/inline_response2001.rb +3 -13
  143. data/lib/pulp_ansible_client/models/inline_response20010.rb +3 -13
  144. data/lib/pulp_ansible_client/models/inline_response20011.rb +3 -13
  145. data/lib/pulp_ansible_client/models/inline_response20012.rb +3 -13
  146. data/lib/pulp_ansible_client/models/inline_response20013.rb +3 -13
  147. data/lib/pulp_ansible_client/models/inline_response20014.rb +237 -0
  148. data/lib/pulp_ansible_client/models/inline_response2002.rb +3 -13
  149. data/lib/pulp_ansible_client/models/inline_response2003.rb +3 -13
  150. data/lib/pulp_ansible_client/models/inline_response2004.rb +3 -13
  151. data/lib/pulp_ansible_client/models/inline_response2005.rb +3 -13
  152. data/lib/pulp_ansible_client/models/inline_response2006.rb +3 -13
  153. data/lib/pulp_ansible_client/models/inline_response2007.rb +3 -13
  154. data/lib/pulp_ansible_client/models/inline_response2008.rb +3 -13
  155. data/lib/pulp_ansible_client/models/inline_response2009.rb +3 -13
  156. data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +251 -0
  157. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +229 -0
  158. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +392 -0
  159. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +329 -0
  160. data/lib/pulp_ansible_client/models/policy_enum.rb +36 -0
  161. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +5 -4
  162. data/lib/pulp_ansible_client/models/repository_sync_url.rb +3 -8
  163. data/lib/pulp_ansible_client/models/repository_version.rb +7 -43
  164. data/lib/pulp_ansible_client/models/repository_version_response.rb +246 -0
  165. data/lib/pulp_ansible_client/models/tag_response.rb +207 -0
  166. data/lib/pulp_ansible_client/version.rb +3 -3
  167. data/lib/pulp_ansible_client.rb +41 -13
  168. data/pulp_ansible_client.gemspec +4 -4
  169. data/spec/api/ansible_collections_api_spec.rb +21 -21
  170. data/spec/api/collection_import_api_spec.rb +50 -0
  171. data/spec/api/content_collection_versions_api_spec.rb +18 -18
  172. data/spec/api/content_roles_api_spec.rb +13 -13
  173. data/spec/api/distributions_ansible_api_spec.rb +39 -18
  174. data/spec/api/galaxy_collection_list_api_spec.rb +50 -0
  175. data/spec/api/galaxy_detail_api_spec.rb +48 -0
  176. data/spec/api/pulp_ansible_api_api_spec.rb +4 -4
  177. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +19 -29
  178. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +10 -9
  179. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +2 -17
  180. data/spec/api/pulp_ansible_galaxy_api_v3_collections_certified_api_spec.rb +50 -0
  181. data/spec/api/pulp_ansible_galaxy_api_v3_versions_api_spec.rb +90 -0
  182. data/spec/api/pulp_ansible_tags_api_spec.rb +3 -3
  183. data/spec/api/remotes_collection_api_spec.rb +49 -22
  184. data/spec/api/remotes_role_api_spec.rb +150 -0
  185. data/spec/api/repositories_ansible_api_spec.rb +31 -22
  186. data/spec/api/repositories_ansible_versions_api_spec.rb +40 -25
  187. data/spec/api/{pulp_ansible_galaxy_api_v1_versions_api_spec.rb → role_list_api_spec.rb} +9 -10
  188. data/spec/api/{pulp_ansible_galaxy_api_roles_api_spec.rb → v1_roles_api_spec.rb} +9 -9
  189. data/spec/api/v2_collections_api_spec.rb +61 -0
  190. data/spec/api_client_spec.rb +2 -2
  191. data/spec/configuration_spec.rb +2 -2
  192. data/spec/models/ansible_ansible_distribution_response_spec.rb +83 -0
  193. data/spec/models/ansible_ansible_distribution_spec.rb +2 -20
  194. data/spec/models/ansible_ansible_repository_response_spec.rb +77 -0
  195. data/spec/models/ansible_ansible_repository_spec.rb +5 -23
  196. data/spec/models/ansible_collection_remote_response_spec.rb +137 -0
  197. data/spec/models/ansible_collection_remote_spec.rb +2 -24
  198. data/spec/models/{ansible_collection_spec.rb → ansible_collection_response_spec.rb} +8 -8
  199. data/spec/models/ansible_collection_version_response_spec.rb +191 -0
  200. data/spec/models/ansible_collection_version_spec.rb +2 -62
  201. data/spec/models/{ansible_ansible_remote_spec.rb → ansible_role_remote_response_spec.rb} +8 -12
  202. data/spec/models/ansible_role_remote_spec.rb +101 -0
  203. data/spec/models/ansible_role_response_spec.rb +71 -0
  204. data/spec/models/ansible_role_spec.rb +2 -14
  205. data/spec/models/{ansible_tag_spec.rb → ansible_tag_response_spec.rb} +8 -8
  206. data/spec/models/async_operation_response_spec.rb +2 -2
  207. data/spec/models/certification_enum_spec.rb +35 -0
  208. data/spec/models/{collection_import_detail_spec.rb → collection_import_detail_response_spec.rb} +8 -8
  209. data/spec/models/collection_metadata_response_spec.rb +95 -0
  210. data/spec/models/collection_metadata_spec.rb +2 -56
  211. data/spec/models/collection_namespace_response_spec.rb +41 -0
  212. data/spec/models/collection_namespace_spec.rb +2 -2
  213. data/spec/models/collection_one_shot_spec.rb +65 -0
  214. data/spec/models/collection_ref_response_spec.rb +53 -0
  215. data/spec/models/collection_ref_spec.rb +2 -8
  216. data/spec/models/collection_response_spec.rb +83 -0
  217. data/spec/models/collection_spec.rb +2 -32
  218. data/spec/models/collection_version_response_spec.rb +101 -0
  219. data/spec/models/collection_version_spec.rb +2 -54
  220. data/spec/models/content_summary_response_spec.rb +53 -0
  221. data/spec/models/content_summary_spec.rb +2 -2
  222. data/spec/models/galaxy_collection_response_spec.rb +59 -0
  223. data/spec/models/galaxy_collection_spec.rb +2 -14
  224. data/spec/models/{galaxy_collection_version_spec.rb → galaxy_collection_version_response_spec.rb} +8 -8
  225. data/spec/models/{galaxy_role_spec.rb → galaxy_role_response_spec.rb} +8 -8
  226. data/spec/models/{galaxy_role_version_spec.rb → galaxy_role_version_response_spec.rb} +8 -8
  227. data/spec/models/inline_response20010_spec.rb +2 -2
  228. data/spec/models/inline_response20011_spec.rb +2 -2
  229. data/spec/models/inline_response20012_spec.rb +2 -2
  230. data/spec/models/inline_response20013_spec.rb +2 -2
  231. data/spec/models/inline_response20014_spec.rb +59 -0
  232. data/spec/models/inline_response2001_spec.rb +2 -2
  233. data/spec/models/inline_response2002_spec.rb +2 -2
  234. data/spec/models/inline_response2003_spec.rb +2 -2
  235. data/spec/models/inline_response2004_spec.rb +2 -2
  236. data/spec/models/inline_response2005_spec.rb +2 -2
  237. data/spec/models/inline_response2006_spec.rb +2 -2
  238. data/spec/models/inline_response2007_spec.rb +2 -2
  239. data/spec/models/inline_response2008_spec.rb +2 -2
  240. data/spec/models/inline_response2009_spec.rb +2 -2
  241. data/spec/models/inline_response200_spec.rb +2 -2
  242. data/spec/models/patchedansible_ansible_distribution_spec.rb +65 -0
  243. data/spec/models/patchedansible_ansible_repository_spec.rb +53 -0
  244. data/spec/models/patchedansible_collection_remote_spec.rb +119 -0
  245. data/spec/models/patchedansible_role_remote_spec.rb +101 -0
  246. data/spec/models/policy_enum_spec.rb +35 -0
  247. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  248. data/spec/models/repository_sync_url_spec.rb +2 -2
  249. data/spec/models/repository_version_response_spec.rb +65 -0
  250. data/spec/models/repository_version_spec.rb +2 -26
  251. data/spec/models/{tag_spec.rb → tag_response_spec.rb} +8 -8
  252. data/spec/spec_helper.rb +2 -2
  253. metadata +192 -80
  254. data/docs/RemotesAnsibleApi.md +0 -368
  255. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +0 -451
  256. data/spec/api/remotes_ansible_api_spec.rb +0 -123
@@ -4,91 +4,31 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](PulpAnsibleGalaxyApiCollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
8
- [**list**](PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
9
- [**list_0**](PulpAnsibleGalaxyApiCollectionsApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
10
- [**read**](PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** {collection_href} |
7
+ [**list**](PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
8
+ [**read**](PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
9
+ [**update**](PulpAnsibleGalaxyApiCollectionsApi.md#update) | **PUT** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
11
10
 
12
11
 
13
12
 
14
- ## create
15
-
16
- > GalaxyCollection create(path, data)
17
-
18
-
19
-
20
- Queues a task that creates a new Collection from an uploaded artifact.
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: Basic
30
- config.username = 'YOUR USERNAME'
31
- config.password = 'YOUR PASSWORD'
32
- end
33
-
34
- api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
35
- path = 'path_example' # String |
36
- data = PulpAnsibleClient::GalaxyCollection.new # GalaxyCollection |
37
-
38
- begin
39
- result = api_instance.create(path, data)
40
- p result
41
- rescue PulpAnsibleClient::ApiError => e
42
- puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->create: #{e}"
43
- end
44
- ```
45
-
46
- ### Parameters
47
-
48
-
49
- Name | Type | Description | Notes
50
- ------------- | ------------- | ------------- | -------------
51
- **path** | **String**| |
52
- **data** | [**GalaxyCollection**](GalaxyCollection.md)| |
53
-
54
- ### Return type
55
-
56
- [**GalaxyCollection**](GalaxyCollection.md)
57
-
58
- ### Authorization
59
-
60
- [Basic](../README.md#Basic)
61
-
62
- ### HTTP request headers
63
-
64
- - **Content-Type**: application/json
65
- - **Accept**: application/json
66
-
67
-
68
13
  ## list
69
14
 
70
- > InlineResponse20011 list(path, opts)
15
+ > InlineResponse20013 list(path, opts)
71
16
 
72
17
 
73
18
 
74
- View for Collection models.
19
+ ViewSet for Collections.
75
20
 
76
21
  ### Example
77
22
 
78
23
  ```ruby
79
24
  # load the gem
80
25
  require 'pulp_ansible_client'
81
- # setup authorization
82
- PulpAnsibleClient.configure do |config|
83
- # Configure HTTP basic authorization: Basic
84
- config.username = 'YOUR USERNAME'
85
- config.password = 'YOUR PASSWORD'
86
- end
87
26
 
88
27
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
89
28
  path = 'path_example' # String |
90
29
  opts = {
91
- page: 56, # Integer | A page number within the paginated result set.
30
+ limit: 56, # Integer | Number of results to return per page.
31
+ offset: 56, # Integer | The initial index from which to return the results.
92
32
  fields: 'fields_example', # String | A list of fields to include in the response.
93
33
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
94
34
  }
@@ -107,17 +47,18 @@ end
107
47
  Name | Type | Description | Notes
108
48
  ------------- | ------------- | ------------- | -------------
109
49
  **path** | **String**| |
110
- **page** | **Integer**| A page number within the paginated result set. | [optional]
50
+ **limit** | **Integer**| Number of results to return per page. | [optional]
51
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
111
52
  **fields** | **String**| A list of fields to include in the response. | [optional]
112
53
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
113
54
 
114
55
  ### Return type
115
56
 
116
- [**InlineResponse20011**](InlineResponse20011.md)
57
+ [**InlineResponse20013**](InlineResponse20013.md)
117
58
 
118
59
  ### Authorization
119
60
 
120
- [Basic](../README.md#Basic)
61
+ No authorization required
121
62
 
122
63
  ### HTTP request headers
123
64
 
@@ -125,9 +66,9 @@ Name | Type | Description | Notes
125
66
  - **Accept**: application/json
126
67
 
127
68
 
128
- ## list_0
69
+ ## read
129
70
 
130
- > InlineResponse20013 list_0(path, opts)
71
+ > CollectionResponse read(name, namespace, path, opts)
131
72
 
132
73
 
133
74
 
@@ -138,27 +79,21 @@ ViewSet for Collections.
138
79
  ```ruby
139
80
  # load the gem
140
81
  require 'pulp_ansible_client'
141
- # setup authorization
142
- PulpAnsibleClient.configure do |config|
143
- # Configure HTTP basic authorization: Basic
144
- config.username = 'YOUR USERNAME'
145
- config.password = 'YOUR PASSWORD'
146
- end
147
82
 
148
83
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
84
+ name = 'name_example' # String |
85
+ namespace = 'namespace_example' # String |
149
86
  path = 'path_example' # String |
150
87
  opts = {
151
- limit: 56, # Integer | Number of results to return per page.
152
- offset: 56, # Integer | The initial index from which to return the results.
153
88
  fields: 'fields_example', # String | A list of fields to include in the response.
154
89
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
90
  }
156
91
 
157
92
  begin
158
- result = api_instance.list_0(path, opts)
93
+ result = api_instance.read(name, namespace, path, opts)
159
94
  p result
160
95
  rescue PulpAnsibleClient::ApiError => e
161
- puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->list_0: #{e}"
96
+ puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->read: #{e}"
162
97
  end
163
98
  ```
164
99
 
@@ -167,19 +102,19 @@ end
167
102
 
168
103
  Name | Type | Description | Notes
169
104
  ------------- | ------------- | ------------- | -------------
105
+ **name** | **String**| |
106
+ **namespace** | **String**| |
170
107
  **path** | **String**| |
171
- **limit** | **Integer**| Number of results to return per page. | [optional]
172
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
173
108
  **fields** | **String**| A list of fields to include in the response. | [optional]
174
109
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
175
110
 
176
111
  ### Return type
177
112
 
178
- [**InlineResponse20013**](InlineResponse20013.md)
113
+ [**CollectionResponse**](CollectionResponse.md)
179
114
 
180
115
  ### Authorization
181
116
 
182
- [Basic](../README.md#Basic)
117
+ No authorization required
183
118
 
184
119
  ### HTTP request headers
185
120
 
@@ -187,38 +122,31 @@ Name | Type | Description | Notes
187
122
  - **Accept**: application/json
188
123
 
189
124
 
190
- ## read
125
+ ## update
191
126
 
192
- > GalaxyCollection read(collection_href, opts)
127
+ > CollectionResponse update(name, namespace, path, collection)
193
128
 
194
129
 
195
130
 
196
- Get the detail view of a Collection.
131
+ Update a Collection object.
197
132
 
198
133
  ### Example
199
134
 
200
135
  ```ruby
201
136
  # load the gem
202
137
  require 'pulp_ansible_client'
203
- # setup authorization
204
- PulpAnsibleClient.configure do |config|
205
- # Configure HTTP basic authorization: Basic
206
- config.username = 'YOUR USERNAME'
207
- config.password = 'YOUR PASSWORD'
208
- end
209
138
 
210
139
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi.new
211
- collection_href = 'collection_href_example' # String | URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
212
- opts = {
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.
215
- }
140
+ name = 'name_example' # String |
141
+ namespace = 'namespace_example' # String |
142
+ path = 'path_example' # String |
143
+ collection = PulpAnsibleClient::Collection.new # Collection |
216
144
 
217
145
  begin
218
- result = api_instance.read(collection_href, opts)
146
+ result = api_instance.update(name, namespace, path, collection)
219
147
  p result
220
148
  rescue PulpAnsibleClient::ApiError => e
221
- puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->read: #{e}"
149
+ puts "Exception when calling PulpAnsibleGalaxyApiCollectionsApi->update: #{e}"
222
150
  end
223
151
  ```
224
152
 
@@ -227,20 +155,21 @@ end
227
155
 
228
156
  Name | Type | Description | Notes
229
157
  ------------- | ------------- | ------------- | -------------
230
- **collection_href** | **String**| URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/ |
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]
158
+ **name** | **String**| |
159
+ **namespace** | **String**| |
160
+ **path** | **String**| |
161
+ **collection** | [**Collection**](Collection.md)| |
233
162
 
234
163
  ### Return type
235
164
 
236
- [**GalaxyCollection**](GalaxyCollection.md)
165
+ [**CollectionResponse**](CollectionResponse.md)
237
166
 
238
167
  ### Authorization
239
168
 
240
- [Basic](../README.md#Basic)
169
+ No authorization required
241
170
 
242
171
  ### HTTP request headers
243
172
 
244
- - **Content-Type**: Not defined
173
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
245
174
  - **Accept**: application/json
246
175
 
@@ -4,44 +4,38 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**list**](PulpAnsibleGalaxyApiV2VersionsApi.md#list) | **GET** {collection_href}versions/ |
7
+ [**read**](PulpAnsibleGalaxyApiV2VersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/{namespace}/{name}/versions/{version}/ |
8
8
 
9
9
 
10
10
 
11
- ## list
11
+ ## read
12
12
 
13
- > InlineResponse20012 list(collection_href, opts)
13
+ > read(name, namespace, path, version, opts)
14
14
 
15
15
 
16
16
 
17
- APIView for Collections by namespace/name.
17
+ Return a response to the \"GET\" action.
18
18
 
19
19
  ### Example
20
20
 
21
21
  ```ruby
22
22
  # load the gem
23
23
  require 'pulp_ansible_client'
24
- # setup authorization
25
- PulpAnsibleClient.configure do |config|
26
- # Configure HTTP basic authorization: Basic
27
- config.username = 'YOUR USERNAME'
28
- config.password = 'YOUR PASSWORD'
29
- end
30
24
 
31
25
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV2VersionsApi.new
32
- collection_href = 'collection_href_example' # String | URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/
26
+ name = 'name_example' # String |
27
+ namespace = 'namespace_example' # String |
28
+ path = 'path_example' # String |
29
+ version = 'version_example' # String |
33
30
  opts = {
34
- limit: 56, # Integer | Number of results to return per page.
35
- offset: 56, # Integer | The initial index from which to return the results.
36
31
  fields: 'fields_example', # String | A list of fields to include in the response.
37
32
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
38
33
  }
39
34
 
40
35
  begin
41
- result = api_instance.list(collection_href, opts)
42
- p result
36
+ api_instance.read(name, namespace, path, version, opts)
43
37
  rescue PulpAnsibleClient::ApiError => e
44
- puts "Exception when calling PulpAnsibleGalaxyApiV2VersionsApi->list: #{e}"
38
+ puts "Exception when calling PulpAnsibleGalaxyApiV2VersionsApi->read: #{e}"
45
39
  end
46
40
  ```
47
41
 
@@ -50,22 +44,23 @@ end
50
44
 
51
45
  Name | Type | Description | Notes
52
46
  ------------- | ------------- | ------------- | -------------
53
- **collection_href** | **String**| URI of Collection. e.g.: /pulp_ansible/galaxy/1/api/v2/collections/1/1/ |
54
- **limit** | **Integer**| Number of results to return per page. | [optional]
55
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
47
+ **name** | **String**| |
48
+ **namespace** | **String**| |
49
+ **path** | **String**| |
50
+ **version** | **String**| |
56
51
  **fields** | **String**| A list of fields to include in the response. | [optional]
57
52
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
58
53
 
59
54
  ### Return type
60
55
 
61
- [**InlineResponse20012**](InlineResponse20012.md)
56
+ nil (empty response body)
62
57
 
63
58
  ### Authorization
64
59
 
65
- [Basic](../README.md#Basic)
60
+ No authorization required
66
61
 
67
62
  ### HTTP request headers
68
63
 
69
64
  - **Content-Type**: Not defined
70
- - **Accept**: application/json
65
+ - **Accept**: Not defined
71
66
 
@@ -5,7 +5,6 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
8
- [**read**](PulpAnsibleGalaxyApiV3CollectionsApi.md#read) | **GET** {collection_import_href} | Inspect a collection import
9
8
 
10
9
 
11
10
 
@@ -22,12 +21,6 @@ Create an artifact and trigger an asynchronous task to create Collection content
22
21
  ```ruby
23
22
  # load the gem
24
23
  require 'pulp_ansible_client'
25
- # setup authorization
26
- PulpAnsibleClient.configure do |config|
27
- # Configure HTTP basic authorization: Basic
28
- config.username = 'YOUR USERNAME'
29
- config.password = 'YOUR PASSWORD'
30
- end
31
24
 
32
25
  api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new
33
26
  path = 'path_example' # String |
@@ -66,71 +59,10 @@ Name | Type | Description | Notes
66
59
 
67
60
  ### Authorization
68
61
 
69
- [Basic](../README.md#Basic)
62
+ No authorization required
70
63
 
71
64
  ### HTTP request headers
72
65
 
73
66
  - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
74
67
  - **Accept**: application/json
75
68
 
76
-
77
- ## read
78
-
79
- > CollectionImportDetail read(collection_import_href, opts)
80
-
81
- Inspect a collection import
82
-
83
- Returns a CollectionImport object.
84
-
85
- ### Example
86
-
87
- ```ruby
88
- # load the gem
89
- require 'pulp_ansible_client'
90
- # setup authorization
91
- PulpAnsibleClient.configure do |config|
92
- # Configure HTTP basic authorization: Basic
93
- config.username = 'YOUR USERNAME'
94
- config.password = 'YOUR PASSWORD'
95
- end
96
-
97
- api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new
98
- collection_import_href = 'collection_import_href_example' # String | URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/
99
- opts = {
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
103
- }
104
-
105
- begin
106
- #Inspect a collection import
107
- result = api_instance.read(collection_import_href, opts)
108
- p result
109
- rescue PulpAnsibleClient::ApiError => e
110
- puts "Exception when calling PulpAnsibleGalaxyApiV3CollectionsApi->read: #{e}"
111
- end
112
- ```
113
-
114
- ### Parameters
115
-
116
-
117
- Name | Type | Description | Notes
118
- ------------- | ------------- | ------------- | -------------
119
- **collection_import_href** | **String**| URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/1/ |
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]
123
-
124
- ### Return type
125
-
126
- [**CollectionImportDetail**](CollectionImportDetail.md)
127
-
128
- ### Authorization
129
-
130
- [Basic](../README.md#Basic)
131
-
132
- ### HTTP request headers
133
-
134
- - **Content-Type**: Not defined
135
- - **Accept**: application/json
136
-
@@ -0,0 +1,63 @@
1
+ # PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsCertifiedApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**set_certified**](PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.md#set_certified) | **PUT** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/certified/ |
8
+
9
+
10
+
11
+ ## set_certified
12
+
13
+ > CollectionVersionResponse set_certified(name, namespace, path, version, collection_version)
14
+
15
+
16
+
17
+ Set collection version certified status.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_ansible_client'
24
+
25
+ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsCertifiedApi.new
26
+ name = 'name_example' # String |
27
+ namespace = 'namespace_example' # String |
28
+ path = 'path_example' # String |
29
+ version = 'version_example' # String |
30
+ collection_version = PulpAnsibleClient::CollectionVersion.new # CollectionVersion |
31
+
32
+ begin
33
+ result = api_instance.set_certified(name, namespace, path, version, collection_version)
34
+ p result
35
+ rescue PulpAnsibleClient::ApiError => e
36
+ puts "Exception when calling PulpAnsibleGalaxyApiV3CollectionsCertifiedApi->set_certified: #{e}"
37
+ end
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+
43
+ Name | Type | Description | Notes
44
+ ------------- | ------------- | ------------- | -------------
45
+ **name** | **String**| |
46
+ **namespace** | **String**| |
47
+ **path** | **String**| |
48
+ **version** | **String**| |
49
+ **collection_version** | [**CollectionVersion**](CollectionVersion.md)| |
50
+
51
+ ### Return type
52
+
53
+ [**CollectionVersionResponse**](CollectionVersionResponse.md)
54
+
55
+ ### Authorization
56
+
57
+ No authorization required
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
62
+ - **Accept**: application/json
63
+
@@ -0,0 +1,172 @@
1
+ # PulpAnsibleClient::PulpAnsibleGalaxyApiV3VersionsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](PulpAnsibleGalaxyApiV3VersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
8
+ [**read**](PulpAnsibleGalaxyApiV3VersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > InlineResponse20014 list(name, namespace, path, opts)
15
+
16
+
17
+
18
+ Returns paginated CollectionVersions list.
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulp_ansible_client'
25
+
26
+ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3VersionsApi.new
27
+ name = 'name_example' # String |
28
+ namespace = 'namespace_example' # String |
29
+ path = 'path_example' # String |
30
+ opts = {
31
+ certification: 'certification_example', # String | certification
32
+ deprecated: 'deprecated_example', # String | deprecated
33
+ is_highest: 'is_highest_example', # String | is_highest
34
+ limit: 56, # Integer | Number of results to return per page.
35
+ name2: 'name_example', # String | name
36
+ namespace2: 'namespace_example', # String | namespace
37
+ offset: 56, # Integer | The initial index from which to return the results.
38
+ q: 'q_example', # String | q
39
+ repository_version: 'repository_version_example', # String | repository_version
40
+ repository_version_added: 'repository_version_added_example', # String | repository_version_added
41
+ repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
42
+ tags: 'tags_example', # String | tags
43
+ version: 'version_example', # String | version
44
+ fields: 'fields_example', # String | A list of fields to include in the response.
45
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
46
+ }
47
+
48
+ begin
49
+ result = api_instance.list(name, namespace, path, opts)
50
+ p result
51
+ rescue PulpAnsibleClient::ApiError => e
52
+ puts "Exception when calling PulpAnsibleGalaxyApiV3VersionsApi->list: #{e}"
53
+ end
54
+ ```
55
+
56
+ ### Parameters
57
+
58
+
59
+ Name | Type | Description | Notes
60
+ ------------- | ------------- | ------------- | -------------
61
+ **name** | **String**| |
62
+ **namespace** | **String**| |
63
+ **path** | **String**| |
64
+ **certification** | **String**| certification | [optional]
65
+ **deprecated** | **String**| deprecated | [optional]
66
+ **is_highest** | **String**| is_highest | [optional]
67
+ **limit** | **Integer**| Number of results to return per page. | [optional]
68
+ **name2** | **String**| name | [optional]
69
+ **namespace2** | **String**| namespace | [optional]
70
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
71
+ **q** | **String**| q | [optional]
72
+ **repository_version** | **String**| repository_version | [optional]
73
+ **repository_version_added** | **String**| repository_version_added | [optional]
74
+ **repository_version_removed** | **String**| repository_version_removed | [optional]
75
+ **tags** | **String**| tags | [optional]
76
+ **version** | **String**| version | [optional]
77
+ **fields** | **String**| A list of fields to include in the response. | [optional]
78
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
79
+
80
+ ### Return type
81
+
82
+ [**InlineResponse20014**](InlineResponse20014.md)
83
+
84
+ ### Authorization
85
+
86
+ No authorization required
87
+
88
+ ### HTTP request headers
89
+
90
+ - **Content-Type**: Not defined
91
+ - **Accept**: application/json
92
+
93
+
94
+ ## read
95
+
96
+ > CollectionVersionResponse read(name, namespace, path, version, opts)
97
+
98
+
99
+
100
+ Returns a CollectionVersion object.
101
+
102
+ ### Example
103
+
104
+ ```ruby
105
+ # load the gem
106
+ require 'pulp_ansible_client'
107
+
108
+ api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3VersionsApi.new
109
+ name = 'name_example' # String |
110
+ namespace = 'namespace_example' # String |
111
+ path = 'path_example' # String |
112
+ version = 'version_example' # String |
113
+ opts = {
114
+ certification: 'certification_example', # String | certification
115
+ deprecated: 'deprecated_example', # String | deprecated
116
+ is_highest: 'is_highest_example', # String | is_highest
117
+ name2: 'name_example', # String | name
118
+ namespace2: 'namespace_example', # String | namespace
119
+ q: 'q_example', # String | q
120
+ repository_version: 'repository_version_example', # String | repository_version
121
+ repository_version_added: 'repository_version_added_example', # String | repository_version_added
122
+ repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
123
+ tags: 'tags_example', # String | tags
124
+ version2: 'version_example', # String | version
125
+ fields: 'fields_example', # String | A list of fields to include in the response.
126
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
127
+ }
128
+
129
+ begin
130
+ result = api_instance.read(name, namespace, path, version, opts)
131
+ p result
132
+ rescue PulpAnsibleClient::ApiError => e
133
+ puts "Exception when calling PulpAnsibleGalaxyApiV3VersionsApi->read: #{e}"
134
+ end
135
+ ```
136
+
137
+ ### Parameters
138
+
139
+
140
+ Name | Type | Description | Notes
141
+ ------------- | ------------- | ------------- | -------------
142
+ **name** | **String**| |
143
+ **namespace** | **String**| |
144
+ **path** | **String**| |
145
+ **version** | **String**| |
146
+ **certification** | **String**| certification | [optional]
147
+ **deprecated** | **String**| deprecated | [optional]
148
+ **is_highest** | **String**| is_highest | [optional]
149
+ **name2** | **String**| name | [optional]
150
+ **namespace2** | **String**| namespace | [optional]
151
+ **q** | **String**| q | [optional]
152
+ **repository_version** | **String**| repository_version | [optional]
153
+ **repository_version_added** | **String**| repository_version_added | [optional]
154
+ **repository_version_removed** | **String**| repository_version_removed | [optional]
155
+ **tags** | **String**| tags | [optional]
156
+ **version2** | **String**| version | [optional]
157
+ **fields** | **String**| A list of fields to include in the response. | [optional]
158
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
159
+
160
+ ### Return type
161
+
162
+ [**CollectionVersionResponse**](CollectionVersionResponse.md)
163
+
164
+ ### Authorization
165
+
166
+ No authorization required
167
+
168
+ ### HTTP request headers
169
+
170
+ - **Content-Type**: Not defined
171
+ - **Accept**: application/json
172
+