pulp_ansible_client 0.17.4 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -29
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -3
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +3 -1
- data/docs/ContentCollectionMarksApi.md +4 -2
- data/docs/ContentCollectionSignaturesApi.md +5 -3
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +19 -1
- data/docs/ContentRolesApi.md +3 -1
- data/docs/DistributionsAnsibleApi.md +138 -12
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +135 -9
- data/docs/RemotesGitApi.md +135 -9
- data/docs/RemotesRoleApi.md +135 -9
- data/docs/RepositoriesAnsibleApi.md +140 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/TaskResponse.md +2 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +11 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +166 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +169 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -145
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/set_label.rb +252 -0
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/task_response.rb +11 -1
- data/lib/pulp_ansible_client/models/unset_label.rb +242 -0
- data/lib/pulp_ansible_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -0
- data/spec/api/ansible_collections_api_spec.rb +5 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
- data/spec/api/content_collection_marks_api_spec.rb +1 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +9 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +36 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +9 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +13 -4
- data/spec/api/remotes_collection_api_spec.rb +35 -0
- data/spec/api/remotes_git_api_spec.rb +35 -0
- data/spec/api/remotes_role_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_api_spec.rb +37 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_signature_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/task_response_spec.rb +6 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +144 -128
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a1b7af04c8fe96c03236b8a551336250394b43a36110775243df66143e0040
|
4
|
+
data.tar.gz: ae3e72347d39a74e3aeaaff3794ae92e1e8e92b2aa83028417723739b20cd200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56e9773fbdc415eab01ea84cffdb670a49f8b4e72d0827d871180f0f2f7764233dd12b5c231d095cfc9fdbe879e7cd6b91996967df782c3837099d0bd9fb0af4
|
7
|
+
data.tar.gz: 7af72ede02672301309508373c4e7a4a90d7d426c1ff97f4dccb25c9284514f20475e0109c497dd1fa73525f1bedc07d9beb67b496bc1c98430943c74b4039a4
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
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.
|
10
|
+
- Package version: 0.18.1
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_ansible_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_ansible_client-0.
|
27
|
+
gem install ./pulp_ansible_client-0.18.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_ansible_client-0.
|
30
|
+
(for development, run `gem install --dev ./pulp_ansible_client-0.18.1.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_ansible_client', '~> 0.
|
36
|
+
gem 'pulp_ansible_client', '~> 0.18.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -69,6 +69,7 @@ ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
69
69
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
70
70
|
|
71
71
|
begin
|
72
|
+
#Add a role
|
72
73
|
result = api_instance.add_role(ansible_collection_href, nested_role)
|
73
74
|
p result
|
74
75
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -79,15 +80,15 @@ end
|
|
79
80
|
|
80
81
|
## Documentation for API Endpoints
|
81
82
|
|
82
|
-
All URIs are relative to *
|
83
|
+
All URIs are relative to *http://pulp*
|
83
84
|
|
84
85
|
Class | Method | HTTP request | Description
|
85
86
|
------------ | ------------- | ------------- | -------------
|
86
|
-
*PulpAnsibleClient::AnsibleCollectionsApi* | [**add_role**](docs/AnsibleCollectionsApi.md#add_role) | **POST** {ansible_collection_href}add_role/ |
|
87
|
+
*PulpAnsibleClient::AnsibleCollectionsApi* | [**add_role**](docs/AnsibleCollectionsApi.md#add_role) | **POST** {ansible_collection_href}add_role/ | Add a role
|
87
88
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list**](docs/AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
88
|
-
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list_roles**](docs/AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ |
|
89
|
-
*PulpAnsibleClient::AnsibleCollectionsApi* | [**my_permissions**](docs/AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ |
|
90
|
-
*PulpAnsibleClient::AnsibleCollectionsApi* | [**remove_role**](docs/AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ |
|
89
|
+
*PulpAnsibleClient::AnsibleCollectionsApi* | [**list_roles**](docs/AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ | List roles
|
90
|
+
*PulpAnsibleClient::AnsibleCollectionsApi* | [**my_permissions**](docs/AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ | List user permissions
|
91
|
+
*PulpAnsibleClient::AnsibleCollectionsApi* | [**remove_role**](docs/AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ | Remove a role
|
91
92
|
*PulpAnsibleClient::AnsibleCollectionsApi* | [**upload_collection**](docs/AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
92
93
|
*PulpAnsibleClient::AnsibleCopyApi* | [**copy_content**](docs/AnsibleCopyApi.md#copy_content) | **POST** /pulp/api/v3/ansible/copy/ | Copy content
|
93
94
|
*PulpAnsibleClient::ApiCollectionsApi* | [**get**](docs/ApiCollectionsApi.md#get) | **GET** {ansible_collection_href}api/v2/collections/ |
|
@@ -112,15 +113,17 @@ Class | Method | HTTP request | Description
|
|
112
113
|
*PulpAnsibleClient::ContentRolesApi* | [**create**](docs/ContentRolesApi.md#create) | **POST** /pulp/api/v3/content/ansible/roles/ | Create a role
|
113
114
|
*PulpAnsibleClient::ContentRolesApi* | [**list**](docs/ContentRolesApi.md#list) | **GET** /pulp/api/v3/content/ansible/roles/ | List roles
|
114
115
|
*PulpAnsibleClient::ContentRolesApi* | [**read**](docs/ContentRolesApi.md#read) | **GET** {ansible_role_href} | Inspect a role
|
115
|
-
*PulpAnsibleClient::DistributionsAnsibleApi* | [**add_role**](docs/DistributionsAnsibleApi.md#add_role) | **POST** {ansible_ansible_distribution_href}add_role/ |
|
116
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**add_role**](docs/DistributionsAnsibleApi.md#add_role) | **POST** {ansible_ansible_distribution_href}add_role/ | Add a role
|
116
117
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**create**](docs/DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
|
117
118
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**delete**](docs/DistributionsAnsibleApi.md#delete) | **DELETE** {ansible_ansible_distribution_href} | Delete an ansible distribution
|
118
119
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**list**](docs/DistributionsAnsibleApi.md#list) | **GET** /pulp/api/v3/distributions/ansible/ansible/ | List ansible distributions
|
119
|
-
*PulpAnsibleClient::DistributionsAnsibleApi* | [**list_roles**](docs/DistributionsAnsibleApi.md#list_roles) | **GET** {ansible_ansible_distribution_href}list_roles/ |
|
120
|
-
*PulpAnsibleClient::DistributionsAnsibleApi* | [**my_permissions**](docs/DistributionsAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_distribution_href}my_permissions/ |
|
120
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**list_roles**](docs/DistributionsAnsibleApi.md#list_roles) | **GET** {ansible_ansible_distribution_href}list_roles/ | List roles
|
121
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**my_permissions**](docs/DistributionsAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_distribution_href}my_permissions/ | List user permissions
|
121
122
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**partial_update**](docs/DistributionsAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_distribution_href} | Update an ansible distribution
|
122
123
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**read**](docs/DistributionsAnsibleApi.md#read) | **GET** {ansible_ansible_distribution_href} | Inspect an ansible distribution
|
123
|
-
*PulpAnsibleClient::DistributionsAnsibleApi* | [**remove_role**](docs/DistributionsAnsibleApi.md#remove_role) | **POST** {ansible_ansible_distribution_href}remove_role/ |
|
124
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**remove_role**](docs/DistributionsAnsibleApi.md#remove_role) | **POST** {ansible_ansible_distribution_href}remove_role/ | Remove a role
|
125
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**set_label**](docs/DistributionsAnsibleApi.md#set_label) | **POST** {ansible_ansible_distribution_href}set_label/ | Set a label
|
126
|
+
*PulpAnsibleClient::DistributionsAnsibleApi* | [**unset_label**](docs/DistributionsAnsibleApi.md#unset_label) | **POST** {ansible_ansible_distribution_href}unset_label/ | Unset a label
|
124
127
|
*PulpAnsibleClient::DistributionsAnsibleApi* | [**update**](docs/DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
|
125
128
|
*PulpAnsibleClient::GalaxyDetailApi* | [**get**](docs/GalaxyDetailApi.md#get) | **GET** {ansible_collection_href} |
|
126
129
|
*PulpAnsibleClient::PulpAnsibleApiApi* | [**get**](docs/PulpAnsibleApiApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/ |
|
@@ -199,53 +202,61 @@ Class | Method | HTTP request | Description
|
|
199
202
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi* | [**list**](docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
200
203
|
*PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi* | [**rebuild**](docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md#rebuild) | **POST** /pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/ |
|
201
204
|
*PulpAnsibleClient::PulpAnsibleTagsApi* | [**list**](docs/PulpAnsibleTagsApi.md#list) | **GET** /pulp/api/v3/pulp_ansible/tags/ | List tags
|
202
|
-
*PulpAnsibleClient::RemotesCollectionApi* | [**add_role**](docs/RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ |
|
205
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**add_role**](docs/RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ | Add a role
|
203
206
|
*PulpAnsibleClient::RemotesCollectionApi* | [**create**](docs/RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
204
207
|
*PulpAnsibleClient::RemotesCollectionApi* | [**delete**](docs/RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
205
208
|
*PulpAnsibleClient::RemotesCollectionApi* | [**list**](docs/RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes
|
206
|
-
*PulpAnsibleClient::RemotesCollectionApi* | [**list_roles**](docs/RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ |
|
207
|
-
*PulpAnsibleClient::RemotesCollectionApi* | [**my_permissions**](docs/RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ |
|
209
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**list_roles**](docs/RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ | List roles
|
210
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**my_permissions**](docs/RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ | List user permissions
|
208
211
|
*PulpAnsibleClient::RemotesCollectionApi* | [**partial_update**](docs/RemotesCollectionApi.md#partial_update) | **PATCH** {ansible_collection_remote_href} | Update a collection remote
|
209
212
|
*PulpAnsibleClient::RemotesCollectionApi* | [**read**](docs/RemotesCollectionApi.md#read) | **GET** {ansible_collection_remote_href} | Inspect a collection remote
|
210
|
-
*PulpAnsibleClient::RemotesCollectionApi* | [**remove_role**](docs/RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ |
|
213
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**remove_role**](docs/RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ | Remove a role
|
214
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**set_label**](docs/RemotesCollectionApi.md#set_label) | **POST** {ansible_collection_remote_href}set_label/ | Set a label
|
215
|
+
*PulpAnsibleClient::RemotesCollectionApi* | [**unset_label**](docs/RemotesCollectionApi.md#unset_label) | **POST** {ansible_collection_remote_href}unset_label/ | Unset a label
|
211
216
|
*PulpAnsibleClient::RemotesCollectionApi* | [**update**](docs/RemotesCollectionApi.md#update) | **PUT** {ansible_collection_remote_href} | Update a collection remote
|
212
|
-
*PulpAnsibleClient::RemotesGitApi* | [**add_role**](docs/RemotesGitApi.md#add_role) | **POST** {ansible_git_remote_href}add_role/ |
|
217
|
+
*PulpAnsibleClient::RemotesGitApi* | [**add_role**](docs/RemotesGitApi.md#add_role) | **POST** {ansible_git_remote_href}add_role/ | Add a role
|
213
218
|
*PulpAnsibleClient::RemotesGitApi* | [**create**](docs/RemotesGitApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/git/ | Create a git remote
|
214
219
|
*PulpAnsibleClient::RemotesGitApi* | [**delete**](docs/RemotesGitApi.md#delete) | **DELETE** {ansible_git_remote_href} | Delete a git remote
|
215
220
|
*PulpAnsibleClient::RemotesGitApi* | [**list**](docs/RemotesGitApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/git/ | List git remotes
|
216
|
-
*PulpAnsibleClient::RemotesGitApi* | [**list_roles**](docs/RemotesGitApi.md#list_roles) | **GET** {ansible_git_remote_href}list_roles/ |
|
217
|
-
*PulpAnsibleClient::RemotesGitApi* | [**my_permissions**](docs/RemotesGitApi.md#my_permissions) | **GET** {ansible_git_remote_href}my_permissions/ |
|
221
|
+
*PulpAnsibleClient::RemotesGitApi* | [**list_roles**](docs/RemotesGitApi.md#list_roles) | **GET** {ansible_git_remote_href}list_roles/ | List roles
|
222
|
+
*PulpAnsibleClient::RemotesGitApi* | [**my_permissions**](docs/RemotesGitApi.md#my_permissions) | **GET** {ansible_git_remote_href}my_permissions/ | List user permissions
|
218
223
|
*PulpAnsibleClient::RemotesGitApi* | [**partial_update**](docs/RemotesGitApi.md#partial_update) | **PATCH** {ansible_git_remote_href} | Update a git remote
|
219
224
|
*PulpAnsibleClient::RemotesGitApi* | [**read**](docs/RemotesGitApi.md#read) | **GET** {ansible_git_remote_href} | Inspect a git remote
|
220
|
-
*PulpAnsibleClient::RemotesGitApi* | [**remove_role**](docs/RemotesGitApi.md#remove_role) | **POST** {ansible_git_remote_href}remove_role/ |
|
225
|
+
*PulpAnsibleClient::RemotesGitApi* | [**remove_role**](docs/RemotesGitApi.md#remove_role) | **POST** {ansible_git_remote_href}remove_role/ | Remove a role
|
226
|
+
*PulpAnsibleClient::RemotesGitApi* | [**set_label**](docs/RemotesGitApi.md#set_label) | **POST** {ansible_git_remote_href}set_label/ | Set a label
|
227
|
+
*PulpAnsibleClient::RemotesGitApi* | [**unset_label**](docs/RemotesGitApi.md#unset_label) | **POST** {ansible_git_remote_href}unset_label/ | Unset a label
|
221
228
|
*PulpAnsibleClient::RemotesGitApi* | [**update**](docs/RemotesGitApi.md#update) | **PUT** {ansible_git_remote_href} | Update a git remote
|
222
|
-
*PulpAnsibleClient::RemotesRoleApi* | [**add_role**](docs/RemotesRoleApi.md#add_role) | **POST** {ansible_role_remote_href}add_role/ |
|
229
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**add_role**](docs/RemotesRoleApi.md#add_role) | **POST** {ansible_role_remote_href}add_role/ | Add a role
|
223
230
|
*PulpAnsibleClient::RemotesRoleApi* | [**create**](docs/RemotesRoleApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/role/ | Create a role remote
|
224
231
|
*PulpAnsibleClient::RemotesRoleApi* | [**delete**](docs/RemotesRoleApi.md#delete) | **DELETE** {ansible_role_remote_href} | Delete a role remote
|
225
232
|
*PulpAnsibleClient::RemotesRoleApi* | [**list**](docs/RemotesRoleApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/role/ | List role remotes
|
226
|
-
*PulpAnsibleClient::RemotesRoleApi* | [**list_roles**](docs/RemotesRoleApi.md#list_roles) | **GET** {ansible_role_remote_href}list_roles/ |
|
227
|
-
*PulpAnsibleClient::RemotesRoleApi* | [**my_permissions**](docs/RemotesRoleApi.md#my_permissions) | **GET** {ansible_role_remote_href}my_permissions/ |
|
233
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**list_roles**](docs/RemotesRoleApi.md#list_roles) | **GET** {ansible_role_remote_href}list_roles/ | List roles
|
234
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**my_permissions**](docs/RemotesRoleApi.md#my_permissions) | **GET** {ansible_role_remote_href}my_permissions/ | List user permissions
|
228
235
|
*PulpAnsibleClient::RemotesRoleApi* | [**partial_update**](docs/RemotesRoleApi.md#partial_update) | **PATCH** {ansible_role_remote_href} | Update a role remote
|
229
236
|
*PulpAnsibleClient::RemotesRoleApi* | [**read**](docs/RemotesRoleApi.md#read) | **GET** {ansible_role_remote_href} | Inspect a role remote
|
230
|
-
*PulpAnsibleClient::RemotesRoleApi* | [**remove_role**](docs/RemotesRoleApi.md#remove_role) | **POST** {ansible_role_remote_href}remove_role/ |
|
237
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**remove_role**](docs/RemotesRoleApi.md#remove_role) | **POST** {ansible_role_remote_href}remove_role/ | Remove a role
|
238
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**set_label**](docs/RemotesRoleApi.md#set_label) | **POST** {ansible_role_remote_href}set_label/ | Set a label
|
239
|
+
*PulpAnsibleClient::RemotesRoleApi* | [**unset_label**](docs/RemotesRoleApi.md#unset_label) | **POST** {ansible_role_remote_href}unset_label/ | Unset a label
|
231
240
|
*PulpAnsibleClient::RemotesRoleApi* | [**update**](docs/RemotesRoleApi.md#update) | **PUT** {ansible_role_remote_href} | Update a role remote
|
232
|
-
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**add_role**](docs/RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ |
|
241
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**add_role**](docs/RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ | Add a role
|
233
242
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**copy_collection_version**](docs/RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ |
|
234
243
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**create**](docs/RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
|
235
244
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**delete**](docs/RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository
|
236
245
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**list**](docs/RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
|
237
|
-
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**list_roles**](docs/RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ |
|
246
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**list_roles**](docs/RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ | List roles
|
238
247
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**mark**](docs/RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ |
|
239
248
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**modify**](docs/RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
240
249
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**move_collection_version**](docs/RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ |
|
241
|
-
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**my_permissions**](docs/RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ |
|
250
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**my_permissions**](docs/RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ | List user permissions
|
242
251
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**partial_update**](docs/RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
243
252
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**read**](docs/RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
244
253
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**rebuild_metadata**](docs/RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ |
|
245
|
-
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**remove_role**](docs/RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ |
|
254
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**remove_role**](docs/RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ | Remove a role
|
255
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**set_label**](docs/RepositoriesAnsibleApi.md#set_label) | **POST** {ansible_ansible_repository_href}set_label/ | Set a label
|
246
256
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**sign**](docs/RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
247
257
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**sync**](docs/RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
248
258
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**unmark**](docs/RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ |
|
259
|
+
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**unset_label**](docs/RepositoriesAnsibleApi.md#unset_label) | **POST** {ansible_ansible_repository_href}unset_label/ | Unset a label
|
249
260
|
*PulpAnsibleClient::RepositoriesAnsibleApi* | [**update**](docs/RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
250
261
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**delete**](docs/RepositoriesAnsibleVersionsApi.md#delete) | **DELETE** {ansible_ansible_repository_version_href} | Delete a repository version
|
251
262
|
*PulpAnsibleClient::RepositoriesAnsibleVersionsApi* | [**list**](docs/RepositoriesAnsibleVersionsApi.md#list) | **GET** {ansible_ansible_repository_href}versions/ | List repository versions
|
@@ -351,10 +362,14 @@ Class | Method | HTTP request | Description
|
|
351
362
|
- [PulpAnsibleClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
352
363
|
- [PulpAnsibleClient::RepositoryResponse](docs/RepositoryResponse.md)
|
353
364
|
- [PulpAnsibleClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
365
|
+
- [PulpAnsibleClient::SetLabel](docs/SetLabel.md)
|
366
|
+
- [PulpAnsibleClient::SetLabelResponse](docs/SetLabelResponse.md)
|
354
367
|
- [PulpAnsibleClient::TagResponse](docs/TagResponse.md)
|
355
368
|
- [PulpAnsibleClient::Task](docs/Task.md)
|
356
369
|
- [PulpAnsibleClient::TaskResponse](docs/TaskResponse.md)
|
357
370
|
- [PulpAnsibleClient::UnpaginatedCollectionVersionResponse](docs/UnpaginatedCollectionVersionResponse.md)
|
371
|
+
- [PulpAnsibleClient::UnsetLabel](docs/UnsetLabel.md)
|
372
|
+
- [PulpAnsibleClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
358
373
|
|
359
374
|
|
360
375
|
## Documentation for Authorization
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
9
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
10
7
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
9
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**expected_name** | **String** | The name of the collection. | [optional]
|
12
12
|
**expected_namespace** | **String** | The namespace of the collection. | [optional]
|
13
13
|
**expected_version** | **String** | The version of the collection. | [optional]
|
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpAnsibleClient'
|
19
19
|
|
20
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(
|
21
|
-
file: null,
|
20
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(artifact: null,
|
22
21
|
upload: null,
|
23
|
-
|
22
|
+
file: null,
|
23
|
+
repository: null,
|
24
24
|
expected_name: null,
|
25
25
|
expected_namespace: null,
|
26
26
|
expected_version: null)
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**sha256** | **String** | The SHA-256 checksum if available. | [optional] [readonly]
|
11
11
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
12
12
|
**sha1** | **String** | The SHA-1 checksum if available. | [optional] [readonly]
|
@@ -37,9 +37,9 @@ Name | Type | Description | Notes
|
|
37
37
|
```ruby
|
38
38
|
require 'PulpAnsibleClient'
|
39
39
|
|
40
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(
|
41
|
-
pulp_created: null,
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_created: null,
|
42
41
|
artifact: null,
|
42
|
+
pulp_href: null,
|
43
43
|
sha256: null,
|
44
44
|
md5: null,
|
45
45
|
sha1: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. |
|
8
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
|
+
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. |
|
9
9
|
**signed_collection** | **String** | The content this signature is pointing to. |
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
13
13
|
```ruby
|
14
14
|
require 'PulpAnsibleClient'
|
15
15
|
|
16
|
-
instance = PulpAnsibleClient::AnsibleCollectionVersionSignature.new(
|
17
|
-
|
16
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionSignature.new(repository: null,
|
17
|
+
file: null,
|
18
18
|
signed_collection: null)
|
19
19
|
```
|
20
20
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# PulpAnsibleClient::AnsibleCollectionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](AnsibleCollectionsApi.md#add_role) | **POST** {ansible_collection_href}add_role/ |
|
7
|
+
[**add_role**](AnsibleCollectionsApi.md#add_role) | **POST** {ansible_collection_href}add_role/ | Add a role
|
8
8
|
[**list**](AnsibleCollectionsApi.md#list) | **GET** /pulp/api/v3/ansible/collections/ | List collections
|
9
|
-
[**list_roles**](AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ |
|
10
|
-
[**my_permissions**](AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ |
|
11
|
-
[**remove_role**](AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ |
|
9
|
+
[**list_roles**](AnsibleCollectionsApi.md#list_roles) | **GET** {ansible_collection_href}list_roles/ | List roles
|
10
|
+
[**my_permissions**](AnsibleCollectionsApi.md#my_permissions) | **GET** {ansible_collection_href}my_permissions/ | List user permissions
|
11
|
+
[**remove_role**](AnsibleCollectionsApi.md#remove_role) | **POST** {ansible_collection_href}remove_role/ | Remove a role
|
12
12
|
[**upload_collection**](AnsibleCollectionsApi.md#upload_collection) | **POST** /ansible/collections/ | Upload a collection
|
13
13
|
|
14
14
|
|
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
> NestedRoleResponse add_role(ansible_collection_href, nested_role)
|
19
19
|
|
20
|
-
|
20
|
+
Add a role
|
21
21
|
|
22
22
|
Add a role for this object to users/groups.
|
23
23
|
|
@@ -38,6 +38,7 @@ ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
38
38
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
39
39
|
|
40
40
|
begin
|
41
|
+
#Add a role
|
41
42
|
result = api_instance.add_role(ansible_collection_href, nested_role)
|
42
43
|
p result
|
43
44
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -96,6 +97,7 @@ opts = {
|
|
96
97
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
97
98
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
98
99
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
100
|
+
q: 'q_example', # String |
|
99
101
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
100
102
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
101
103
|
}
|
@@ -121,6 +123,7 @@ Name | Type | Description | Notes
|
|
121
123
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
122
124
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
123
125
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
126
|
+
**q** | **String**| | [optional]
|
124
127
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
125
128
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
126
129
|
|
@@ -142,7 +145,7 @@ Name | Type | Description | Notes
|
|
142
145
|
|
143
146
|
> ObjectRolesResponse list_roles(ansible_collection_href, opts)
|
144
147
|
|
145
|
-
|
148
|
+
List roles
|
146
149
|
|
147
150
|
List roles assigned to this object.
|
148
151
|
|
@@ -166,6 +169,7 @@ opts = {
|
|
166
169
|
}
|
167
170
|
|
168
171
|
begin
|
172
|
+
#List roles
|
169
173
|
result = api_instance.list_roles(ansible_collection_href, opts)
|
170
174
|
p result
|
171
175
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -200,7 +204,7 @@ Name | Type | Description | Notes
|
|
200
204
|
|
201
205
|
> MyPermissionsResponse my_permissions(ansible_collection_href, opts)
|
202
206
|
|
203
|
-
|
207
|
+
List user permissions
|
204
208
|
|
205
209
|
List permissions available to the current user on this object.
|
206
210
|
|
@@ -224,6 +228,7 @@ opts = {
|
|
224
228
|
}
|
225
229
|
|
226
230
|
begin
|
231
|
+
#List user permissions
|
227
232
|
result = api_instance.my_permissions(ansible_collection_href, opts)
|
228
233
|
p result
|
229
234
|
rescue PulpAnsibleClient::ApiError => e
|
@@ -258,7 +263,7 @@ Name | Type | Description | Notes
|
|
258
263
|
|
259
264
|
> NestedRoleResponse remove_role(ansible_collection_href, nested_role)
|
260
265
|
|
261
|
-
|
266
|
+
Remove a role
|
262
267
|
|
263
268
|
Remove a role for this object from users/groups.
|
264
269
|
|
@@ -279,6 +284,7 @@ ansible_collection_href = 'ansible_collection_href_example' # String |
|
|
279
284
|
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
280
285
|
|
281
286
|
begin
|
287
|
+
#Remove a role
|
282
288
|
result = api_instance.remove_role(ansible_collection_href, nested_role)
|
283
289
|
p result
|
284
290
|
rescue PulpAnsibleClient::ApiError => e
|
data/docs/AnsibleCopyApi.md
CHANGED
data/docs/AnsibleGitRemote.md
CHANGED
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
8
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
9
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
|
-
**name** | **String** | A unique name for this remote. |
|
11
9
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
|
-
**
|
14
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
15
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
16
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
17
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
20
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
13
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
21
14
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
22
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
23
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
24
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
25
17
|
**url** | **String** | The URL of an external content source. |
|
26
18
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
19
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
20
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
21
|
+
**name** | **String** | A unique name for this remote. |
|
22
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
23
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
24
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
25
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
26
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::AnsibleGitRemote.new(
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(sock_read_timeout: null,
|
36
36
|
sock_connect_timeout: null,
|
37
|
-
rate_limit: null,
|
38
|
-
name: null,
|
39
37
|
connect_timeout: null,
|
38
|
+
ca_cert: null,
|
39
|
+
proxy_url: null,
|
40
40
|
tls_validation: null,
|
41
|
-
|
42
|
-
headers: null,
|
43
|
-
client_key: null,
|
44
|
-
proxy_username: null,
|
45
|
-
download_concurrency: null,
|
46
|
-
pulp_labels: null,
|
47
|
-
sock_read_timeout: null,
|
48
|
-
max_retries: null,
|
41
|
+
proxy_password: null,
|
49
42
|
total_timeout: null,
|
43
|
+
pulp_labels: null,
|
50
44
|
username: null,
|
51
|
-
ca_cert: null,
|
52
|
-
proxy_url: null,
|
53
45
|
url: null,
|
54
46
|
password: null,
|
47
|
+
client_key: null,
|
48
|
+
download_concurrency: null,
|
49
|
+
name: null,
|
50
|
+
client_cert: null,
|
51
|
+
rate_limit: null,
|
52
|
+
proxy_username: null,
|
53
|
+
headers: null,
|
54
|
+
max_retries: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
@@ -4,25 +4,25 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
7
9
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
8
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
9
|
-
**name** | **String** | A unique name for this remote. |
|
10
10
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
11
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
12
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
13
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
11
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
12
|
-
**
|
13
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
14
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
15
|
+
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
16
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
|
-
**
|
17
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
|
+
**url** | **String** | The URL of an external content source. |
|
18
18
|
**pulp_href** | **String** | | [optional] [readonly]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**name** | **String** | A unique name for this remote. |
|
21
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
22
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
23
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
19
24
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
|
-
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
22
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
23
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
24
25
|
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
25
|
-
**url** | **String** | The URL of an external content source. |
|
26
26
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
27
27
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
28
28
|
|
@@ -31,25 +31,25 @@ Name | Type | Description | Notes
|
|
31
31
|
```ruby
|
32
32
|
require 'PulpAnsibleClient'
|
33
33
|
|
34
|
-
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(
|
35
|
-
|
36
|
-
|
34
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_created: null,
|
35
|
+
sock_read_timeout: null,
|
36
|
+
sock_connect_timeout: null,
|
37
37
|
connect_timeout: null,
|
38
|
+
ca_cert: null,
|
39
|
+
proxy_url: null,
|
40
|
+
pulp_last_updated: null,
|
38
41
|
tls_validation: null,
|
39
|
-
|
40
|
-
headers: null,
|
41
|
-
download_concurrency: null,
|
42
|
+
total_timeout: null,
|
42
43
|
pulp_labels: null,
|
43
|
-
|
44
|
-
sock_read_timeout: null,
|
44
|
+
url: null,
|
45
45
|
pulp_href: null,
|
46
|
+
download_concurrency: null,
|
47
|
+
name: null,
|
48
|
+
client_cert: null,
|
49
|
+
rate_limit: null,
|
50
|
+
headers: null,
|
46
51
|
max_retries: null,
|
47
|
-
total_timeout: null,
|
48
|
-
pulp_created: null,
|
49
|
-
ca_cert: null,
|
50
|
-
proxy_url: null,
|
51
52
|
hidden_fields: null,
|
52
|
-
url: null,
|
53
53
|
metadata_only: null,
|
54
54
|
git_ref: null)
|
55
55
|
```
|
data/docs/AnsibleRole.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
8
9
|
**version** | **String** | |
|
9
10
|
**name** | **String** | |
|
10
11
|
**namespace** | **String** | |
|
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
|
|
15
16
|
require 'PulpAnsibleClient'
|
16
17
|
|
17
18
|
instance = PulpAnsibleClient::AnsibleRole.new(artifact: null,
|
19
|
+
repository: null,
|
18
20
|
version: null,
|
19
21
|
name: null,
|
20
22
|
namespace: null)
|
data/docs/AnsibleRoleResponse.md
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
9
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
9
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
10
10
|
**version** | **String** | |
|
11
11
|
**name** | **String** | |
|
12
12
|
**namespace** | **String** | |
|
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
require 'PulpAnsibleClient'
|
18
18
|
|
19
19
|
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_created: null,
|
20
|
-
pulp_href: null,
|
21
20
|
artifact: null,
|
21
|
+
pulp_href: null,
|
22
22
|
version: null,
|
23
23
|
name: null,
|
24
24
|
namespace: null)
|
data/docs/ApiCollectionsApi.md
CHANGED
data/docs/ApiRolesApi.md
CHANGED