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.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +52 -5
  3. data/docs/AnsibleAnsibleRepository.md +3 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +3 -1
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleCollectionVersionSignature.md +21 -0
  7. data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -2
  8. data/docs/AnsibleGitRemote.md +27 -27
  9. data/docs/AnsibleGitRemoteResponse.md +23 -23
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/CollectionVersionListResponse.md +25 -0
  12. data/docs/ContentCollectionSignaturesApi.md +64 -4
  13. data/docs/KeyringEnum.md +16 -0
  14. data/docs/{PaginatedCollectionVersionResponseList.md → PaginatedCollectionVersionListResponseList.md} +3 -3
  15. data/docs/PatchedansibleAnsibleRepository.md +3 -1
  16. data/docs/PatchedansibleGitRemote.md +27 -27
  17. data/docs/PulpAnsibleApiV3Api.md +8 -2
  18. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +68 -0
  19. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +8 -2
  20. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +8 -2
  21. data/docs/PulpAnsibleApiV3CollectionsApi.md +81 -6
  22. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +77 -6
  23. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +8 -2
  24. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +75 -0
  25. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +69 -0
  26. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +69 -0
  27. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +70 -0
  28. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +264 -0
  29. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +223 -0
  30. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +75 -0
  31. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +205 -1
  32. data/docs/PulpAnsibleDefaultApiApi.md +50 -0
  33. data/docs/PulpAnsibleDefaultApiV3Api.md +57 -0
  34. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +68 -0
  35. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +57 -0
  36. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +71 -0
  37. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +248 -0
  38. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +211 -0
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +71 -0
  40. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +73 -0
  41. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +67 -0
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +67 -0
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +68 -0
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +256 -0
  45. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +217 -0
  46. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +73 -0
  47. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +79 -4
  48. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -3
  49. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +92 -0
  50. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -3
  51. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -3
  52. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +81 -9
  53. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +87 -9
  54. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -3
  55. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +103 -0
  56. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +94 -0
  57. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +94 -0
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +98 -0
  59. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +357 -0
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +313 -0
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +112 -0
  62. data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +298 -1
  63. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +74 -0
  64. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +76 -0
  65. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +92 -0
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +76 -0
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +91 -0
  68. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +309 -0
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +277 -0
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +100 -0
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +97 -0
  72. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +88 -0
  73. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +88 -0
  74. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +92 -0
  75. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +333 -0
  76. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +295 -0
  77. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +106 -0
  78. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -5
  79. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -5
  80. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
  81. data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +238 -0
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +0 -5
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
  85. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  86. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +269 -0
  87. data/lib/pulp_ansible_client/models/keyring_enum.rb +40 -0
  88. data/lib/pulp_ansible_client/models/{paginated_collection_version_response_list.rb → paginated_collection_version_list_response_list.rb} +4 -4
  89. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -5
  90. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
  91. data/lib/pulp_ansible_client/version.rb +1 -1
  92. data/lib/pulp_ansible_client.rb +27 -1
  93. data/spec/api/content_collection_signatures_api_spec.rb +16 -2
  94. data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -1
  95. data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +49 -0
  96. data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -1
  97. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -1
  98. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +16 -3
  99. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +17 -3
  100. data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -1
  101. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +52 -0
  102. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +49 -0
  103. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +49 -0
  104. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +50 -0
  105. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +99 -0
  106. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +94 -0
  107. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +52 -0
  108. data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +51 -0
  109. data/spec/api/pulp_ansible_default_api_api_spec.rb +45 -0
  110. data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +45 -0
  111. data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +49 -0
  112. data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +45 -0
  113. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +50 -0
  114. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +91 -0
  115. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +88 -0
  116. data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +50 -0
  117. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +51 -0
  118. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +48 -0
  119. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +48 -0
  120. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +49 -0
  121. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +95 -0
  122. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +91 -0
  123. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +51 -0
  124. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  125. data/spec/models/ansible_ansible_repository_spec.rb +6 -0
  126. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  127. data/spec/models/ansible_collection_version_signature_spec.rb +53 -0
  128. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  129. data/spec/models/ansible_git_remote_spec.rb +19 -19
  130. data/spec/models/ansible_role_response_spec.rb +2 -2
  131. data/spec/models/collection_version_list_response_spec.rb +65 -0
  132. data/spec/models/keyring_enum_spec.rb +35 -0
  133. data/spec/models/{paginated_collection_version_response_list_spec.rb → paginated_collection_version_list_response_list_spec.rb} +6 -6
  134. data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
  135. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  136. 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
- **password** | **String** | The password to be used for authentication when syncing. | [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]
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
- **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
+ **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(proxy_username: null,
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
- password: null,
47
- connect_timeout: null,
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
- max_retries: null,
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
  ```
@@ -14,13 +14,19 @@ Method | HTTP request | Description
14
14
 
15
15
 
16
16
 
17
- ViewSet for Repository Metadata.
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
- No authorization required
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
- Returns paginated CollectionVersions list.
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
- No authorization required
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
- Unpaginated ViewSet for Collections.
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
- No authorization required
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
- ViewSet for Collections.
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
- No authorization required
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
- ViewSet for Collections.
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
- No authorization required
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
- Trigger an asynchronous update task
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
- No authorization required
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
- > PaginatedCollectionVersionResponseList list(name, namespace, path, opts)
73
+ > PaginatedCollectionVersionListResponseList list(name, namespace, path, opts)
15
74
 
16
75
 
17
76
 
18
- Returns paginated CollectionVersions list.
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
- [**PaginatedCollectionVersionResponseList**](PaginatedCollectionVersionResponseList.md)
143
+ [**PaginatedCollectionVersionListResponseList**](PaginatedCollectionVersionListResponseList.md)
79
144
 
80
145
  ### Authorization
81
146
 
82
- No authorization required
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
- Returns a CollectionVersion object.
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
- No authorization required
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
- Returns a CollectionVersion object.
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
- No authorization required
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
+