pulp_ansible_client 0.19.0 → 0.20.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 -32
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.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 +136 -10
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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 +136 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- 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 +163 -0
- 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 +163 -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_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +195 -195
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → set_label.rb} +52 -59
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/{task.rb → unset_label.rb} +31 -55
- 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 -3
- 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 +35 -0
- 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 +35 -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_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/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/{task_spec.rb → set_label_spec.rb} +8 -8
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +147 -143
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/task_response_spec.rb +0 -131
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 947052884724c6cfff7e50f9d14b2bab7e5ea66ba549c698f843013dbcac3216
|
4
|
+
data.tar.gz: bd33bb37bd7a5e5362f22c14b0704a9097a2207d9234231574bb14611424760d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffdad17cf93b03578397ccfe3e0ddb059ae00960d54ccd5e78aa92961b4d91ffd9f012de05f209bd0775299eb57d5d0ced1f2c8717e1a88459a788c84628a2a0
|
7
|
+
data.tar.gz: c5e3e08fac00071a34d01bdb042fa6cad2b458401f29c489d9bf80bf5249fcc0a2528db481f42e3597411d3ac913cdf70a5dd1b85a1e199f32e835edb337e5fc
|
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.20.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.20.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.20.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.20.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
|
@@ -346,17 +357,18 @@ Class | Method | HTTP request | Description
|
|
346
357
|
- [PulpAnsibleClient::PatchedansibleGitRemote](docs/PatchedansibleGitRemote.md)
|
347
358
|
- [PulpAnsibleClient::PatchedansibleRoleRemote](docs/PatchedansibleRoleRemote.md)
|
348
359
|
- [PulpAnsibleClient::PolicyEnum](docs/PolicyEnum.md)
|
349
|
-
- [PulpAnsibleClient::ProgressReportResponse](docs/ProgressReportResponse.md)
|
350
360
|
- [PulpAnsibleClient::Repair](docs/Repair.md)
|
351
361
|
- [PulpAnsibleClient::RepoMetadataResponse](docs/RepoMetadataResponse.md)
|
352
362
|
- [PulpAnsibleClient::Repository](docs/Repository.md)
|
353
363
|
- [PulpAnsibleClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
354
364
|
- [PulpAnsibleClient::RepositoryResponse](docs/RepositoryResponse.md)
|
355
365
|
- [PulpAnsibleClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
366
|
+
- [PulpAnsibleClient::SetLabel](docs/SetLabel.md)
|
367
|
+
- [PulpAnsibleClient::SetLabelResponse](docs/SetLabelResponse.md)
|
356
368
|
- [PulpAnsibleClient::TagResponse](docs/TagResponse.md)
|
357
|
-
- [PulpAnsibleClient::Task](docs/Task.md)
|
358
|
-
- [PulpAnsibleClient::TaskResponse](docs/TaskResponse.md)
|
359
369
|
- [PulpAnsibleClient::UnpaginatedCollectionVersionResponse](docs/UnpaginatedCollectionVersionResponse.md)
|
370
|
+
- [PulpAnsibleClient::UnsetLabel](docs/UnsetLabel.md)
|
371
|
+
- [PulpAnsibleClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
360
372
|
|
361
373
|
|
362
374
|
## Documentation for Authorization
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
16
|
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
17
17
|
**gpgkey** | **String** | Gpg public key to verify collection signatures against | [optional]
|
18
|
-
**last_sync_task** |
|
18
|
+
**last_sync_task** | **String** | | [optional] [readonly]
|
19
19
|
**private** | **Boolean** | | [optional]
|
20
20
|
|
21
21
|
## Code Sample
|
@@ -28,7 +28,7 @@ Name | Type | Description | Notes
|
|
28
28
|
**auth_url** | **String** | The URL to receive a session token from, e.g. used with Automation Hub. | [optional]
|
29
29
|
**sync_dependencies** | **Boolean** | Sync dependencies for collections specified via requirements file | [optional] [default to true]
|
30
30
|
**signed_only** | **Boolean** | Sync only collections that have a signature | [optional] [default to false]
|
31
|
-
**last_sync_task** |
|
31
|
+
**last_sync_task** | **String** | | [optional] [readonly]
|
32
32
|
|
33
33
|
## Code Sample
|
34
34
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
8
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
9
|
-
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
7
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
9
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
10
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [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
|
-
repository: null,
|
20
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(file: null,
|
22
21
|
artifact: null,
|
23
|
-
|
22
|
+
repository: null,
|
23
|
+
upload: null,
|
24
24
|
expected_name: null,
|
25
25
|
expected_namespace: null,
|
26
26
|
expected_version: null)
|
@@ -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
|
-
**
|
8
|
-
**
|
7
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
8
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
9
9
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
10
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
12
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
12
|
-
**
|
13
|
-
**
|
13
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
14
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
14
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]
|
16
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
17
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
19
|
**url** | **String** | The URL of an external content source. |
|
16
|
-
**
|
17
|
-
**
|
20
|
+
**name** | **String** | A unique name for this remote. |
|
21
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
18
22
|
**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]
|
19
|
-
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
20
|
-
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
21
|
-
**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]
|
22
23
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
23
|
-
**
|
24
|
+
**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]
|
25
|
+
**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]
|
24
26
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
25
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
26
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [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(
|
36
|
-
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(client_cert: null,
|
36
|
+
password: null,
|
37
37
|
rate_limit: null,
|
38
38
|
ca_cert: null,
|
39
|
+
pulp_labels: null,
|
39
40
|
proxy_url: null,
|
40
|
-
|
41
|
-
|
41
|
+
username: null,
|
42
|
+
max_retries: null,
|
42
43
|
total_timeout: null,
|
44
|
+
headers: null,
|
45
|
+
download_concurrency: null,
|
46
|
+
proxy_username: null,
|
43
47
|
url: null,
|
44
|
-
|
45
|
-
|
48
|
+
name: null,
|
49
|
+
tls_validation: null,
|
46
50
|
connect_timeout: null,
|
47
|
-
password: null,
|
48
|
-
headers: null,
|
49
|
-
sock_read_timeout: null,
|
50
51
|
client_key: null,
|
51
|
-
|
52
|
+
sock_read_timeout: null,
|
53
|
+
sock_connect_timeout: null,
|
52
54
|
proxy_password: null,
|
53
|
-
tls_validation: null,
|
54
|
-
client_cert: 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
|
-
**
|
8
|
-
**
|
7
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
8
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
9
9
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
10
10
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
12
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
12
|
-
**
|
13
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
14
|
-
**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]
|
13
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
15
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
|
+
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
16
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
16
17
|
**url** | **String** | The URL of an external content source. |
|
17
|
-
**
|
18
|
-
**
|
18
|
+
**name** | **String** | A unique name for this remote. |
|
19
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
19
20
|
**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]
|
20
21
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
21
|
-
**
|
22
|
+
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
23
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
22
24
|
**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]
|
23
|
-
**
|
24
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
25
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
25
|
+
**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]
|
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
|
-
|
34
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(pulp_last_updated: null,
|
35
|
+
client_cert: null,
|
36
36
|
rate_limit: null,
|
37
37
|
ca_cert: null,
|
38
|
+
pulp_labels: null,
|
38
39
|
proxy_url: null,
|
39
|
-
|
40
|
-
pulp_last_updated: null,
|
41
|
-
sock_connect_timeout: null,
|
40
|
+
max_retries: null,
|
42
41
|
total_timeout: null,
|
42
|
+
headers: null,
|
43
|
+
download_concurrency: null,
|
43
44
|
url: null,
|
44
|
-
|
45
|
-
|
45
|
+
name: null,
|
46
|
+
tls_validation: null,
|
46
47
|
connect_timeout: null,
|
47
48
|
pulp_created: null,
|
48
|
-
|
49
|
+
hidden_fields: null,
|
50
|
+
pulp_href: null,
|
49
51
|
sock_read_timeout: null,
|
50
|
-
|
51
|
-
tls_validation: null,
|
52
|
-
client_cert: null,
|
52
|
+
sock_connect_timeout: null,
|
53
53
|
metadata_only: null,
|
54
54
|
git_ref: null)
|
55
55
|
```
|
data/docs/ApiCollectionsApi.md
CHANGED
data/docs/ApiRolesApi.md
CHANGED
data/docs/CollectionImportApi.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**version** | **String** | |
|
7
|
+
**version** | **String** | |
|
8
8
|
**href** | **String** | Get href. | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**version** | **String** | |
|
7
|
+
**version** | **String** | |
|
8
8
|
**href** | **String** | Get href. | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpAnsibleClient::ContentCollectionDeprecationsApi
|
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
|
------------- | ------------- | -------------
|
@@ -90,6 +90,7 @@ opts = {
|
|
90
90
|
ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
91
91
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
92
92
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
93
|
+
q: 'q_example', # String |
|
93
94
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
95
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
95
96
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -116,6 +117,7 @@ Name | Type | Description | Notes
|
|
116
117
|
**ordering** | [**Array<String>**](String.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
117
118
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
118
119
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
120
|
+
**q** | **String**| | [optional]
|
119
121
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
122
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
121
123
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|