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
@@ -0,0 +1,69 @@
1
+ # PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-versions/ |
8
+
9
+
10
+
11
+ ## list
12
+
13
+ > Array<UnpaginatedCollectionVersionResponse> list(distro_base_path, path, opts)
14
+
15
+
16
+
17
+ Returns paginated CollectionVersions list.
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::PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.new
32
+ distro_base_path = 'distro_base_path_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
+ result = api_instance.list(distro_base_path, path, opts)
41
+ p result
42
+ rescue PulpAnsibleClient::ApiError => e
43
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi->list: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **distro_base_path** | **String**| |
53
+ **path** | **String**| |
54
+ **fields** | **String**| A list of fields to include in the response. | [optional]
55
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
56
+
57
+ ### Return type
58
+
59
+ [**Array<UnpaginatedCollectionVersionResponse>**](UnpaginatedCollectionVersionResponse.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
+
@@ -0,0 +1,69 @@
1
+ # PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**read**](PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/ |
8
+
9
+
10
+
11
+ ## read
12
+
13
+ > RepoMetadataResponse read(distro_base_path, path, opts)
14
+
15
+
16
+
17
+ ViewSet for Repository Metadata.
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::PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.new
32
+ distro_base_path = 'distro_base_path_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
+ result = api_instance.read(distro_base_path, path, opts)
41
+ p result
42
+ rescue PulpAnsibleClient::ApiError => e
43
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsApi->read: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **distro_base_path** | **String**| |
53
+ **path** | **String**| |
54
+ **fields** | **String**| A list of fields to include in the response. | [optional]
55
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
56
+
57
+ ### Return type
58
+
59
+ [**RepoMetadataResponse**](RepoMetadataResponse.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
+
@@ -0,0 +1,70 @@
1
+ # PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**download**](PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md#download) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/artifacts/{filename} |
8
+
9
+
10
+
11
+ ## download
12
+
13
+ > download(distro_base_path, filename, path, opts)
14
+
15
+
16
+
17
+ Collection download endpoint.
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::PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.new
32
+ distro_base_path = 'distro_base_path_example' # String |
33
+ filename = 'filename_example' # String |
34
+ path = 'path_example' # String |
35
+ opts = {
36
+ fields: 'fields_example', # String | A list of fields to include in the response.
37
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
38
+ }
39
+
40
+ begin
41
+ api_instance.download(distro_base_path, filename, path, opts)
42
+ rescue PulpAnsibleClient::ApiError => e
43
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi->download: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **distro_base_path** | **String**| |
53
+ **filename** | **String**| |
54
+ **path** | **String**| |
55
+ **fields** | **String**| A list of fields to include in the response. | [optional]
56
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
57
+
58
+ ### Return type
59
+
60
+ nil (empty response body)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: Not defined
69
+ - **Accept**: Not defined
70
+
@@ -0,0 +1,264 @@
1
+ # PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md#delete) | **DELETE** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/ |
8
+ [**list**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/ |
9
+ [**read**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/ |
10
+ [**update**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md#update) | **PATCH** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/ |
11
+
12
+
13
+
14
+ ## delete
15
+
16
+ > AsyncOperationResponse delete(distro_base_path, name, namespace, path)
17
+
18
+
19
+
20
+ Trigger an asynchronous delete task
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::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.new
35
+ distro_base_path = 'distro_base_path_example' # String |
36
+ name = 'name_example' # String |
37
+ namespace = 'namespace_example' # String |
38
+ path = 'path_example' # String |
39
+
40
+ begin
41
+ result = api_instance.delete(distro_base_path, name, namespace, path)
42
+ p result
43
+ rescue PulpAnsibleClient::ApiError => e
44
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi->delete: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **distro_base_path** | **String**| |
54
+ **name** | **String**| |
55
+ **namespace** | **String**| |
56
+ **path** | **String**| |
57
+
58
+ ### Return type
59
+
60
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: Not defined
69
+ - **Accept**: application/json
70
+
71
+
72
+ ## list
73
+
74
+ > PaginatedCollectionResponseList list(distro_base_path, path, opts)
75
+
76
+
77
+
78
+ ViewSet for Collections.
79
+
80
+ ### Example
81
+
82
+ ```ruby
83
+ # load the gem
84
+ require 'pulp_ansible_client'
85
+ # setup authorization
86
+ PulpAnsibleClient.configure do |config|
87
+ # Configure HTTP basic authorization: basicAuth
88
+ config.username = 'YOUR USERNAME'
89
+ config.password = 'YOUR PASSWORD'
90
+ end
91
+
92
+ api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.new
93
+ distro_base_path = 'distro_base_path_example' # String |
94
+ path = 'path_example' # String |
95
+ opts = {
96
+ deprecated: true, # Boolean |
97
+ limit: 56, # Integer | Number of results to return per page.
98
+ name: 'name_example', # String |
99
+ namespace: 'namespace_example', # String |
100
+ offset: 56, # Integer | The initial index from which to return the results.
101
+ fields: 'fields_example', # String | A list of fields to include in the response.
102
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
103
+ }
104
+
105
+ begin
106
+ result = api_instance.list(distro_base_path, path, opts)
107
+ p result
108
+ rescue PulpAnsibleClient::ApiError => e
109
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi->list: #{e}"
110
+ end
111
+ ```
112
+
113
+ ### Parameters
114
+
115
+
116
+ Name | Type | Description | Notes
117
+ ------------- | ------------- | ------------- | -------------
118
+ **distro_base_path** | **String**| |
119
+ **path** | **String**| |
120
+ **deprecated** | **Boolean**| | [optional]
121
+ **limit** | **Integer**| Number of results to return per page. | [optional]
122
+ **name** | **String**| | [optional]
123
+ **namespace** | **String**| | [optional]
124
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
125
+ **fields** | **String**| A list of fields to include in the response. | [optional]
126
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
127
+
128
+ ### Return type
129
+
130
+ [**PaginatedCollectionResponseList**](PaginatedCollectionResponseList.md)
131
+
132
+ ### Authorization
133
+
134
+ [basicAuth](../README.md#basicAuth)
135
+
136
+ ### HTTP request headers
137
+
138
+ - **Content-Type**: Not defined
139
+ - **Accept**: application/json
140
+
141
+
142
+ ## read
143
+
144
+ > CollectionResponse read(distro_base_path, name, namespace, path, opts)
145
+
146
+
147
+
148
+ ViewSet for Collections.
149
+
150
+ ### Example
151
+
152
+ ```ruby
153
+ # load the gem
154
+ require 'pulp_ansible_client'
155
+ # setup authorization
156
+ PulpAnsibleClient.configure do |config|
157
+ # Configure HTTP basic authorization: basicAuth
158
+ config.username = 'YOUR USERNAME'
159
+ config.password = 'YOUR PASSWORD'
160
+ end
161
+
162
+ api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.new
163
+ distro_base_path = 'distro_base_path_example' # String |
164
+ name = 'name_example' # String |
165
+ namespace = 'namespace_example' # String |
166
+ path = 'path_example' # String |
167
+ opts = {
168
+ fields: 'fields_example', # String | A list of fields to include in the response.
169
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
170
+ }
171
+
172
+ begin
173
+ result = api_instance.read(distro_base_path, name, namespace, path, opts)
174
+ p result
175
+ rescue PulpAnsibleClient::ApiError => e
176
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi->read: #{e}"
177
+ end
178
+ ```
179
+
180
+ ### Parameters
181
+
182
+
183
+ Name | Type | Description | Notes
184
+ ------------- | ------------- | ------------- | -------------
185
+ **distro_base_path** | **String**| |
186
+ **name** | **String**| |
187
+ **namespace** | **String**| |
188
+ **path** | **String**| |
189
+ **fields** | **String**| A list of fields to include in the response. | [optional]
190
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
191
+
192
+ ### Return type
193
+
194
+ [**CollectionResponse**](CollectionResponse.md)
195
+
196
+ ### Authorization
197
+
198
+ [basicAuth](../README.md#basicAuth)
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: Not defined
203
+ - **Accept**: application/json
204
+
205
+
206
+ ## update
207
+
208
+ > AsyncOperationResponse update(distro_base_path, name, namespace, path, body)
209
+
210
+
211
+
212
+ Trigger an asynchronous update task
213
+
214
+ ### Example
215
+
216
+ ```ruby
217
+ # load the gem
218
+ require 'pulp_ansible_client'
219
+ # setup authorization
220
+ PulpAnsibleClient.configure do |config|
221
+ # Configure HTTP basic authorization: basicAuth
222
+ config.username = 'YOUR USERNAME'
223
+ config.password = 'YOUR PASSWORD'
224
+ end
225
+
226
+ api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.new
227
+ distro_base_path = 'distro_base_path_example' # String |
228
+ name = 'name_example' # String |
229
+ namespace = 'namespace_example' # String |
230
+ path = 'path_example' # String |
231
+ body = nil # Object |
232
+
233
+ begin
234
+ result = api_instance.update(distro_base_path, name, namespace, path, body)
235
+ p result
236
+ rescue PulpAnsibleClient::ApiError => e
237
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi->update: #{e}"
238
+ end
239
+ ```
240
+
241
+ ### Parameters
242
+
243
+
244
+ Name | Type | Description | Notes
245
+ ------------- | ------------- | ------------- | -------------
246
+ **distro_base_path** | **String**| |
247
+ **name** | **String**| |
248
+ **namespace** | **String**| |
249
+ **path** | **String**| |
250
+ **body** | **Object**| |
251
+
252
+ ### Return type
253
+
254
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
255
+
256
+ ### Authorization
257
+
258
+ [basicAuth](../README.md#basicAuth)
259
+
260
+ ### HTTP request headers
261
+
262
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
263
+ - **Accept**: application/json
264
+
@@ -0,0 +1,223 @@
1
+ # PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md#delete) | **DELETE** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/versions/{version}/ |
8
+ [**list**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md#list) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/versions/ |
9
+ [**read**](PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md#read) | **GET** /pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/versions/{version}/ |
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > AsyncOperationResponse delete(distro_base_path, name, namespace, path, version)
16
+
17
+
18
+
19
+ Trigger an asynchronous delete task
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::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.new
34
+ distro_base_path = 'distro_base_path_example' # String |
35
+ name = 'name_example' # String |
36
+ namespace = 'namespace_example' # String |
37
+ path = 'path_example' # String |
38
+ version = 'version_example' # String |
39
+
40
+ begin
41
+ result = api_instance.delete(distro_base_path, name, namespace, path, version)
42
+ p result
43
+ rescue PulpAnsibleClient::ApiError => e
44
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi->delete: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **distro_base_path** | **String**| |
54
+ **name** | **String**| |
55
+ **namespace** | **String**| |
56
+ **path** | **String**| |
57
+ **version** | **String**| |
58
+
59
+ ### Return type
60
+
61
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ [basicAuth](../README.md#basicAuth)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: application/json
71
+
72
+
73
+ ## list
74
+
75
+ > PaginatedCollectionVersionListResponseList list(distro_base_path, name, namespace, path, opts)
76
+
77
+
78
+
79
+ Returns paginated CollectionVersions list.
80
+
81
+ ### Example
82
+
83
+ ```ruby
84
+ # load the gem
85
+ require 'pulp_ansible_client'
86
+ # setup authorization
87
+ PulpAnsibleClient.configure do |config|
88
+ # Configure HTTP basic authorization: basicAuth
89
+ config.username = 'YOUR USERNAME'
90
+ config.password = 'YOUR PASSWORD'
91
+ end
92
+
93
+ api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.new
94
+ distro_base_path = 'distro_base_path_example' # String |
95
+ name = 'name_example' # String |
96
+ namespace = 'namespace_example' # String |
97
+ path = 'path_example' # String |
98
+ opts = {
99
+ is_highest: true, # Boolean |
100
+ limit: 56, # Integer | Number of results to return per page.
101
+ name2: 'name_example', # String |
102
+ namespace2: 'namespace_example', # String |
103
+ offset: 56, # Integer | The initial index from which to return the results.
104
+ q: 'q_example', # String |
105
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
106
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
107
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
108
+ tags: 'tags_example', # String | Filter by comma separate list of tags that must all be matched
109
+ version: 'version_example', # String | Filter results where version matches value
110
+ fields: 'fields_example', # String | A list of fields to include in the response.
111
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
112
+ }
113
+
114
+ begin
115
+ result = api_instance.list(distro_base_path, name, namespace, path, opts)
116
+ p result
117
+ rescue PulpAnsibleClient::ApiError => e
118
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi->list: #{e}"
119
+ end
120
+ ```
121
+
122
+ ### Parameters
123
+
124
+
125
+ Name | Type | Description | Notes
126
+ ------------- | ------------- | ------------- | -------------
127
+ **distro_base_path** | **String**| |
128
+ **name** | **String**| |
129
+ **namespace** | **String**| |
130
+ **path** | **String**| |
131
+ **is_highest** | **Boolean**| | [optional]
132
+ **limit** | **Integer**| Number of results to return per page. | [optional]
133
+ **name2** | **String**| | [optional]
134
+ **namespace2** | **String**| | [optional]
135
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
136
+ **q** | **String**| | [optional]
137
+ **repository_version** | **String**| Repository Version referenced by HREF | [optional]
138
+ **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
139
+ **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
140
+ **tags** | **String**| Filter by comma separate list of tags that must all be matched | [optional]
141
+ **version** | **String**| Filter results where version matches value | [optional]
142
+ **fields** | **String**| A list of fields to include in the response. | [optional]
143
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
144
+
145
+ ### Return type
146
+
147
+ [**PaginatedCollectionVersionListResponseList**](PaginatedCollectionVersionListResponseList.md)
148
+
149
+ ### Authorization
150
+
151
+ [basicAuth](../README.md#basicAuth)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
159
+ ## read
160
+
161
+ > CollectionVersionResponse read(distro_base_path, name, namespace, path, version, opts)
162
+
163
+
164
+
165
+ Returns a CollectionVersion object.
166
+
167
+ ### Example
168
+
169
+ ```ruby
170
+ # load the gem
171
+ require 'pulp_ansible_client'
172
+ # setup authorization
173
+ PulpAnsibleClient.configure do |config|
174
+ # Configure HTTP basic authorization: basicAuth
175
+ config.username = 'YOUR USERNAME'
176
+ config.password = 'YOUR PASSWORD'
177
+ end
178
+
179
+ api_instance = PulpAnsibleClient::PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.new
180
+ distro_base_path = 'distro_base_path_example' # String |
181
+ name = 'name_example' # String |
182
+ namespace = 'namespace_example' # String |
183
+ path = 'path_example' # String |
184
+ version = 'version_example' # String |
185
+ opts = {
186
+ fields: 'fields_example', # String | A list of fields to include in the response.
187
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
188
+ }
189
+
190
+ begin
191
+ result = api_instance.read(distro_base_path, name, namespace, path, version, opts)
192
+ p result
193
+ rescue PulpAnsibleClient::ApiError => e
194
+ puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi->read: #{e}"
195
+ end
196
+ ```
197
+
198
+ ### Parameters
199
+
200
+
201
+ Name | Type | Description | Notes
202
+ ------------- | ------------- | ------------- | -------------
203
+ **distro_base_path** | **String**| |
204
+ **name** | **String**| |
205
+ **namespace** | **String**| |
206
+ **path** | **String**| |
207
+ **version** | **String**| |
208
+ **fields** | **String**| A list of fields to include in the response. | [optional]
209
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
210
+
211
+ ### Return type
212
+
213
+ [**CollectionVersionResponse**](CollectionVersionResponse.md)
214
+
215
+ ### Authorization
216
+
217
+ [basicAuth](../README.md#basicAuth)
218
+
219
+ ### HTTP request headers
220
+
221
+ - **Content-Type**: Not defined
222
+ - **Accept**: application/json
223
+