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
@@ -1,17 +1,17 @@
|
|
1
|
-
# PulpAnsibleClient::
|
1
|
+
# PulpAnsibleClient::CollectionNamespace
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** |
|
7
|
+
**name** | **String** | |
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
11
11
|
```ruby
|
12
12
|
require 'PulpAnsibleClient'
|
13
13
|
|
14
|
-
instance = PulpAnsibleClient::
|
14
|
+
instance = PulpAnsibleClient::CollectionNamespace.new(name: null)
|
15
15
|
```
|
16
16
|
|
17
17
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::CollectionRef
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | |
|
8
|
+
**name** | **String** | |
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::CollectionRef.new(id: null,
|
17
|
+
name: null,
|
18
|
+
href: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/CollectionVersion.md
CHANGED
@@ -4,74 +4,34 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**
|
13
|
-
**
|
14
|
-
**
|
15
|
-
**
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**sha384** | **String** | The SHA-384 checksum if available. | [optional]
|
19
|
-
**sha512** | **String** | The SHA-512 checksum if available. | [optional]
|
20
|
-
**id** | **String** | A collection identifier. | [optional]
|
21
|
-
**authors** | **Array<String>** | A list of the CollectionVersion content's authors. | [optional]
|
22
|
-
**contents** | **Array<Hash<String, String>>** | A JSON field with data about the contents. | [optional]
|
23
|
-
**dependencies** | **Hash<String, String>** | A dict declaring Collections that this collection requires to be installed for it to be usable. | [optional]
|
24
|
-
**description** | **String** | A short summary description of the collection. | [optional]
|
25
|
-
**docs_blob** | **Hash<String, String>** | A JSON field holding the various documentation blobs in the collection. | [optional]
|
26
|
-
**documentation** | **String** | The URL to any online docs. | [optional]
|
27
|
-
**homepage** | **String** | The URL to the homepage of the collection/project. | [optional]
|
28
|
-
**issues** | **String** | The URL to the collection issue tracker. | [optional]
|
29
|
-
**is_certified** | **Boolean** | Indicates that the version is certified | [optional]
|
30
|
-
**license** | **Array<String>** | A list of licenses for content inside of a collection. | [optional]
|
31
|
-
**name** | **String** | The name of the collection. | [optional]
|
32
|
-
**namespace** | **String** | The namespace of the collection. | [optional]
|
33
|
-
**tags** | [**Array<TagNested>**](TagNested.md) | | [optional]
|
34
|
-
**version** | **String** | The version of the collection. | [optional]
|
35
|
-
**expected_name** | **String** | The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
|
36
|
-
**expected_namespace** | **String** | The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
|
37
|
-
**expected_version** | **String** | The expected version of the Collection to be verified against the metadata during import. | [optional]
|
7
|
+
**version** | **String** | | [optional] [readonly]
|
8
|
+
**certification** | **String** | | [optional]
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
|
+
**created_at** | **DateTime** | |
|
11
|
+
**updated_at** | **DateTime** | |
|
12
|
+
**artifact** | **String** | | [optional] [readonly]
|
13
|
+
**collection** | [**CollectionRef**](CollectionRef.md) | | [optional]
|
14
|
+
**download_url** | **String** | | [optional] [readonly]
|
15
|
+
**name** | **String** | | [optional] [readonly]
|
16
|
+
**namespace** | [**CollectionNamespace**](CollectionNamespace.md) | | [optional]
|
17
|
+
**metadata** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
|
38
18
|
|
39
19
|
## Code Sample
|
40
20
|
|
41
21
|
```ruby
|
42
22
|
require 'PulpAnsibleClient'
|
43
23
|
|
44
|
-
instance = PulpAnsibleClient::CollectionVersion.new(
|
45
|
-
|
46
|
-
|
24
|
+
instance = PulpAnsibleClient::CollectionVersion.new(version: null,
|
25
|
+
certification: null,
|
26
|
+
href: null,
|
27
|
+
created_at: null,
|
28
|
+
updated_at: null,
|
47
29
|
artifact: null,
|
48
|
-
|
49
|
-
|
50
|
-
repository: null,
|
51
|
-
md5: null,
|
52
|
-
sha1: null,
|
53
|
-
sha224: null,
|
54
|
-
sha256: null,
|
55
|
-
sha384: null,
|
56
|
-
sha512: null,
|
57
|
-
id: null,
|
58
|
-
authors: null,
|
59
|
-
contents: null,
|
60
|
-
dependencies: null,
|
61
|
-
description: null,
|
62
|
-
docs_blob: null,
|
63
|
-
documentation: null,
|
64
|
-
homepage: null,
|
65
|
-
issues: null,
|
66
|
-
is_certified: null,
|
67
|
-
license: null,
|
30
|
+
collection: null,
|
31
|
+
download_url: null,
|
68
32
|
name: null,
|
69
33
|
namespace: null,
|
70
|
-
|
71
|
-
version: null,
|
72
|
-
expected_name: null,
|
73
|
-
expected_namespace: null,
|
74
|
-
expected_version: null)
|
34
|
+
metadata: null)
|
75
35
|
```
|
76
36
|
|
77
37
|
|
@@ -12,11 +12,11 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
>
|
15
|
+
> AnsibleCollectionVersion create(data)
|
16
16
|
|
17
17
|
Create a collection version
|
18
18
|
|
19
|
-
|
19
|
+
ViewSet for Ansible Collection.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -31,19 +31,11 @@ PulpAnsibleClient.configure do |config|
|
|
31
31
|
end
|
32
32
|
|
33
33
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
34
|
-
|
35
|
-
opts = {
|
36
|
-
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
|
-
file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
-
expected_name: 'expected_name_example', # String | The expected 'name' of the Collection to be verified against the metadata during import.
|
40
|
-
expected_namespace: 'expected_namespace_example', # String | The expected 'namespace' of the Collection to be verified against the metadata during import.
|
41
|
-
expected_version: 'expected_version_example' # String | The expected version of the Collection to be verified against the metadata during import.
|
42
|
-
}
|
34
|
+
data = PulpAnsibleClient::AnsibleCollectionVersion.new # AnsibleCollectionVersion |
|
43
35
|
|
44
36
|
begin
|
45
37
|
#Create a collection version
|
46
|
-
result = api_instance.create(
|
38
|
+
result = api_instance.create(data)
|
47
39
|
p result
|
48
40
|
rescue PulpAnsibleClient::ApiError => e
|
49
41
|
puts "Exception when calling ContentCollectionVersionsApi->create: #{e}"
|
@@ -55,17 +47,11 @@ end
|
|
55
47
|
|
56
48
|
Name | Type | Description | Notes
|
57
49
|
------------- | ------------- | ------------- | -------------
|
58
|
-
**
|
59
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
60
|
-
**file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
61
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
62
|
-
**expected_name** | **String**| The expected 'name' of the Collection to be verified against the metadata during import. | [optional]
|
63
|
-
**expected_namespace** | **String**| The expected 'namespace' of the Collection to be verified against the metadata during import. | [optional]
|
64
|
-
**expected_version** | **String**| The expected version of the Collection to be verified against the metadata during import. | [optional]
|
50
|
+
**data** | [**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)| |
|
65
51
|
|
66
52
|
### Return type
|
67
53
|
|
68
|
-
[**
|
54
|
+
[**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)
|
69
55
|
|
70
56
|
### Authorization
|
71
57
|
|
@@ -73,13 +59,13 @@ Name | Type | Description | Notes
|
|
73
59
|
|
74
60
|
### HTTP request headers
|
75
61
|
|
76
|
-
- **Content-Type**:
|
62
|
+
- **Content-Type**: application/json
|
77
63
|
- **Accept**: application/json
|
78
64
|
|
79
65
|
|
80
66
|
## list
|
81
67
|
|
82
|
-
>
|
68
|
+
> InlineResponse2001 list(opts)
|
83
69
|
|
84
70
|
List collection versions
|
85
71
|
|
@@ -99,17 +85,22 @@ end
|
|
99
85
|
|
100
86
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
101
87
|
opts = {
|
88
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
102
89
|
namespace: 'namespace_example', # String |
|
103
90
|
name: 'name_example', # String |
|
104
91
|
version: 'version_example', # String | Filter results where version matches value
|
105
92
|
q: 'q_example', # String |
|
106
93
|
is_highest: 'is_highest_example', # String |
|
94
|
+
certification: 'certification_example', # String |
|
95
|
+
tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
|
107
96
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
108
97
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
109
98
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
99
|
+
deprecated: 'deprecated_example', # String |
|
110
100
|
limit: 56, # Integer | Number of results to return per page.
|
111
101
|
offset: 56, # Integer | The initial index from which to return the results.
|
112
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
102
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
103
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
113
104
|
}
|
114
105
|
|
115
106
|
begin
|
@@ -126,21 +117,26 @@ end
|
|
126
117
|
|
127
118
|
Name | Type | Description | Notes
|
128
119
|
------------- | ------------- | ------------- | -------------
|
120
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
129
121
|
**namespace** | **String**| | [optional]
|
130
122
|
**name** | **String**| | [optional]
|
131
123
|
**version** | **String**| Filter results where version matches value | [optional]
|
132
124
|
**q** | **String**| | [optional]
|
133
125
|
**is_highest** | **String**| | [optional]
|
126
|
+
**certification** | **String**| | [optional]
|
127
|
+
**tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
|
134
128
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
135
129
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
136
130
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
131
|
+
**deprecated** | **String**| | [optional]
|
137
132
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
138
133
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
139
134
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
135
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
140
136
|
|
141
137
|
### Return type
|
142
138
|
|
143
|
-
[**
|
139
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
144
140
|
|
145
141
|
### Authorization
|
146
142
|
|
@@ -154,7 +150,7 @@ Name | Type | Description | Notes
|
|
154
150
|
|
155
151
|
## read
|
156
152
|
|
157
|
-
>
|
153
|
+
> AnsibleCollectionVersion read(collection_version_href, opts)
|
158
154
|
|
159
155
|
Inspect a collection version
|
160
156
|
|
@@ -175,7 +171,8 @@ end
|
|
175
171
|
api_instance = PulpAnsibleClient::ContentCollectionVersionsApi.new
|
176
172
|
collection_version_href = 'collection_version_href_example' # String | URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/
|
177
173
|
opts = {
|
178
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
174
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
175
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
179
176
|
}
|
180
177
|
|
181
178
|
begin
|
@@ -194,10 +191,11 @@ Name | Type | Description | Notes
|
|
194
191
|
------------- | ------------- | ------------- | -------------
|
195
192
|
**collection_version_href** | **String**| URI of Collection Version. e.g.: /pulp/api/v3/content/ansible/collection_versions/1/ |
|
196
193
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
194
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
197
195
|
|
198
196
|
### Return type
|
199
197
|
|
200
|
-
[**
|
198
|
+
[**AnsibleCollectionVersion**](AnsibleCollectionVersion.md)
|
201
199
|
|
202
200
|
### Authorization
|
203
201
|
|
data/docs/ContentRolesApi.md
CHANGED
@@ -12,11 +12,11 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
## create
|
14
14
|
|
15
|
-
>
|
15
|
+
> AnsibleRole create(data)
|
16
16
|
|
17
17
|
Create a role
|
18
18
|
|
19
|
-
|
19
|
+
ViewSet for Role.
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -31,18 +31,11 @@ PulpAnsibleClient.configure do |config|
|
|
31
31
|
end
|
32
32
|
|
33
33
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
34
|
-
|
35
|
-
name = 'name_example' # String |
|
36
|
-
namespace = 'namespace_example' # String |
|
37
|
-
opts = {
|
38
|
-
file: File.new('/path/to/file'), # File | An uploaded file that should be turned into the artifact of the content unit.
|
39
|
-
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
40
|
-
artifact: 'artifact_example' # String | Artifact file representing the physical content
|
41
|
-
}
|
34
|
+
data = PulpAnsibleClient::AnsibleRole.new # AnsibleRole |
|
42
35
|
|
43
36
|
begin
|
44
37
|
#Create a role
|
45
|
-
result = api_instance.create(
|
38
|
+
result = api_instance.create(data)
|
46
39
|
p result
|
47
40
|
rescue PulpAnsibleClient::ApiError => e
|
48
41
|
puts "Exception when calling ContentRolesApi->create: #{e}"
|
@@ -54,16 +47,11 @@ end
|
|
54
47
|
|
55
48
|
Name | Type | Description | Notes
|
56
49
|
------------- | ------------- | ------------- | -------------
|
57
|
-
**
|
58
|
-
**name** | **String**| |
|
59
|
-
**namespace** | **String**| |
|
60
|
-
**file** | **File**| An uploaded file that should be turned into the artifact of the content unit. | [optional]
|
61
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
62
|
-
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
50
|
+
**data** | [**AnsibleRole**](AnsibleRole.md)| |
|
63
51
|
|
64
52
|
### Return type
|
65
53
|
|
66
|
-
[**
|
54
|
+
[**AnsibleRole**](AnsibleRole.md)
|
67
55
|
|
68
56
|
### Authorization
|
69
57
|
|
@@ -71,13 +59,13 @@ Name | Type | Description | Notes
|
|
71
59
|
|
72
60
|
### HTTP request headers
|
73
61
|
|
74
|
-
- **Content-Type**:
|
62
|
+
- **Content-Type**: application/json
|
75
63
|
- **Accept**: application/json
|
76
64
|
|
77
65
|
|
78
66
|
## list
|
79
67
|
|
80
|
-
>
|
68
|
+
> InlineResponse2002 list(opts)
|
81
69
|
|
82
70
|
List roles
|
83
71
|
|
@@ -105,7 +93,8 @@ opts = {
|
|
105
93
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
106
94
|
limit: 56, # Integer | Number of results to return per page.
|
107
95
|
offset: 56, # Integer | The initial index from which to return the results.
|
108
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
96
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
97
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
109
98
|
}
|
110
99
|
|
111
100
|
begin
|
@@ -131,10 +120,11 @@ Name | Type | Description | Notes
|
|
131
120
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
132
121
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
133
122
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
123
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
134
124
|
|
135
125
|
### Return type
|
136
126
|
|
137
|
-
[**
|
127
|
+
[**InlineResponse2002**](InlineResponse2002.md)
|
138
128
|
|
139
129
|
### Authorization
|
140
130
|
|
@@ -148,7 +138,7 @@ Name | Type | Description | Notes
|
|
148
138
|
|
149
139
|
## read
|
150
140
|
|
151
|
-
>
|
141
|
+
> AnsibleRole read(role_href, opts)
|
152
142
|
|
153
143
|
Inspect a role
|
154
144
|
|
@@ -169,7 +159,8 @@ end
|
|
169
159
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
170
160
|
role_href = 'role_href_example' # String | URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/
|
171
161
|
opts = {
|
172
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
162
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
163
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
173
164
|
}
|
174
165
|
|
175
166
|
begin
|
@@ -188,10 +179,11 @@ Name | Type | Description | Notes
|
|
188
179
|
------------- | ------------- | ------------- | -------------
|
189
180
|
**role_href** | **String**| URI of Role. e.g.: /pulp/api/v3/content/ansible/roles/1/ |
|
190
181
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
182
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
191
183
|
|
192
184
|
### Return type
|
193
185
|
|
194
|
-
[**
|
186
|
+
[**AnsibleRole**](AnsibleRole.md)
|
195
187
|
|
196
188
|
### Authorization
|
197
189
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::ContentSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**added** | **Hash<String, Hash<String, String>>** | |
|
8
|
+
**removed** | **Hash<String, Hash<String, String>>** | |
|
9
|
+
**present** | **Hash<String, Hash<String, String>>** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::ContentSummary.new(added: null,
|
17
|
+
removed: null,
|
18
|
+
present: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -34,7 +34,7 @@ PulpAnsibleClient.configure do |config|
|
|
34
34
|
end
|
35
35
|
|
36
36
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
37
|
-
data = PulpAnsibleClient::
|
37
|
+
data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create an ansible distribution
|
@@ -50,7 +50,7 @@ end
|
|
50
50
|
|
51
51
|
Name | Type | Description | Notes
|
52
52
|
------------- | ------------- | ------------- | -------------
|
53
|
-
**data** | [**
|
53
|
+
**data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
|
54
54
|
|
55
55
|
### Return type
|
56
56
|
|
@@ -121,7 +121,7 @@ Name | Type | Description | Notes
|
|
121
121
|
|
122
122
|
## list
|
123
123
|
|
124
|
-
>
|
124
|
+
> InlineResponse2003 list(opts)
|
125
125
|
|
126
126
|
List ansible distributions
|
127
127
|
|
@@ -149,7 +149,8 @@ opts = {
|
|
149
149
|
base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
|
150
150
|
limit: 56, # Integer | Number of results to return per page.
|
151
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
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
153
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
153
154
|
}
|
154
155
|
|
155
156
|
begin
|
@@ -175,10 +176,11 @@ Name | Type | Description | Notes
|
|
175
176
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
176
177
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
177
178
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
179
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
178
180
|
|
179
181
|
### Return type
|
180
182
|
|
181
|
-
[**
|
183
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
182
184
|
|
183
185
|
### Authorization
|
184
186
|
|
@@ -212,7 +214,7 @@ end
|
|
212
214
|
|
213
215
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
214
216
|
ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
215
|
-
data = PulpAnsibleClient::
|
217
|
+
data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
|
216
218
|
|
217
219
|
begin
|
218
220
|
#Partially update an ansible distribution
|
@@ -229,7 +231,7 @@ end
|
|
229
231
|
Name | Type | Description | Notes
|
230
232
|
------------- | ------------- | ------------- | -------------
|
231
233
|
**ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
|
232
|
-
**data** | [**
|
234
|
+
**data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
|
233
235
|
|
234
236
|
### Return type
|
235
237
|
|
@@ -247,7 +249,7 @@ Name | Type | Description | Notes
|
|
247
249
|
|
248
250
|
## read
|
249
251
|
|
250
|
-
>
|
252
|
+
> AnsibleAnsibleDistribution read(ansible_distribution_href, opts)
|
251
253
|
|
252
254
|
Inspect an ansible distribution
|
253
255
|
|
@@ -268,7 +270,8 @@ end
|
|
268
270
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
269
271
|
ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
270
272
|
opts = {
|
271
|
-
fields: 'fields_example' # String | A list of fields to include in the response.
|
273
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
274
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
272
275
|
}
|
273
276
|
|
274
277
|
begin
|
@@ -287,10 +290,11 @@ Name | Type | Description | Notes
|
|
287
290
|
------------- | ------------- | ------------- | -------------
|
288
291
|
**ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
|
289
292
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
293
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
290
294
|
|
291
295
|
### Return type
|
292
296
|
|
293
|
-
[**
|
297
|
+
[**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)
|
294
298
|
|
295
299
|
### Authorization
|
296
300
|
|
@@ -324,7 +328,7 @@ end
|
|
324
328
|
|
325
329
|
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
326
330
|
ansible_distribution_href = 'ansible_distribution_href_example' # String | URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/
|
327
|
-
data = PulpAnsibleClient::
|
331
|
+
data = PulpAnsibleClient::AnsibleAnsibleDistribution.new # AnsibleAnsibleDistribution |
|
328
332
|
|
329
333
|
begin
|
330
334
|
#Update an ansible distribution
|
@@ -341,7 +345,7 @@ end
|
|
341
345
|
Name | Type | Description | Notes
|
342
346
|
------------- | ------------- | ------------- | -------------
|
343
347
|
**ansible_distribution_href** | **String**| URI of Ansible Distribution. e.g.: /pulp/api/v3/distributions/ansible/ansible/1/ |
|
344
|
-
**data** | [**
|
348
|
+
**data** | [**AnsibleAnsibleDistribution**](AnsibleAnsibleDistribution.md)| |
|
345
349
|
|
346
350
|
### Return type
|
347
351
|
|
data/docs/GalaxyCollection.md
CHANGED
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**name** | **String** | |
|
8
8
|
**namespace** | **String** | |
|
9
|
-
**href** | **String** | | [optional]
|
10
|
-
**versions_url** | **String** | | [optional]
|
9
|
+
**href** | **String** | | [optional] [readonly]
|
10
|
+
**versions_url** | **String** | | [optional] [readonly]
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | |
|
8
|
-
**href** | **String** | | [optional]
|
9
|
-
**namespace** | **String** | | [optional]
|
10
|
-
**collection** | **String** | | [optional]
|
11
|
-
**artifact** | **String** | | [optional]
|
8
|
+
**href** | **String** | | [optional] [readonly]
|
9
|
+
**namespace** | **String** | | [optional] [readonly]
|
10
|
+
**collection** | **String** | | [optional] [readonly]
|
11
|
+
**artifact** | **String** | | [optional] [readonly]
|
12
12
|
**metadata** | [**CollectionMetadata**](CollectionMetadata.md) | |
|
13
13
|
|
14
14
|
## Code Sample
|
data/docs/GalaxyRole.md
CHANGED
data/docs/GalaxyRoleVersion.md
CHANGED
data/docs/InlineResponse200.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<AnsibleCollection>**](AnsibleCollection.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/InlineResponse2001.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<AnsibleCollectionVersion>**](AnsibleCollectionVersion.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpAnsibleClient::InlineResponse20010
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | |
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<GalaxyRoleVersion>**](GalaxyRoleVersion.md) | |
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpAnsibleClient'
|
16
|
+
|
17
|
+
instance = PulpAnsibleClient::InlineResponse20010.new(count: null,
|
18
|
+
_next: null,
|
19
|
+
previous: null,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|