pulp_ansible_client 0.2.0b2 → 0.2.0b3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -10
  3. data/docs/AnsibleCollectionsApi.md +7 -1
  4. data/docs/AnsibleDistribution.md +2 -2
  5. data/docs/CollectionImportDetail.md +31 -0
  6. data/docs/CollectionMetadata.md +35 -0
  7. data/docs/CollectionRemote.md +3 -1
  8. data/docs/CollectionVersion.md +13 -9
  9. data/docs/{ContentCollectionsApi.md → ContentCollectionVersionsApi.md} +75 -15
  10. data/docs/ContentRolesApi.md +12 -6
  11. data/docs/DistributionsAnsibleApi.md +12 -6
  12. data/docs/GalaxyCollection.md +23 -0
  13. data/docs/GalaxyCollectionVersion.md +9 -7
  14. data/docs/InlineResponse2008.md +1 -1
  15. data/docs/InlineResponse2009.md +23 -0
  16. data/docs/PulpAnsibleApiApi.md +6 -2
  17. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +84 -16
  18. data/docs/PulpAnsibleGalaxyApiRolesApi.md +6 -4
  19. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +6 -4
  20. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +12 -10
  21. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +132 -0
  22. data/docs/PulpAnsibleTagsApi.md +6 -4
  23. data/docs/RemotesAnsibleApi.md +12 -6
  24. data/docs/RemotesCollectionApi.md +12 -6
  25. data/docs/Role.md +6 -6
  26. data/git_push.sh +10 -7
  27. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +22 -1
  28. data/lib/pulp_ansible_client/api/{content_collections_api.rb → content_collection_versions_api.rb} +89 -21
  29. data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -7
  30. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +13 -7
  31. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
  32. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +109 -27
  33. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +10 -7
  34. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +10 -7
  35. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +22 -19
  36. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +186 -0
  37. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +10 -7
  38. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +13 -7
  39. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +13 -7
  40. data/lib/pulp_ansible_client/api_client.rb +2 -2
  41. data/lib/pulp_ansible_client/api_error.rb +1 -1
  42. data/lib/pulp_ansible_client/configuration.rb +1 -1
  43. data/lib/pulp_ansible_client/models/ansible_distribution.rb +9 -9
  44. data/lib/pulp_ansible_client/models/ansible_remote.rb +1 -1
  45. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  46. data/lib/pulp_ansible_client/models/collection_import_detail.rb +318 -0
  47. data/lib/pulp_ansible_client/models/collection_metadata.rb +363 -0
  48. data/lib/pulp_ansible_client/models/collection_remote.rb +30 -5
  49. data/lib/pulp_ansible_client/models/collection_version.rb +67 -31
  50. data/lib/pulp_ansible_client/models/galaxy_collection.rb +271 -0
  51. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +37 -71
  52. data/lib/pulp_ansible_client/models/galaxy_role.rb +1 -1
  53. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +1 -1
  54. data/lib/pulp_ansible_client/models/inline_response200.rb +1 -1
  55. data/lib/pulp_ansible_client/models/inline_response2001.rb +1 -1
  56. data/lib/pulp_ansible_client/models/inline_response2002.rb +1 -1
  57. data/lib/pulp_ansible_client/models/inline_response2003.rb +1 -1
  58. data/lib/pulp_ansible_client/models/inline_response2004.rb +1 -1
  59. data/lib/pulp_ansible_client/models/inline_response2005.rb +1 -1
  60. data/lib/pulp_ansible_client/models/inline_response2006.rb +1 -1
  61. data/lib/pulp_ansible_client/models/inline_response2007.rb +1 -1
  62. data/lib/pulp_ansible_client/models/inline_response2008.rb +2 -2
  63. data/lib/pulp_ansible_client/models/inline_response2009.rb +235 -0
  64. data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
  65. data/lib/pulp_ansible_client/models/role.rb +25 -25
  66. data/lib/pulp_ansible_client/models/tag.rb +1 -1
  67. data/lib/pulp_ansible_client/models/tag_nested.rb +1 -1
  68. data/lib/pulp_ansible_client/version.rb +2 -2
  69. data/lib/pulp_ansible_client.rb +7 -2
  70. data/pulp_ansible_client.gemspec +1 -1
  71. data/spec/api/ansible_collections_api_spec.rb +4 -1
  72. data/spec/api/{content_collections_api_spec.rb → content_collection_versions_api_spec.rb} +25 -11
  73. data/spec/api/content_roles_api_spec.rb +5 -3
  74. data/spec/api/distributions_ansible_api_spec.rb +5 -3
  75. data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
  76. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +21 -5
  77. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +4 -3
  78. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +4 -3
  79. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +6 -5
  80. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +65 -0
  81. data/spec/api/pulp_ansible_tags_api_spec.rb +4 -3
  82. data/spec/api/remotes_ansible_api_spec.rb +5 -3
  83. data/spec/api/remotes_collection_api_spec.rb +5 -3
  84. data/spec/api_client_spec.rb +1 -1
  85. data/spec/configuration_spec.rb +1 -1
  86. data/spec/models/ansible_distribution_spec.rb +2 -2
  87. data/spec/models/ansible_remote_spec.rb +1 -1
  88. data/spec/models/async_operation_response_spec.rb +1 -1
  89. data/spec/models/collection_import_detail_spec.rb +83 -0
  90. data/spec/models/collection_metadata_spec.rb +95 -0
  91. data/spec/models/collection_remote_spec.rb +7 -1
  92. data/spec/models/collection_version_spec.rb +16 -4
  93. data/spec/models/galaxy_collection_spec.rb +59 -0
  94. data/spec/models/galaxy_collection_version_spec.rb +11 -5
  95. data/spec/models/galaxy_role_spec.rb +1 -1
  96. data/spec/models/galaxy_role_version_spec.rb +1 -1
  97. data/spec/models/inline_response2001_spec.rb +1 -1
  98. data/spec/models/inline_response2002_spec.rb +1 -1
  99. data/spec/models/inline_response2003_spec.rb +1 -1
  100. data/spec/models/inline_response2004_spec.rb +1 -1
  101. data/spec/models/inline_response2005_spec.rb +1 -1
  102. data/spec/models/inline_response2006_spec.rb +1 -1
  103. data/spec/models/inline_response2007_spec.rb +1 -1
  104. data/spec/models/inline_response2008_spec.rb +1 -1
  105. data/spec/models/inline_response2009_spec.rb +59 -0
  106. data/spec/models/inline_response200_spec.rb +1 -1
  107. data/spec/models/repository_sync_url_spec.rb +1 -1
  108. data/spec/models/role_spec.rb +4 -4
  109. data/spec/models/tag_nested_spec.rb +1 -1
  110. data/spec/models/tag_spec.rb +1 -1
  111. data/spec/spec_helper.rb +1 -1
  112. metadata +26 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf0d06da41b9cbc0054304ee0556cbc318e3dcd330aff74eef02214f2a3f8e3e
