pulp_ansible_client 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +23 -23
- data/docs/AnsibleGitRemoteResponse.md +21 -21
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- 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 +3 -3
- 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 +23 -23
- 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 +3 -3
- 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 +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +203 -203
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +111 -111
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- 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 +198 -198
- 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 +1 -1
- 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_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- 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: c8d42d3a81963bc7b190ef606f7b38c0f0813667bbf752a871080d1e1a6e181b
|
|
4
|
+
data.tar.gz: e3187a88c6e60d495dfdd77a5542c18a3fb910bf3a01b17c03b9f981624f29df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c5ee79c0a88de9a3da372d0e1129aa9ba9b2633e6598e8330557b93dbcc2e7ae788560baa9925ee257116cae8e23f95263c59eeaf81e2bc695a5e18e06311a0
|
|
7
|
+
data.tar.gz: 84dee54c7195c7d62e47bbdcea437514ed554f83382593a772ee08e16a797510fdfbc3088470a6b2ddc416ab591372a95319a2fe7938435b3ceb115454702188
|
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.0
|
|
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.0.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.0.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.0'
|
|
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
|
|
|
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
|
8
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
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
|
10
|
+
**artifact** | **String** | Artifact file representing the physical content | [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]
|
|
@@ -19,8 +19,8 @@ require 'PulpAnsibleClient'
|
|
|
19
19
|
|
|
20
20
|
instance = PulpAnsibleClient::AnsibleCollectionVersion.new(upload: null,
|
|
21
21
|
repository: null,
|
|
22
|
-
artifact: null,
|
|
23
22
|
file: null,
|
|
23
|
+
artifact: 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]
|
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
9
|
**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(
|
|
40
|
+
instance = PulpAnsibleClient::AnsibleCollectionVersionResponse.new(pulp_href: null,
|
|
41
|
+
pulp_created: null,
|
|
41
42
|
artifact: null,
|
|
42
|
-
pulp_href: null,
|
|
43
43
|
sha256: null,
|
|
44
44
|
md5: null,
|
|
45
45
|
sha1: 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
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
7
8
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
8
9
|
**name** | **String** | A unique name for this remote. |
|
|
9
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
10
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
11
10
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
|
12
|
-
**
|
|
11
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
12
|
+
**url** | **String** | The URL of an external content source. |
|
|
13
13
|
**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]
|
|
14
|
+
**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]
|
|
15
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
14
16
|
**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
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
17
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
17
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
18
|
-
**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
19
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
21
|
-
**
|
|
22
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
|
23
|
-
**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
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
24
21
|
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
22
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
|
23
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
|
24
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
|
25
|
+
**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
26
|
**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(
|
|
35
|
+
instance = PulpAnsibleClient::AnsibleGitRemote.new(rate_limit: null,
|
|
36
|
+
download_concurrency: null,
|
|
36
37
|
name: null,
|
|
37
|
-
rate_limit: null,
|
|
38
|
-
ca_cert: null,
|
|
39
38
|
proxy_url: null,
|
|
40
|
-
|
|
39
|
+
max_retries: null,
|
|
40
|
+
url: null,
|
|
41
41
|
sock_connect_timeout: null,
|
|
42
|
+
connect_timeout: null,
|
|
43
|
+
client_key: null,
|
|
42
44
|
total_timeout: null,
|
|
43
|
-
|
|
44
|
-
username: null,
|
|
45
|
+
ca_cert: null,
|
|
45
46
|
pulp_labels: null,
|
|
46
|
-
connect_timeout: null,
|
|
47
|
-
password: null,
|
|
48
47
|
headers: null,
|
|
49
|
-
|
|
50
|
-
client_key: null,
|
|
51
|
-
max_retries: null,
|
|
48
|
+
client_cert: null,
|
|
52
49
|
proxy_password: null,
|
|
50
|
+
username: null,
|
|
51
|
+
password: null,
|
|
52
|
+
proxy_username: null,
|
|
53
|
+
sock_read_timeout: null,
|
|
53
54
|
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
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
7
8
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
|
8
9
|
**name** | **String** | A unique name for this remote. |
|
|
9
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
|
10
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
11
10
|
**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]
|
|
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]
|
|
11
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
16
12
|
**url** | **String** | The URL of an external content source. |
|
|
13
|
+
**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]
|
|
14
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
|
17
15
|
**hidden_fields** | [**Array<AnsibleCollectionRemoteResponseHiddenFields>**](AnsibleCollectionRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
18
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
19
|
-
**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
16
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
17
|
+
**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]
|
|
18
|
+
**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]
|
|
19
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
|
20
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
21
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
21
22
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
|
23
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
|
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
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
|
24
25
|
**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]
|
|
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(
|
|
34
|
+
instance = PulpAnsibleClient::AnsibleGitRemoteResponse.new(rate_limit: null,
|
|
35
|
+
download_concurrency: null,
|
|
35
36
|
name: null,
|
|
36
|
-
rate_limit: null,
|
|
37
|
-
ca_cert: null,
|
|
38
37
|
proxy_url: null,
|
|
39
|
-
|
|
40
|
-
pulp_last_updated: null,
|
|
41
|
-
sock_connect_timeout: null,
|
|
42
|
-
total_timeout: null,
|
|
38
|
+
max_retries: null,
|
|
43
39
|
url: null,
|
|
40
|
+
sock_connect_timeout: null,
|
|
41
|
+
pulp_last_updated: null,
|
|
44
42
|
hidden_fields: null,
|
|
45
|
-
pulp_labels: null,
|
|
46
|
-
connect_timeout: null,
|
|
47
43
|
pulp_created: null,
|
|
44
|
+
connect_timeout: null,
|
|
45
|
+
total_timeout: null,
|
|
46
|
+
ca_cert: null,
|
|
47
|
+
pulp_labels: null,
|
|
48
|
+
pulp_href: null,
|
|
48
49
|
headers: null,
|
|
50
|
+
client_cert: null,
|
|
49
51
|
sock_read_timeout: null,
|
|
50
|
-
max_retries: null,
|
|
51
52
|
tls_validation: null,
|
|
52
|
-
client_cert: null,
|
|
53
53
|
metadata_only: null,
|
|
54
54
|
git_ref: null)
|
|
55
55
|
```
|
data/docs/AnsibleRole.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
|
8
7
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
|
8
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
9
9
|
**version** | **String** | |
|
|
10
10
|
**name** | **String** | |
|
|
11
11
|
**namespace** | **String** | |
|
|
@@ -15,8 +15,8 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpAnsibleClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpAnsibleClient::AnsibleRole.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpAnsibleClient::AnsibleRole.new(repository: null,
|
|
19
|
+
artifact: null,
|
|
20
20
|
version: null,
|
|
21
21
|
name: null,
|
|
22
22
|
namespace: null)
|
data/docs/AnsibleRoleResponse.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**artifact** | **String** | Artifact file representing the physical content |
|
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
|
+
**artifact** | **String** | Artifact file representing the physical content |
|
|
10
10
|
**version** | **String** | |
|
|
11
11
|
**name** | **String** | |
|
|
12
12
|
**namespace** | **String** | |
|
|
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
|
|
|
16
16
|
```ruby
|
|
17
17
|
require 'PulpAnsibleClient'
|
|
18
18
|
|
|
19
|
-
instance = PulpAnsibleClient::AnsibleRoleResponse.new(
|
|
19
|
+
instance = PulpAnsibleClient::AnsibleRoleResponse.new(pulp_href: null,
|
|
20
20
|
pulp_created: null,
|
|
21
|
-
|
|
21
|
+
artifact: null,
|
|
22
22
|
version: null,
|
|
23
23
|
name: null,
|
|
24
24
|
namespace: null)
|
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** | |
|