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.
- checksums.yaml +4 -4
- data/README.md +43 -23
- data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
- data/docs/AnsibleAnsibleRemote.md +39 -0
- data/docs/AnsibleAnsibleRepository.md +27 -0
- data/docs/AnsibleCollection.md +19 -0
- data/docs/AnsibleCollectionRemote.md +41 -0
- data/docs/AnsibleCollectionVersion.md +67 -0
- data/docs/AnsibleCollectionsApi.md +80 -18
- data/docs/AnsibleRole.md +27 -0
- data/docs/AnsibleTag.md +17 -0
- data/docs/Collection.md +31 -0
- data/docs/CollectionImportDetail.md +2 -2
- data/docs/CollectionMetadata.md +9 -9
- data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
- data/docs/CollectionRef.md +21 -0
- data/docs/CollectionVersion.md +19 -59
- data/docs/ContentCollectionVersionsApi.md +25 -27
- data/docs/ContentRolesApi.md +17 -25
- data/docs/ContentSummary.md +21 -0
- data/docs/DistributionsAnsibleApi.md +16 -12
- data/docs/GalaxyCollection.md +2 -2
- data/docs/GalaxyCollectionVersion.md +4 -4
- data/docs/GalaxyRole.md +1 -1
- data/docs/GalaxyRoleVersion.md +1 -1
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PulpAnsibleApiApi.md +3 -1
- data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
- data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
- data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
- data/docs/PulpAnsibleTagsApi.md +5 -3
- data/docs/RemotesAnsibleApi.md +30 -81
- data/docs/RemotesCollectionApi.md +30 -81
- data/docs/RepositoriesAnsibleApi.md +409 -0
- data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
- data/docs/RepositorySyncURL.md +2 -2
- data/docs/RepositoryVersion.md +25 -0
- data/docs/Tag.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
- data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
- data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/api_error.rb +1 -1
- data/lib/pulp_ansible_client/configuration.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
- data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
- data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
- data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
- data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
- data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
- data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
- data/lib/pulp_ansible_client/models/collection.rb +314 -0
- data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
- data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
- data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
- data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
- data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
- data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
- data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
- data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
- data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
- data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
- data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
- data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
- data/lib/pulp_ansible_client/models/tag.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +20 -6
- data/pulp_ansible_client.gemspec +1 -1
- data/spec/api/ansible_collections_api_spec.rb +25 -10
- data/spec/api/content_collection_versions_api_spec.rb +12 -12
- data/spec/api/content_roles_api_spec.rb +8 -11
- data/spec/api/distributions_ansible_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
- data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
- data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
- data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
- data/spec/api/remotes_ansible_api_spec.rb +12 -22
- data/spec/api/remotes_collection_api_spec.rb +12 -22
- data/spec/api/repositories_ansible_api_spec.rb +128 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
- data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
- data/spec/models/ansible_ansible_repository_spec.rb +71 -0
- data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
- data/spec/models/ansible_collection_spec.rb +47 -0
- data/spec/models/ansible_collection_version_spec.rb +191 -0
- data/spec/models/ansible_role_spec.rb +71 -0
- data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/collection_import_detail_spec.rb +1 -1
- data/spec/models/collection_metadata_spec.rb +1 -1
- data/spec/models/collection_namespace_spec.rb +41 -0
- data/spec/models/collection_ref_spec.rb +53 -0
- data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
- data/spec/models/collection_version_spec.rb +14 -130
- data/spec/models/content_summary_spec.rb +53 -0
- data/spec/models/galaxy_collection_spec.rb +1 -1
- data/spec/models/galaxy_collection_version_spec.rb +1 -1
- data/spec/models/galaxy_role_spec.rb +1 -1
- data/spec/models/galaxy_role_version_spec.rb +1 -1
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response2006_spec.rb +1 -1
- data/spec/models/inline_response2007_spec.rb +1 -1
- data/spec/models/inline_response2008_spec.rb +1 -1
- data/spec/models/inline_response2009_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +2 -2
- data/spec/models/repository_version_spec.rb +65 -0
- data/spec/models/tag_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +78 -22
- data/docs/AnsibleRemote.md +0 -45
- data/docs/CollectionRemote.md +0 -47
- 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
|
+
|
data/docs/InlineResponse2002.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<AnsibleRole>**](AnsibleRole.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2003.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<AnsibleAnsibleDistribution>**](AnsibleAnsibleDistribution.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2004.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<Tag>**](Tag.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2005.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<AnsibleAnsibleRemote>**](AnsibleAnsibleRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2006.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<AnsibleCollectionRemote>**](AnsibleCollectionRemote.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2007.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<AnsibleAnsibleRepository>**](AnsibleAnsibleRepository.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2008.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<RepositoryVersion>**](RepositoryVersion.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2009.md
CHANGED
@@ -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<
|
10
|
+
**results** | [**Array<GalaxyRole>**](GalaxyRole.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PulpAnsibleApiApi.md
CHANGED
@@ -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
|
-
>
|
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
|
-
[**
|
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
|
-
|
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**:
|
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
|
-
>
|
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
|
-
[**
|
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
|
-
>
|
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
|
-
[**
|
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
|
-
>
|
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
|
-
[**
|
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
|
-
|
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
|
-
|
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**:
|
60
|
-
- **Accept**:
|
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
|
-
|
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
|
|
data/docs/PulpAnsibleTagsApi.md
CHANGED
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
10
10
|
|
11
11
|
## list
|
12
12
|
|
13
|
-
>
|
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
|
-
[**
|
60
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
59
61
|
|
60
62
|
### Authorization
|
61
63
|
|