4
- data.tar.gz: bf42db27fdec07b7d62dd7727b6ffee21964af4bcd2e00c77163f3098b1fdfcc
3
+ metadata.gz: 680d90db954637400ca903a323d11d4338e9b25270b401f68fbdfbad66a3083f
4
+ data.tar.gz: 5e0abf33279c41e2c92134b2180000e892a589cebef61586210f11c867abecab
5
5
  SHA512:
6
- metadata.gz: a543cc80f43ae78da508d7a1693ac46812449b6f9e1931b0151e6c95cac195461ae3e9c94431ea81a2e282ab6cbd29bd11f6f7ed2b911b0b71f94f1e918f85f7
7
- data.tar.gz: 9447d0930882c5f5d6ab85479d48ee5accf856fd56016da5a50dd15a936ddc2eb0f2d6a902379feca4ac5f6a88889f139b684b236e9182ee3fcea8b1a472102b
6
+ metadata.gz: 104c6d41b297f964ed029e0b4028cc6bda3d50d7b47629b69972ce9ff76d89d732ac72942da04be79d277f0a0f633636454550317e30bb15c3b9c34cc17a3718
7
+ data.tar.gz: 42aa06ddf32c4cc075d7fcabadada8ef3b55025c580aa6f85cc16caa88428b820f5b5d10f5684d64a76ac2be65178e80d53fb56ec242e2ae576a25b68e03b0bb
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.2.0b2
10
+ - Package version: 0.2.0b3
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_ansible_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_ansible_client-0.2.0b2.gem
26
+ gem install ./pulp_ansible_client-0.2.0b3.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b2.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b3.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_ansible_client', '~> 0.2.0b2'
35
+ gem 'pulp_ansible_client', '~> 0.2.0b3'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -66,7 +66,10 @@ end
66
66
  api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
