pulp_ansible_client 0.12.1 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +52 -5
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionVersionSignature.md +21 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionVersionListResponse.md +25 -0
- data/docs/ContentCollectionSignaturesApi.md +64 -4
- data/docs/KeyringEnum.md +16 -0
- data/docs/{PaginatedCollectionVersionResponseList.md → PaginatedCollectionVersionListResponseList.md} +3 -3
- data/docs/PatchedansibleAnsibleRepository.md +3 -1
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/PulpAnsibleApiV3Api.md +8 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +68 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +8 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +8 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +81 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +77 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +8 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +75 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +69 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +69 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +70 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +264 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +223 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +75 -0
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +205 -1
- data/docs/PulpAnsibleDefaultApiApi.md +50 -0
- data/docs/PulpAnsibleDefaultApiV3Api.md +57 -0
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +68 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +57 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +71 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +248 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +211 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +71 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +73 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +67 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +67 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +68 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +256 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +217 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +73 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +79 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +81 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +87 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +103 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +94 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +94 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +98 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +357 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +313 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +112 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +298 -1
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +74 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +76 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +76 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +91 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +309 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +277 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +100 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +97 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +88 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +92 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +333 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +295 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +106 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +238 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +0 -5
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +269 -0
- data/lib/pulp_ansible_client/models/keyring_enum.rb +40 -0
- data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → paginated_collection_version_list_response_list.rb} +4 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +27 -1
- data/spec/api/content_collection_signatures_api_spec.rb +16 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +16 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +17 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +99 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +94 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +51 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +45 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +91 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +88 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +50 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +51 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +48 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +49 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +95 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +91 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +51 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_signature_spec.rb +53 -0
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_version_list_response_spec.rb +65 -0
- data/spec/models/keyring_enum_spec.rb +35 -0
- data/spec/models/{paginated_collection_version_response_list_spec.rb → paginated_collection_version_list_response_list_spec.rb} +6 -6
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +109 -5
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
8
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
9
|
-
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
10
|
-
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
11
7
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
12
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
14
|
-
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
15
|
-
**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]
|
16
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
17
8
|
**proxy_password** | **String** | The password to authenticte to the proxy. | [optional]
|
18
|
-
**
|
19
|
-
**
|
9
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
11
|
+
**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]
|
12
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
20
13
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
21
14
|
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
15
|
+
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
16
|
+
**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]
|
22
17
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
18
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
19
|
+
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
|
+
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
21
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
22
|
+
**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
23
|
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
|
-
**
|
24
|
+
**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]
|
25
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
25
26
|
**name** | **String** | A unique name for this remote. | [optional]
|
26
|
-
**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]
|
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::PatchedansibleGitRemote.new(
|
36
|
-
username: null,
|
37
|
-
download_concurrency: null,
|
38
|
-
proxy_url: null,
|
39
|
-
tls_validation: null,
|
40
|
-
pulp_labels: null,
|
41
|
-
url: null,
|
42
|
-
rate_limit: null,
|
43
|
-
sock_connect_timeout: null,
|
44
|
-
sock_read_timeout: null,
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(tls_validation: null,
|
45
36
|
proxy_password: null,
|
46
|
-
|
47
|
-
|
37
|
+
pulp_labels: null,
|
38
|
+
max_retries: null,
|
39
|
+
total_timeout: null,
|
40
|
+
proxy_url: null,
|
48
41
|
ca_cert: null,
|
49
42
|
client_key: null,
|
43
|
+
rate_limit: null,
|
44
|
+
sock_connect_timeout: null,
|
50
45
|
headers: null,
|
46
|
+
username: null,
|
47
|
+
download_concurrency: null,
|
48
|
+
password: null,
|
49
|
+
proxy_username: null,
|
50
|
+
sock_read_timeout: null,
|
51
51
|
client_cert: null,
|
52
|
-
|
52
|
+
connect_timeout: null,
|
53
|
+
url: null,
|
53
54
|
name: null,
|
54
|
-
total_timeout: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|
data/docs/PulpAnsibleApiV3Api.md
CHANGED
@@ -14,13 +14,19 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
|
17
|
+
Legacy v3 endpoint.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3Api.new
|
26
32
|
path = 'path_example' # String |
|
@@ -52,7 +58,7 @@ Name | Type | Description | Notes
|
|
52
58
|
|
53
59
|
### Authorization
|
54
60
|
|
55
|
-
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
56
62
|
|
57
63
|
### HTTP request headers
|
58
64
|
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3ArtifactsCollectionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get**](PulpAnsibleApiV3ArtifactsCollectionsApi.md#get) | **GET** /pulp_ansible/galaxy/{path}/api/v3/artifacts/collections/{path}/{filename} |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## get
|
12
|
+
|
13
|
+
> get(filename, path, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Download collection.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3ArtifactsCollectionsApi.new
|
32
|
+
filename = 'filename_example' # String |
|
33
|
+
path = 'path_example' # String |
|
34
|
+
opts = {
|
35
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
36
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
37
|
+
}
|
38
|
+
|
39
|
+
begin
|
40
|
+
api_instance.get(filename, path, opts)
|
41
|
+
rescue PulpAnsibleClient::ApiError => e
|
42
|
+
puts "Exception when calling PulpAnsibleApiV3ArtifactsCollectionsApi->get: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
|
48
|
+
|
49
|
+
Name | Type | Description | Notes
|
50
|
+
------------- | ------------- | ------------- | -------------
|
51
|
+
**filename** | **String**| |
|
52
|
+
**path** | **String**| |
|
53
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
54
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
nil (empty response body)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: Not defined
|
67
|
+
- **Accept**: Not defined
|
68
|
+
|
@@ -14,13 +14,19 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
|
17
|
+
Legacy v3 endpoint.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionVersionsAllApi.new
|
26
32
|
path = 'path_example' # String |
|
@@ -52,7 +58,7 @@ Name | Type | Description | Notes
|
|
52
58
|
|
53
59
|
### Authorization
|
54
60
|
|
55
|
-
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
56
62
|
|
57
63
|
### HTTP request headers
|
58
64
|
|
@@ -14,13 +14,19 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
|
17
|
+
Legacy v3 endpoint.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsAllApi.new
|
26
32
|
path = 'path_example' # String |
|
@@ -58,7 +64,7 @@ Name | Type | Description | Notes
|
|
58
64
|
|
59
65
|
### Authorization
|
60
66
|
|
61
|
-
|
67
|
+
[basicAuth](../README.md#basicAuth)
|
62
68
|
|
63
69
|
### HTTP request headers
|
64
70
|
|
@@ -4,25 +4,88 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**delete**](PulpAnsibleApiV3CollectionsApi.md#delete) | **DELETE** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
7
8
|
[**list**](PulpAnsibleApiV3CollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/ |
|
8
9
|
[**read**](PulpAnsibleApiV3CollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
9
10
|
[**update**](PulpAnsibleApiV3CollectionsApi.md#update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/ |
|
10
11
|
|
11
12
|
|
12
13
|
|
14
|
+
## delete
|
15
|
+
|
16
|
+
> AsyncOperationResponse delete(name, namespace, path)
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
Legacy v3 endpoint.
|
21
|
+
|
22
|
+
### Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'pulp_ansible_client'
|
27
|
+
# setup authorization
|
28
|
+
PulpAnsibleClient.configure do |config|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
30
|
+
config.username = 'YOUR USERNAME'
|
31
|
+
config.password = 'YOUR PASSWORD'
|
32
|
+
end
|
33
|
+
|
34
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
35
|
+
name = 'name_example' # String |
|
36
|
+
namespace = 'namespace_example' # String |
|
37
|
+
path = 'path_example' # String |
|
38
|
+
|
39
|
+
begin
|
40
|
+
result = api_instance.delete(name, namespace, path)
|
41
|
+
p result
|
42
|
+
rescue PulpAnsibleClient::ApiError => e
|
43
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsApi->delete: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
|
50
|
+
Name | Type | Description | Notes
|
51
|
+
------------- | ------------- | ------------- | -------------
|
52
|
+
**name** | **String**| |
|
53
|
+
**namespace** | **String**| |
|
54
|
+
**path** | **String**| |
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: Not defined
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
13
70
|
## list
|
14
71
|
|
15
72
|
> PaginatedCollectionResponseList list(path, opts)
|
16
73
|
|
17
74
|
|
18
75
|
|
19
|
-
|
76
|
+
Legacy v3 endpoint.
|
20
77
|
|
21
78
|
### Example
|
22
79
|
|
23
80
|
```ruby
|
24
81
|
# load the gem
|
25
82
|
require 'pulp_ansible_client'
|
83
|
+
# setup authorization
|
84
|
+
PulpAnsibleClient.configure do |config|
|
85
|
+
# Configure HTTP basic authorization: basicAuth
|
86
|
+
config.username = 'YOUR USERNAME'
|
87
|
+
config.password = 'YOUR PASSWORD'
|
88
|
+
end
|
26
89
|
|
27
90
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
28
91
|
path = 'path_example' # String |
|
@@ -64,7 +127,7 @@ Name | Type | Description | Notes
|
|
64
127
|
|
65
128
|
### Authorization
|
66
129
|
|
67
|
-
|
130
|
+
[basicAuth](../README.md#basicAuth)
|
68
131
|
|
69
132
|
### HTTP request headers
|
70
133
|
|
@@ -78,13 +141,19 @@ No authorization required
|
|
78
141
|
|
79
142
|
|
80
143
|
|
81
|
-
|
144
|
+
Legacy v3 endpoint.
|
82
145
|
|
83
146
|
### Example
|
84
147
|
|
85
148
|
```ruby
|
86
149
|
# load the gem
|
87
150
|
require 'pulp_ansible_client'
|
151
|
+
# setup authorization
|
152
|
+
PulpAnsibleClient.configure do |config|
|
153
|
+
# Configure HTTP basic authorization: basicAuth
|
154
|
+
config.username = 'YOUR USERNAME'
|
155
|
+
config.password = 'YOUR PASSWORD'
|
156
|
+
end
|
88
157
|
|
89
158
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
90
159
|
name = 'name_example' # String |
|
@@ -120,7 +189,7 @@ Name | Type | Description | Notes
|
|
120
189
|
|
121
190
|
### Authorization
|
122
191
|
|
123
|
-
|
192
|
+
[basicAuth](../README.md#basicAuth)
|
124
193
|
|
125
194
|
### HTTP request headers
|
126
195
|
|
@@ -134,13 +203,19 @@ No authorization required
|
|
134
203
|
|
135
204
|
|
136
205
|
|
137
|
-
|
206
|
+
Legacy v3 endpoint.
|
138
207
|
|
139
208
|
### Example
|
140
209
|
|
141
210
|
```ruby
|
142
211
|
# load the gem
|
143
212
|
require 'pulp_ansible_client'
|
213
|
+
# setup authorization
|
214
|
+
PulpAnsibleClient.configure do |config|
|
215
|
+
# Configure HTTP basic authorization: basicAuth
|
216
|
+
config.username = 'YOUR USERNAME'
|
217
|
+
config.password = 'YOUR PASSWORD'
|
218
|
+
end
|
144
219
|
|
145
220
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
146
221
|
name = 'name_example' # String |
|
@@ -172,7 +247,7 @@ Name | Type | Description | Notes
|
|
172
247
|
|
173
248
|
### Authorization
|
174
249
|
|
175
|
-
|
250
|
+
[basicAuth](../README.md#basicAuth)
|
176
251
|
|
177
252
|
### HTTP request headers
|
178
253
|
|
@@ -4,24 +4,89 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**delete**](PulpAnsibleApiV3CollectionsVersionsApi.md#delete) | **DELETE** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
|
7
8
|
[**list**](PulpAnsibleApiV3CollectionsVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/ |
|
8
9
|
[**read**](PulpAnsibleApiV3CollectionsVersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/{version}/ |
|
9
10
|
|
10
11
|
|
11
12
|
|
13
|
+
## delete
|
14
|
+
|
15
|
+
> AsyncOperationResponse delete(name, namespace, path, version)
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
Legacy v3 endpoint.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'pulp_ansible_client'
|
26
|
+
# setup authorization
|
27
|
+
PulpAnsibleClient.configure do |config|
|
28
|
+
# Configure HTTP basic authorization: basicAuth
|
29
|
+
config.username = 'YOUR USERNAME'
|
30
|
+
config.password = 'YOUR PASSWORD'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi.new
|
34
|
+
name = 'name_example' # String |
|
35
|
+
namespace = 'namespace_example' # String |
|
36
|
+
path = 'path_example' # String |
|
37
|
+
version = 'version_example' # String |
|
38
|
+
|
39
|
+
begin
|
40
|
+
result = api_instance.delete(name, namespace, path, version)
|
41
|
+
p result
|
42
|
+
rescue PulpAnsibleClient::ApiError => e
|
43
|
+
puts "Exception when calling PulpAnsibleApiV3CollectionsVersionsApi->delete: #{e}"
|
44
|
+
end
|
45
|
+
```
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
|
50
|
+
Name | Type | Description | Notes
|
51
|
+
------------- | ------------- | ------------- | -------------
|
52
|
+
**name** | **String**| |
|
53
|
+
**namespace** | **String**| |
|
54
|
+
**path** | **String**| |
|
55
|
+
**version** | **String**| |
|
56
|
+
|
57
|
+
### Return type
|
58
|
+
|
59
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
60
|
+
|
61
|
+
### Authorization
|
62
|
+
|
63
|
+
[basicAuth](../README.md#basicAuth)
|
64
|
+
|
65
|
+
### HTTP request headers
|
66
|
+
|
67
|
+
- **Content-Type**: Not defined
|
68
|
+
- **Accept**: application/json
|
69
|
+
|
70
|
+
|
12
71
|
## list
|
13
72
|
|
14
|
-
>
|
73
|
+
> PaginatedCollectionVersionListResponseList list(name, namespace, path, opts)
|
15
74
|
|
16
75
|
|
17
76
|
|
18
|
-
|
77
|
+
Legacy v3 endpoint.
|
19
78
|
|
20
79
|
### Example
|
21
80
|
|
22
81
|
```ruby
|
23
82
|
# load the gem
|
24
83
|
require 'pulp_ansible_client'
|
84
|
+
# setup authorization
|
85
|
+
PulpAnsibleClient.configure do |config|
|
86
|
+
# Configure HTTP basic authorization: basicAuth
|
87
|
+
config.username = 'YOUR USERNAME'
|
88
|
+
config.password = 'YOUR PASSWORD'
|
89
|
+
end
|
25
90
|
|
26
91
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi.new
|
27
92
|
name = 'name_example' # String |
|
@@ -75,11 +140,11 @@ Name | Type | Description | Notes
|
|
75
140
|
|
76
141
|
### Return type
|
77
142
|
|
78
|
-
[**
|
143
|
+
[**PaginatedCollectionVersionListResponseList**](PaginatedCollectionVersionListResponseList.md)
|
79
144
|
|
80
145
|
### Authorization
|
81
146
|
|
82
|
-
|
147
|
+
[basicAuth](../README.md#basicAuth)
|
83
148
|
|
84
149
|
### HTTP request headers
|
85
150
|
|
@@ -93,13 +158,19 @@ No authorization required
|
|
93
158
|
|
94
159
|
|
95
160
|
|
96
|
-
|
161
|
+
Legacy v3 endpoint.
|
97
162
|
|
98
163
|
### Example
|
99
164
|
|
100
165
|
```ruby
|
101
166
|
# load the gem
|
102
167
|
require 'pulp_ansible_client'
|
168
|
+
# setup authorization
|
169
|
+
PulpAnsibleClient.configure do |config|
|
170
|
+
# Configure HTTP basic authorization: basicAuth
|
171
|
+
config.username = 'YOUR USERNAME'
|
172
|
+
config.password = 'YOUR PASSWORD'
|
173
|
+
end
|
103
174
|
|
104
175
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsApi.new
|
105
176
|
name = 'name_example' # String |
|
@@ -137,7 +208,7 @@ Name | Type | Description | Notes
|
|
137
208
|
|
138
209
|
### Authorization
|
139
210
|
|
140
|
-
|
211
|
+
[basicAuth](../README.md#basicAuth)
|
141
212
|
|
142
213
|
### HTTP request headers
|
143
214
|
|
@@ -14,13 +14,19 @@ Method | HTTP request | Description
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
|
17
|
+
Legacy v3 endpoint.
|
18
18
|
|
19
19
|
### Example
|
20
20
|
|
21
21
|
```ruby
|
22
22
|
# load the gem
|
23
23
|
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
24
30
|
|
25
31
|
api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.new
|
26
32
|
name = 'name_example' # String |
|
@@ -58,7 +64,7 @@ Name | Type | Description | Notes
|
|
58
64
|
|
59
65
|
### Authorization
|
60
66
|
|
61
|
-
|
67
|
+
[basicAuth](../README.md#basicAuth)
|
62
68
|
|
63
69
|
### HTTP request headers
|
64
70
|
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**list**](PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-collections/ |
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## list
|
12
|
+
|
13
|
+
> Array<CollectionResponse> list(distro_base_path, path, opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Unpaginated ViewSet for Collections.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'pulp_ansible_client'
|
24
|
+
# setup authorization
|
25
|
+
PulpAnsibleClient.configure do |config|
|
26
|
+
# Configure HTTP basic authorization: basicAuth
|
27
|
+
config.username = 'YOUR USERNAME'
|
28
|
+
config.password = 'YOUR PASSWORD'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.new
|
32
|
+
distro_base_path = 'distro_base_path_example' # String |
|
33
|
+
path = 'path_example' # String |
|
34
|
+
opts = {
|
35
|
+
deprecated: true, # Boolean |
|
36
|
+
name: 'name_example', # String |
|
37
|
+
namespace: 'namespace_example', # String |
|
38
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
39
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
result = api_instance.list(distro_base_path, path, opts)
|
44
|
+
p result
|
45
|
+
rescue PulpAnsibleClient::ApiError => e
|
46
|
+
puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi->list: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Parameters
|
51
|
+
|
52
|
+
|
53
|
+
Name | Type | Description | Notes
|
54
|
+
------------- | ------------- | ------------- | -------------
|
55
|
+
**distro_base_path** | **String**| |
|
56
|
+
**path** | **String**| |
|
57
|
+
**deprecated** | **Boolean**| | [optional]
|
58
|
+
**name** | **String**| | [optional]
|
59
|
+
**namespace** | **String**| | [optional]
|
60
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
61
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
62
|
+
|
63
|
+
### Return type
|
64
|
+
|
65
|
+
[**Array<CollectionResponse>**](CollectionResponse.md)
|
66
|
+
|
67
|
+
### Authorization
|
68
|
+
|
69
|
+
[basicAuth](../README.md#basicAuth)
|
70
|
+
|
71
|
+
### HTTP request headers
|
72
|
+
|
73
|
+
- **Content-Type**: Not defined
|
74
|
+
- **Accept**: application/json
|
75
|
+
|