67
67
  file = File.new('/path/to/file') # File | The Collection tarball.
68
68
  opts = {
69
- sha256: 'sha256_example' # String | An optional sha256 checksum of the uploaded file.
69
+ sha256: 'sha256_example', # String | An optional sha256 checksum of the uploaded file.
70
+ expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
71
+ expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
72
+ expected_version: 'expected_version_example' # String | The expected version of the Collection to be verified against the metadata during import.
70
73
  }
71
74
 
72
75
  begin
@@ -86,8 +89,9 @@ All URIs are relative to *http://localhost:24817*
86
89
  Class | Method | HTTP request | Description
87
90
  ------------ | ------------- | ------------- | -------------
88
91
  *PulpAnsibleClient::AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
89
- *PulpAnsibleClient::ContentCollectionsApi* | [**create**](docs/ContentCollectionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collections/ | Create a collection version
90
- *PulpAnsibleClient::ContentCollectionsApi* | [**list**](docs/ContentCollectionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collections/ | List collection versions
92
+ *PulpAnsibleClient::ContentCollectionVersionsApi* | [**create**](docs/ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
93
+ *PulpAnsibleClient::ContentCollectionVersionsApi* | [**list**](docs/ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
94
+ *PulpAnsibleClient::ContentCollectionVersionsApi* | [**read**](docs/ContentCollectionVersionsApi.md#read) | **GET** {collection_version_href} | Inspect a collection version
91
95
  *PulpAnsibleClient::ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
92
96
  *PulpAnsibleClient::ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
93
97
  *PulpAnsibleClient::ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {role_href} | Inspect a role
@@ -99,11 +103,14 @@ Class | Method | HTTP request | Description
99
103
  *PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_distribution_href} | Update an ansible distribution
100
104
  *PulpAnsibleClient::PulpAnsibleApiApi* | [**list**](docs/PulpAnsibleApiApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/ |
101
105
  *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
102
- *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
103
- *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** {collection_version_href} |
106
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v2/collections/ |
107
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**list_0**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#list_0) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
108
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiCollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiCollectionsApi.md#read) | **GET** {collection_href} |
104
109
  *PulpAnsibleClient::PulpAnsibleGalaxyApiRolesApi* | [**list**](docs/PulpAnsibleGalaxyApiRolesApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v1/roles/ |
105
110
  *PulpAnsibleClient::PulpAnsibleGalaxyApiV1VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV1VersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v1/roles/{role_pk}/versions/ |
106
- *PulpAnsibleClient::PulpAnsibleGalaxyApiV2VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV2VersionsApi.md#list) | **GET** {collection_version_href}versions/ |
111
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiV2VersionsApi* | [**list**](docs/PulpAnsibleGalaxyApiV2VersionsApi.md#list) | **GET** {collection_href}versions/ |
112
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi* | [**create**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#create) | **POST** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/ | Upload a collection
113
+ *PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi* | [**read**](docs/PulpAnsibleGalaxyApiV3CollectionsApi.md#read) | **GET** {collection_import_href} | Inspect a collection import
107
114
  *PulpAnsibleClient::PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
108
115
  *PulpAnsibleClient::RemotesAnsibleApi* | [**create**](docs/RemotesAnsibleApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/ansible/ | Create an ansible remote
109
116
  *PulpAnsibleClient::RemotesAnsibleApi* | [**delete**](docs/RemotesAnsibleApi.md#delete) | **DELETE** {ansible_remote_href} | Delete an ansible remote
@@ -126,8 +133,11 @@ Class | Method | HTTP request | Description
126
133
  - [PulpAnsibleClient::AnsibleDistribution](docs/AnsibleDistribution.md)
127
134
  - [PulpAnsibleClient::AnsibleRemote](docs/AnsibleRemote.md)
128
135
  - [PulpAnsibleClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
136
+ - [PulpAnsibleClient::CollectionImportDetail](docs/CollectionImportDetail.md)
137
+ - [PulpAnsibleClient::CollectionMetadata](docs/CollectionMetadata.md)
129
138
  - [PulpAnsibleClient::CollectionRemote](docs/CollectionRemote.md)
130
139
  - [PulpAnsibleClient::CollectionVersion](docs/CollectionVersion.md)
140
+ - [PulpAnsibleClient::GalaxyCollection](docs/GalaxyCollection.md)
131
141
  - [PulpAnsibleClient::GalaxyCollectionVersion](docs/GalaxyCollectionVersion.md)
132
142
  - [PulpAnsibleClient::GalaxyRole](docs/GalaxyRole.md)
133
143
  - [PulpAnsibleClient::GalaxyRoleVersion](docs/GalaxyRoleVersion.md)
@@ -140,6 +150,7 @@ Class | Method | HTTP request | Description
140
150
  - [PulpAnsibleClient::InlineResponse2006](docs/InlineResponse2006.md)
141
151
  - [PulpAnsibleClient::InlineResponse2007](docs/InlineResponse2007.md)
142
152
  - [PulpAnsibleClient::InlineResponse2008](docs/InlineResponse2008.md)
153
+ - [PulpAnsibleClient::InlineResponse2009](docs/InlineResponse2009.md)
143
154
  - [PulpAnsibleClient::RepositorySyncURL](docs/RepositorySyncURL.md)
144
155
  - [PulpAnsibleClient::Role](docs/Role.md)
145
156
  - [PulpAnsibleClient::Tag](docs/Tag.md)
@@ -31,7 +31,10 @@ end
31
31
  api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new
32
32
  file = File.new('/path/to/file') # File | The Collection tarball.
33
33
  opts = {
34
- sha256: 'sha256_example' # String | An optional sha256 checksum of the uploaded file.
34
+ sha256: 'sha256_example', # String | An optional sha256 checksum of the uploaded file.
35
+ expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
36
+ expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
37
+ expected_version: 'expected_version_example' # String | The expected version of the Collection to be verified against the metadata during import.
35
38
  }
36
39
 
37
40
  begin
@@ -50,6 +53,9 @@ Name | Type | Description | Notes
50
53
  ------------- | ------------- | ------------- | -------------
51
54
  **file** | **File**| The Collection tarball. |
52
55
  **sha256** | **String**| An optional sha256 checksum of the uploaded file. | [optional]
56
+ **expected_namespace** | **String**| The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
57
+ **expected_name** | **String**| The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
58
+ **expected_version** | **String**| The expected version of the Collection to be verified against the metadata during import. | [optional]
53
59
 
54
60
  ### Return type
55
61
 
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
12
12
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
- **mazer_url** | **String** | The URL of a mazer content source. | [optional]
14
+ **client_url** | **String** | The URL of a Collection content source. | [optional]
15
15
 
16
16
  ## Code Sample
17
17
 
@@ -25,7 +25,7 @@ instance = PulpAnsibleClient::AnsibleDistribution.new(_href: null,
25
25
  name: null,
26
26
  repository: null,
27
27
  repository_version: null,
28
- mazer_url: null)
28
+ client_url: null)
29
29
  ```
30
30
 
31
31
 
@@ -0,0 +1,31 @@
1
+ # PulpAnsibleClient::CollectionImportDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | |
8
+ **state** | **String** | |
9
+ **created_at** | **DateTime** | |
10
+ **updated_at** | **DateTime** | |
11
+ **started_at** | **DateTime** | |
12
+ **finished_at** | **DateTime** | |
13
+ **error** | **String** | |
14
+ **messages** | **String** | |
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'PulpAnsibleClient'
20
+
21
+ instance = PulpAnsibleClient::CollectionImportDetail.new(id: null,
22
+ state: null,
23
+ created_at: null,
24
+ updated_at: null,
25
+ started_at: null,
26
+ finished_at: null,
27
+ error: null,
28
+ messages: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,35 @@
1
+ # PulpAnsibleClient::CollectionMetadata
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **authors** | **Array<String>** | | [optional]
8
+ **contents** | **String** | | [optional]
9
+ **dependencies** | **String** | | [optional]
10
+ **description** | **String** | | [optional]
11
+ **documentation** | **String** | | [optional]
12
+ **homepage** | **String** | | [optional]
13
+ **issues** | **String** | | [optional]
14
+ **license** | **Array<String>** | | [optional]
15
+ **repository** | **String** | | [optional]
16
+ **tags** | **Array<String>** | |
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'PulpAnsibleClient'
22
+
23
+ instance = PulpAnsibleClient::CollectionMetadata.new(authors: null,
24
+ contents: null,
25
+ dependencies: null,
26
+ description: null,
27
+ documentation: null,
28
+ homepage: null,
29
+ issues: null,
30
+ license: null,
31
+ repository: null,
32
+ tags: null)
33
+ ```
34
+
35
+
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
20
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
21
21
  **policy** | **String** | The policy to use when downloading content. | [optional] [default to 'immediate']
22
+ **requirements_file** | **String** | The string version of Collection requirements yaml. | [optional]
22
23
 
23
24
  ## Code Sample
24
25
 
@@ -39,7 +40,8 @@ instance = PulpAnsibleClient::CollectionRemote.new(_href: null,
39
40
  password: null,
40
41
  _last_updated: null,
41
42
  download_concurrency: null,
42
- policy: null)
43
+ policy: null,
44
+ requirements_file: null)
43
45
  ```
44
46
 
45
47
 
@@ -4,24 +4,26 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **_href** | **String** | | [optional]
8
- **_artifact** | **String** | Artifact file representing the physical content |
9
- **_type** | **String** | | [optional]
7
+ **artifact** | **String** | Artifact file representing the physical content |
10
8
  **_created** | **DateTime** | Timestamp of creation. | [optional]
9
+ **_type** | **String** | | [optional]
10
+ **_href** | **String** | | [optional]
11
11
  **md5** | **String** | The MD5 checksum if available. | [optional]
12
12
  **sha1** | **String** | The SHA-1 checksum if available. | [optional]
13
13
  **sha224** | **String** | The SHA-224 checksum if available. | [optional]
14
14
  **sha256** | **String** | The SHA-256 checksum if available. | [optional]
15
15
  **sha384** | **String** | The SHA-384 checksum if available. | [optional]
16
16
  **sha512** | **String** | The SHA-512 checksum if available. | [optional]
17
+ **id** | **String** | A collection identifier. |
17
18
  **authors** | **Array<String>** | A list of the CollectionVersion content's authors. |
18
- **contents** | **String** | A JSON field with data about the contents. |
19
- **dependencies** | **String** | A dict declaring Collections that this collection requires to be installed for it to be usable. |
19
+ **contents** | **Array<Hash<String, String>>** | A JSON field with data about the contents. |
20
+ **dependencies** | **Hash<String, String>** | A dict declaring Collections that this collection requires to be installed for it to be usable. |
20
21
  **description** | **String** | A short summary description of the collection. |
21
- **docs_blob** | **String** | A JSON field holding the various documentation blobs in the collection. |
22
+ **docs_blob** | **Hash<String, String>** | A JSON field holding the various documentation blobs in the collection. |
22
23
  **documentation** | **String** | The URL to any online docs. |
23
24
  **homepage** | **String** | The URL to the homepage of the collection/project. |
24
25
  **issues** | **String** | The URL to the collection issue tracker. |
26
+ **is_certified** | **Boolean** | Indicates that the version is certified |
25
27
  **license** | **Array<String>** | A list of licenses for content inside of a collection. |
26
28
  **name** | **String** | The name of the collection. |
27
29
  **namespace** | **String** | The namespace of the collection. |
@@ -34,16 +36,17 @@ Name | Type | Description | Notes
34
36
  ```ruby
35
37
  require 'PulpAnsibleClient'
36
38
 
37
- instance = PulpAnsibleClient::CollectionVersion.new(_href: null,
38
- _artifact: null,
39
- _type: null,
39
+ instance = PulpAnsibleClient::CollectionVersion.new(artifact: null,
40
40
  _created: null,
41
+ _type: null,
42
+ _href: null,
41
43
  md5: null,
42
44
  sha1: null,
43
45
  sha224: null,
44
46
  sha256: null,
45
47
  sha384: null,
46
48
  sha512: null,
49
+ id: null,
47
50
  authors: null,
48
51
  contents: null,
49
52
  dependencies: null,
@@ -52,6 +55,7 @@ instance = PulpAnsibleClient::CollectionVersion.new(_href: null,
52
55
  documentation: null,
53
56
  homepage: null,
54
57
  issues: null,
58
+ is_certified: null,
55
59
  license: null,
56
60
  name: null,
57
61
  namespace: null,
@@ -1,11 +1,12 @@
1
- # PulpAnsibleClient::ContentCollectionsApi
1
+ # PulpAnsibleClient::ContentCollectionVersionsApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create**](ContentCollectionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collections/ | Create a collection version
8
- [**list**](ContentCollectionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collections/ | List collection versions
7
+ [**create**](ContentCollectionVersionsApi.md#create) | **POST** /pulp/api/v3/content/ansible/collection_versions/ | Create a collection version
8
+ [**list**](ContentCollectionVersionsApi.md#list) | **GET** /pulp/api/v3/content/ansible/collection_versions/ | List collection versions
9
+ [**read**](ContentCollectionVersionsApi.md#read) | **GET** {collection_version_href} | Inspect a collection version
9
10
 
10
11
 
11
12
 
@@ -29,7 +30,7 @@ PulpAnsibleClient.configure do |config|
29
30
  config.password = 'YOUR PASSWORD'
30
31
  end
31
32
 
32
- api_instance = PulpAnsibleClient::ContentCollectionsApi.new
33
+ api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
33
34
  data = PulpAnsibleClient::CollectionVersion.new # CollectionVersion |
34
35
 
35
36
  begin
@@ -37,7 +38,7 @@ begin
37
38
  result = api_instance.create(data)
38
39
  p result
39
40
  rescue PulpAnsibleClient::ApiError => e
40
- puts "Exception when calling ContentCollectionsApi->create: #{e}"
41
+ puts "Exception when calling ContentCollectionVersionsApi->create: #{e}"
41
42
  end
42
43
  ```
43
44
 
@@ -82,18 +83,19 @@ PulpAnsibleClient.configure do |config|
82
83
  config.password = 'YOUR PASSWORD'
83
84
  end
84
85
 
85
- api_instance = PulpAnsibleClient::ContentCollectionsApi.new
86
+ api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
86
87
  opts = {
87
88
  namespace: 'namespace_example', # String |
88
89
  name: 'name_example', # String |
89
90
  version: 'version_example', # String | Filter results where version matches value
91
+ q: 'q_example', # String |
92
+ is_highest: 'is_highest_example', # String |
90
93
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
91
94
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
92
95
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
93
- latest: 'latest_example', # String |
94
- q: 'q_example', # String |
95
- page: 56, # Integer | A page number within the paginated result set.
96
- page_size: 56 # Integer | Number of results to return per page.
96
+ limit: 56, # Integer | Number of results to return per page.
97
+ offset: 56, # Integer | The initial index from which to return the results.
98
+ fields: 'fields_example' # String | A list of fields to include in the response.
97
99
  }
98
100
 
99
101
  begin
@@ -101,7 +103,7 @@ begin
101
103
  result = api_instance.list(opts)
102
104
  p result
103
105
  rescue PulpAnsibleClient::ApiError => e
104
- puts "Exception when calling ContentCollectionsApi->list: #{e}"
106
+ puts "Exception when calling ContentCollectionVersionsApi->list: #{e}"
105
107
  end
106
108
  ```
107
109
 
@@ -113,13 +115,14 @@ Name | Type | Description | Notes
113
115
  **namespace** | **String**| | [optional]
114
116
  **name** | **String**| | [optional]
115
117
  **version** | **String**| Filter results where version matches value | [optional]
118
+ **q** | **String**| | [optional]
119
+ **is_highest** | **String**| | [optional]
116
120
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
117
121
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
118
122
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
119
- **latest** | **String**| | [optional]
120
- **q** | **String**| | [optional]
121
- **page** | **Integer**| A page number within the paginated result set. | [optional]
122
- **page_size** | **Integer**| Number of results to return per page. | [optional]
123
+ **limit** | **Integer**| Number of results to return per page. | [optional]
124
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
125
+ **fields** | **String**| A list of fields to include in the response. | [optional]
123
126
 
124
127
  ### Return type
125
128
 
@@ -134,3 +137,60 @@ Name | Type | Description | Notes
134
137
  - **Content-Type**: Not defined
135
138
  - **Accept**: application/json
136
139
 
140
+
141
+ ## read
142
+
143
+ > CollectionVersion read(collection_version_href, opts)
144
+
145
+ Inspect a collection version
146
+
147
+ ViewSet for Ansible Collection.
148
+
149
+ ### Example
150
+
151
+ ```ruby
152
+ # load the gem
153
+ require 'pulp_ansible_client'
154
+ # setup authorization
155
+ PulpAnsibleClient.configure do |config|
156
+ # Configure HTTP basic authorization: Basic
157
+ config.username = 'YOUR USERNAME'
158
+ config.password = 'YOUR PASSWORD'
159
+ end
160
+
161
+ api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
162
+ collection_version_href = 'collection_version_href_example' # String | URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/
163
+ opts = {
164
+ fields: 'fields_example' # String | A list of fields to include in the response.
165
+ }
166
+
167
+ begin
168
+ #Inspect a collection version
169
+ result = api_instance.read(collection_version_href, opts)
170
+ p result
171
+ rescue PulpAnsibleClient::ApiError => e
172
+ puts "Exception when calling ContentCollectionVersionsApi->read: #{e}"
173
+ end
174
+ ```
175
+
176
+ ### Parameters
177
+
178
+
179
+ Name | Type | Description | Notes
180
+ ------------- | ------------- | ------------- | -------------
181
+ **collection_version_href** | **String**| URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/ |
182
+ **fields** | **String**| A list of fields to include in the response. | [optional]
183
+
184
+ ### Return type
185
+
186
+ [**CollectionVersion**](CollectionVersion.md)
187
+
188
+ ### Authorization
189
+
190
+ [Basic](../README.md#Basic)
191
+
192
+ ### HTTP request headers
193
+
194
+ - **Content-Type**: Not defined
195
+ - **Accept**: application/json
196
+
@@ -91,8 +91,9 @@ opts = {
91
91
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
92
92
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
93
93
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
94
- page: 56, # Integer | A page number within the paginated result set.
95
- page_size: 56 # Integer | Number of results to return per page.
94
+ limit: 56, # Integer | Number of results to return per page.
95
+ offset: 56, # Integer | The initial index from which to return the results.
96
+ fields: 'fields_example' # String | A list of fields to include in the response.
96
97
  }
97
98
 
98
99
  begin
@@ -115,8 +116,9 @@ Name | Type | Description | Notes
115
116
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
116
117
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
117
118
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
118
- **page** | **Integer**| A page number within the paginated result set. | [optional]
119
- **page_size** | **Integer**| Number of results to return per page. | [optional]
119
+ **limit** | **Integer**| Number of results to return per page. | [optional]
120
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
121
+ **fields** | **String**| A list of fields to include in the response. | [optional]
120
122
 
121
123
  ### Return type
122
124
 
@@ -134,7 +136,7 @@ Name | Type | Description | Notes
134
136
 
135
137
  ## read
136
138
 
137
- > Role read(role_href)
139
+ > Role read(role_href, opts)
138
140
 
139
141
  Inspect a role
140
142
 
@@ -154,10 +156,13 @@ end
154
156
 
155
157
  api_instance = PulpAnsibleClient::ContentRolesApi.new
156
158
  role_href = 'role_href_example' # String | URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/
159
+ opts = {
160
+ fields: 'fields_example' # String | A list of fields to include in the response.
161
+ }
157
162
 
158
163
  begin
159
164
  #Inspect a role
160
- result = api_instance.read(role_href)
165
+ result = api_instance.read(role_href, opts)
161
166
  p result
162
167
  rescue PulpAnsibleClient::ApiError => e
163
168
  puts "Exception when calling ContentRolesApi->read: #{e}"
@@ -170,6 +175,7 @@ end
170
175
  Name | Type | Description | Notes
171
176
  ------------- | ------------- | ------------- | -------------
172
177
  **role_href** | **String**| URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/ |
178
+ **fields** | **String**| A list of fields to include in the response. | [optional]
173
179
 
174
180
  ### Return type
175
181
 
@@ -147,8 +147,9 @@ opts = {
147
147
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
148
148
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
- page: 56, # Integer | A page number within the paginated result set.
151
- page_size: 56 # Integer | Number of results to return per page.
150
+ limit: 56, # Integer | Number of results to return per page.
151
+ offset: 56, # Integer | The initial index from which to return the results.
152
+ fields: 'fields_example' # String | A list of fields to include in the response.
152
153
  }
153
154
 
154
155
  begin
@@ -171,8 +172,9 @@ Name | Type | Description | Notes
171
172
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
172
173
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
173
174
  **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
174
- **page** | **Integer**| A page number within the paginated result set. | [optional]
175
- **page_size** | **Integer**| Number of results to return per page. | [optional]
175
+ **limit** | **Integer**| Number of results to return per page. | [optional]
176
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
176
178
 
177
179
  ### Return type
178
180
 
@@ -245,7 +247,7 @@ Name | Type | Description | Notes
245
247
 
246
248
  ## read
247
249
 
248
- > AnsibleDistribution read(ansible_distribution_href)
250
+ > AnsibleDistribution read(ansible_distribution_href, opts)
249
251
 
250
252
  Inspect an ansible distribution
251
253
 
@@ -265,10 +267,13 @@ end
265
267
 
266
268
  api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
267
269
  ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
270
+ opts = {
271
+ fields: 'fields_example' # String | A list of fields to include in the response.
272
+ }
268
273
 
269
274
  begin
270
275
  #Inspect an ansible distribution
271
- result = api_instance.read(ansible_distribution_href)
276
+ result = api_instance.read(ansible_distribution_href, opts)
272
277
  p result
273
278
  rescue PulpAnsibleClient::ApiError => e
274
279
  puts "Exception when calling DistributionsAnsibleApi->read: #{e}"
@@ -281,6 +286,7 @@ end
281
286
  Name | Type | Description | Notes
282
287
  ------------- | ------------- | ------------- | -------------
283
288
  **ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
289
+ **fields** | **String**| A list of fields to include in the response. | [optional]
284
290
 
285
291
  ### Return type
286
292
 
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::GalaxyCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | |
8
+ **namespace** | **String** | |
9
+ **href** | **String** | | [optional]
10
+ **versions_url** | **String** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpAnsibleClient'
16
+
17
+ instance = PulpAnsibleClient::GalaxyCollection.new(name: null,
18
+ namespace: null,
19
+ href: null,
20
+ versions_url: null)
21
+ ```
22
+
23
+
@@ -4,22 +4,24 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | |
8
- **namespace** | **String** | |
9
7
  **version** | **String** | |
10
8
  **href** | **String** | | [optional]
11
- **versions_url** | **String** | | [optional]
9
+ **namespace** | **String** | | [optional]
10
+ **collection** | **String** | | [optional]
11
+ **artifact** | **String** | | [optional]
12
+ **metadata** | [**CollectionMetadata**](CollectionMetadata.md) | |
12
13
 
13
14
  ## Code Sample
14
15
 
15
16
  ```ruby
16
17
  require 'PulpAnsibleClient'
17
18
 
18
- instance = PulpAnsibleClient::GalaxyCollectionVersion.new(name: null,
19
- namespace: null,
20
- version: null,
19
+ instance = PulpAnsibleClient::GalaxyCollectionVersion.new(version: null,
21
20
  href: null,
22
- versions_url: null)
21
+ namespace: null,
22
+ collection: null,
23
+ artifact: null,
24
+ metadata: null)
23
25
  ```
24
26
 
25
27
 
@@ -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<GalaxyCollection>**](GalaxyCollection.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -0,0 +1,23 @@
1
+ # PulpAnsibleClient::InlineResponse2009
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::InlineResponse2009.new(count: null,
18
+ _next: null,
19
+ previous: null,
20
+ results: null)
21
+ ```
22
+
23
+