pulp_ansible_client 0.21.18 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -22
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -8
- data/docs/AnsibleCollectionVersion.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +9 -9
- data/docs/AnsibleCollectionsApi.md +65 -21
- data/docs/AnsibleCopyApi.md +3 -7
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiRolesApi.md +1 -3
- data/docs/CollectionImportApi.md +1 -3
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +3 -11
- data/docs/ContentCollectionMarksApi.md +3 -11
- data/docs/ContentCollectionSignaturesApi.md +1 -7
- data/docs/ContentCollectionVersionsApi.md +3 -9
- data/docs/ContentNamespacesApi.md +1 -7
- data/docs/ContentRolesApi.md +3 -11
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +17 -57
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiApi.md +1 -3
- data/docs/PulpAnsibleApiV3Api.md +1 -3
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -24
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -9
- data/docs/PulpAnsibleDefaultApiApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +4 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -17
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -11
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +3 -15
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +5 -12
- data/docs/PulpAnsibleTagsApi.md +1 -3
- data/docs/RemotesCollectionApi.md +17 -57
- data/docs/RemotesGitApi.md +17 -57
- data/docs/RemotesRoleApi.md +17 -57
- data/docs/RepositoriesAnsibleApi.md +33 -105
- data/docs/RepositoriesAnsibleVersionsApi.md +7 -23
- data/docs/VersionsApi.md +1 -60
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -18
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -9
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -9
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -32
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -17
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -15
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -75
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -42
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +151 -151
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +16 -1
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
- 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 +1 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -6
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -3
- data/spec/api/content_collection_marks_api_spec.rb +0 -3
- data/spec/api/content_collection_signatures_api_spec.rb +0 -3
- data/spec/api/content_collection_versions_api_spec.rb +1 -4
- data/spec/api/content_namespaces_api_spec.rb +0 -3
- data/spec/api/content_roles_api_spec.rb +0 -3
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -11
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -5
- data/spec/api/versions_api_spec.rb +0 -16
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -16
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +6 -0
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +148 -180
- data/docs/ApiCollectionsApi.md +0 -118
- data/docs/GalaxyCollection.md +0 -23
- data/docs/GalaxyCollectionResponse.md +0 -31
- data/docs/GalaxyCollectionVersionResponse.md +0 -27
- data/docs/GalaxyDetailApi.md +0 -63
- data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -68
- data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -165
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -91
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -107
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -266
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_response_list.rb +0 -247
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -247
- data/spec/api/api_collections_api_spec.rb +0 -63
- data/spec/api/galaxy_detail_api_spec.rb +0 -49
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -52
- data/spec/models/galaxy_collection_response_spec.rb +0 -83
- data/spec/models/galaxy_collection_spec.rb +0 -59
- data/spec/models/galaxy_collection_version_response_spec.rb +0 -71
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
- data/spec/models/paginated_galaxy_collection_version_response_list_spec.rb +0 -59
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PulpAnsibleClient::RepositoriesAnsibleVersionsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
|
14
14
|
|
|
15
15
|
## delete
|
|
16
16
|
|
|
17
|
-
> AsyncOperationResponse delete(ansible_ansible_repository_version_href
|
|
17
|
+
> AsyncOperationResponse delete(ansible_ansible_repository_version_href)
|
|
18
18
|
|
|
19
19
|
Delete a repository version
|
|
20
20
|
|
|
@@ -34,13 +34,10 @@ end
|
|
|
34
34
|
|
|
35
35
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
|
36
36
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
|
37
|
-
opts = {
|
|
38
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
39
|
-
}
|
|
40
37
|
|
|
41
38
|
begin
|
|
42
39
|
#Delete a repository version
|
|
43
|
-
result = api_instance.delete(ansible_ansible_repository_version_href
|
|
40
|
+
result = api_instance.delete(ansible_ansible_repository_version_href)
|
|
44
41
|
p result
|
|
45
42
|
rescue PulpAnsibleClient::ApiError => e
|
|
46
43
|
puts "Exception when calling RepositoriesAnsibleVersionsApi->delete: #{e}"
|
|
@@ -53,7 +50,6 @@ end
|
|
|
53
50
|
Name | Type | Description | Notes
|
|
54
51
|
------------- | ------------- | ------------- | -------------
|
|
55
52
|
**ansible_ansible_repository_version_href** | **String**| |
|
|
56
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
57
53
|
|
|
58
54
|
### Return type
|
|
59
55
|
|
|
@@ -92,7 +88,6 @@ end
|
|
|
92
88
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
|
93
89
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
|
94
90
|
opts = {
|
|
95
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
96
91
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
97
92
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
98
93
|
limit: 56, # Integer | Number of results to return per page.
|
|
@@ -131,7 +126,6 @@ end
|
|
|
131
126
|
Name | Type | Description | Notes
|
|
132
127
|
------------- | ------------- | ------------- | -------------
|
|
133
128
|
**ansible_ansible_repository_href** | **String**| |
|
|
134
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
135
129
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
136
130
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
137
131
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
@@ -191,7 +185,6 @@ end
|
|
|
191
185
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
|
192
186
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
|
193
187
|
opts = {
|
|
194
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
195
188
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
196
189
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
197
190
|
}
|
|
@@ -211,7 +204,6 @@ end
|
|
|
211
204
|
Name | Type | Description | Notes
|
|
212
205
|
------------- | ------------- | ------------- | -------------
|
|
213
206
|
**ansible_ansible_repository_version_href** | **String**| |
|
|
214
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
215
207
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
216
208
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
217
209
|
|
|
@@ -231,7 +223,7 @@ Name | Type | Description | Notes
|
|
|
231
223
|
|
|
232
224
|
## rebuild_metadata
|
|
233
225
|
|
|
234
|
-
> AsyncOperationResponse rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild
|
|
226
|
+
> AsyncOperationResponse rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
|
235
227
|
|
|
236
228
|
|
|
237
229
|
|
|
@@ -252,12 +244,9 @@ end
|
|
|
252
244
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
|
253
245
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
|
254
246
|
ansible_repository_rebuild = PulpAnsibleClient::AnsibleRepositoryRebuild.new # AnsibleRepositoryRebuild |
|
|
255
|
-
opts = {
|
|
256
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
257
|
-
}
|
|
258
247
|
|
|
259
248
|
begin
|
|
260
|
-
result = api_instance.rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild
|
|
249
|
+
result = api_instance.rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild)
|
|
261
250
|
p result
|
|
262
251
|
rescue PulpAnsibleClient::ApiError => e
|
|
263
252
|
puts "Exception when calling RepositoriesAnsibleVersionsApi->rebuild_metadata: #{e}"
|
|
@@ -271,7 +260,6 @@ Name | Type | Description | Notes
|
|
|
271
260
|
------------- | ------------- | ------------- | -------------
|
|
272
261
|
**ansible_ansible_repository_version_href** | **String**| |
|
|
273
262
|
**ansible_repository_rebuild** | [**AnsibleRepositoryRebuild**](AnsibleRepositoryRebuild.md)| |
|
|
274
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
275
263
|
|
|
276
264
|
### Return type
|
|
277
265
|
|
|
@@ -289,7 +277,7 @@ Name | Type | Description | Notes
|
|
|
289
277
|
|
|
290
278
|
## repair
|
|
291
279
|
|
|
292
|
-
> AsyncOperationResponse repair(ansible_ansible_repository_version_href, repair
|
|
280
|
+
> AsyncOperationResponse repair(ansible_ansible_repository_version_href, repair)
|
|
293
281
|
|
|
294
282
|
|
|
295
283
|
|
|
@@ -310,12 +298,9 @@ end
|
|
|
310
298
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
|
|
311
299
|
ansible_ansible_repository_version_href = 'ansible_ansible_repository_version_href_example' # String |
|
|
312
300
|
repair = PulpAnsibleClient::Repair.new # Repair |
|
|
313
|
-
opts = {
|
|
314
|
-
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
315
|
-
}
|
|
316
301
|
|
|
317
302
|
begin
|
|
318
|
-
result = api_instance.repair(ansible_ansible_repository_version_href, repair
|
|
303
|
+
result = api_instance.repair(ansible_ansible_repository_version_href, repair)
|
|
319
304
|
p result
|
|
320
305
|
rescue PulpAnsibleClient::ApiError => e
|
|
321
306
|
puts "Exception when calling RepositoriesAnsibleVersionsApi->repair: #{e}"
|
|
@@ -329,7 +314,6 @@ Name | Type | Description | Notes
|
|
|
329
314
|
------------- | ------------- | ------------- | -------------
|
|
330
315
|
**ansible_ansible_repository_version_href** | **String**| |
|
|
331
316
|
**repair** | [**Repair**](Repair.md)| |
|
|
332
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
333
317
|
|
|
334
318
|
### Return type
|
|
335
319
|
|
data/docs/VersionsApi.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# PulpAnsibleClient::VersionsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *http://
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**api_v1_roles_versions_list**](VersionsApi.md#api_v1_roles_versions_list) | **GET** {ansible_role_href}versions/ |
|
|
8
|
-
[**api_v2_collection_versions_list**](VersionsApi.md#api_v2_collection_versions_list) | **GET** {ansible_collection_version_href}versions/ |
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
@@ -26,7 +25,6 @@ require 'pulp_ansible_client'
|
|
|
26
25
|
api_instance = PulpAnsibleClient::VersionsApi.new
|
|
27
26
|
ansible_role_href = 'ansible_role_href_example' # String |
|
|
28
27
|
opts = {
|
|
29
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
30
28
|
limit: 56, # Integer | Number of results to return per page.
|
|
31
29
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
32
30
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
@@ -47,7 +45,6 @@ end
|
|
|
47
45
|
Name | Type | Description | Notes
|
|
48
46
|
------------- | ------------- | ------------- | -------------
|
|
49
47
|
**ansible_role_href** | **String**| |
|
|
50
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
51
48
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
52
49
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
53
50
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
@@ -66,59 +63,3 @@ No authorization required
|
|
|
66
63
|
- **Content-Type**: Not defined
|
|
67
64
|
- **Accept**: application/json
|
|
68
65
|
|
|
69
|
-
|
|
70
|
-
## api_v2_collection_versions_list
|
|
71
|
-
|
|
72
|
-
> PaginatedGalaxyCollectionVersionResponseList api_v2_collection_versions_list(ansible_collection_version_href, opts)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
APIView for Collections by namespace/name.
|
|
77
|
-
|
|
78
|
-
### Example
|
|
79
|
-
|
|
80
|
-
```ruby
|
|
81
|
-
# load the gem
|
|
82
|
-
require 'pulp_ansible_client'
|
|
83
|
-
|
|
84
|
-
api_instance = PulpAnsibleClient::VersionsApi.new
|
|
85
|
-
ansible_collection_version_href = 'ansible_collection_version_href_example' # String |
|
|
86
|
-
opts = {
|
|
87
|
-
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
88
|
-
page: 56, # Integer | A page number within the paginated result set.
|
|
89
|
-
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
90
|
-
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
begin
|
|
94
|
-
result = api_instance.api_v2_collection_versions_list(ansible_collection_version_href, opts)
|
|
95
|
-
p result
|
|
96
|
-
rescue PulpAnsibleClient::ApiError => e
|
|
97
|
-
puts "Exception when calling VersionsApi->api_v2_collection_versions_list: #{e}"
|
|
98
|
-
end
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Parameters
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Name | Type | Description | Notes
|
|
105
|
-
------------- | ------------- | ------------- | -------------
|
|
106
|
-
**ansible_collection_version_href** | **String**| |
|
|
107
|
-
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
108
|
-
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
|
109
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
110
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
111
|
-
|
|
112
|
-
### Return type
|
|
113
|
-
|
|
114
|
-
[**PaginatedGalaxyCollectionVersionResponseList**](PaginatedGalaxyCollectionVersionResponseList.md)
|
|
115
|
-
|
|
116
|
-
### Authorization
|
|
117
|
-
|
|
118
|
-
No authorization required
|
|
119
|
-
|
|
120
|
-
### HTTP request headers
|
|
121
|
-
|
|
122
|
-
- **Content-Type**: Not defined
|
|
123
|
-
- **Accept**: application/json
|
|
124
|
-
|
|
@@ -24,7 +24,6 @@ module PulpAnsibleClient
|
|
|
24
24
|
# @param ansible_collection_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(ansible_collection_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(ansible_collection_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpAnsibleClient
|
|
|
36
35
|
# @param ansible_collection_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(ansible_collection_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpAnsibleClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -95,7 +92,6 @@ module PulpAnsibleClient
|
|
|
95
92
|
# List collections
|
|
96
93
|
# Viewset for Ansible Collections.
|
|
97
94
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
99
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
100
96
|
# @option opts [String] :name
|
|
101
97
|
# @option opts [String] :namespace
|
|
@@ -115,7 +111,6 @@ module PulpAnsibleClient
|
|
|
115
111
|
# List collections
|
|
116
112
|
# Viewset for Ansible Collections.
|
|
117
113
|
# @param [Hash] opts the optional parameters
|
|
118
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
119
114
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
120
115
|
# @option opts [String] :name
|
|
121
116
|
# @option opts [String] :namespace
|
|
@@ -155,7 +150,6 @@ module PulpAnsibleClient
|
|
|
155
150
|
header_params = opts[:header_params] || {}
|
|
156
151
|
# HTTP header 'Accept' (if needed)
|
|
157
152
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
158
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
159
153
|
|
|
160
154
|
# form parameters
|
|
161
155
|
form_params = opts[:form_params] || {}
|
|
@@ -189,7 +183,6 @@ module PulpAnsibleClient
|
|
|
189
183
|
# List roles assigned to this object.
|
|
190
184
|
# @param ansible_collection_href [String]
|
|
191
185
|
# @param [Hash] opts the optional parameters
|
|
192
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
193
186
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
194
187
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
195
188
|
# @return [ObjectRolesResponse]
|
|
@@ -202,7 +195,6 @@ module PulpAnsibleClient
|
|
|
202
195
|
# List roles assigned to this object.
|
|
203
196
|
# @param ansible_collection_href [String]
|
|
204
197
|
# @param [Hash] opts the optional parameters
|
|
205
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
206
198
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
207
199
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
208
200
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -226,7 +218,6 @@ module PulpAnsibleClient
|
|
|
226
218
|
header_params = opts[:header_params] || {}
|
|
227
219
|
# HTTP header 'Accept' (if needed)
|
|
228
220
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
229
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
230
221
|
|
|
231
222
|
# form parameters
|
|
232
223
|
form_params = opts[:form_params] || {}
|
|
@@ -260,7 +251,6 @@ module PulpAnsibleClient
|
|
|
260
251
|
# List permissions available to the current user on this object.
|
|
261
252
|
# @param ansible_collection_href [String]
|
|
262
253
|
# @param [Hash] opts the optional parameters
|
|
263
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
264
254
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
265
255
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
266
256
|
# @return [MyPermissionsResponse]
|
|
@@ -273,7 +263,6 @@ module PulpAnsibleClient
|
|
|
273
263
|
# List permissions available to the current user on this object.
|
|
274
264
|
# @param ansible_collection_href [String]
|
|
275
265
|
# @param [Hash] opts the optional parameters
|
|
276
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
277
266
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
278
267
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
279
268
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -297,7 +286,6 @@ module PulpAnsibleClient
|
|
|
297
286
|
header_params = opts[:header_params] || {}
|
|
298
287
|
# HTTP header 'Accept' (if needed)
|
|
299
288
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
300
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
301
289
|
|
|
302
290
|
# form parameters
|
|
303
291
|
form_params = opts[:form_params] || {}
|
|
@@ -327,12 +315,79 @@ module PulpAnsibleClient
|
|
|
327
315
|
return data, status_code, headers
|
|
328
316
|
end
|
|
329
317
|
|
|
318
|
+
# Inspect a collection
|
|
319
|
+
# Viewset for Ansible Collections.
|
|
320
|
+
# @param ansible_collection_href [String]
|
|
321
|
+
# @param [Hash] opts the optional parameters
|
|
322
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
323
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
324
|
+
# @return [AnsibleCollectionResponse]
|
|
325
|
+
def read(ansible_collection_href, opts = {})
|
|
326
|
+
data, _status_code, _headers = read_with_http_info(ansible_collection_href, opts)
|
|
327
|
+
data
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# Inspect a collection
|
|
331
|
+
# Viewset for Ansible Collections.
|
|
332
|
+
# @param ansible_collection_href [String]
|
|
333
|
+
# @param [Hash] opts the optional parameters
|
|
334
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
335
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
336
|
+
# @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
|
|
337
|
+
def read_with_http_info(ansible_collection_href, opts = {})
|
|
338
|
+
if @api_client.config.debugging
|
|
339
|
+
@api_client.config.logger.debug 'Calling API: AnsibleCollectionsApi.read ...'
|
|
340
|
+
end
|
|
341
|
+
# verify the required parameter 'ansible_collection_href' is set
|
|
342
|
+
if @api_client.config.client_side_validation && ansible_collection_href.nil?
|
|
343
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_href' when calling AnsibleCollectionsApi.read"
|
|
344
|
+
end
|
|
345
|
+
# resource path
|
|
346
|
+
local_var_path = '{ansible_collection_href}'.sub('{' + 'ansible_collection_href' + '}', CGI.escape(ansible_collection_href.to_s).gsub('%2F', '/'))
|
|
347
|
+
|
|
348
|
+
# query parameters
|
|
349
|
+
query_params = opts[:query_params] || {}
|
|
350
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
351
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
352
|
+
|
|
353
|
+
# header parameters
|
|
354
|
+
header_params = opts[:header_params] || {}
|
|
355
|
+
# HTTP header 'Accept' (if needed)
|
|
356
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
357
|
+
|
|
358
|
+
# form parameters
|
|
359
|
+
form_params = opts[:form_params] || {}
|
|
360
|
+
|
|
361
|
+
# http body (model)
|
|
362
|
+
post_body = opts[:body]
|
|
363
|
+
|
|
364
|
+
# return_type
|
|
365
|
+
return_type = opts[:return_type] || 'AnsibleCollectionResponse'
|
|
366
|
+
|
|
367
|
+
# auth_names
|
|
368
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
|
369
|
+
|
|
370
|
+
new_options = opts.merge(
|
|
371
|
+
:header_params => header_params,
|
|
372
|
+
:query_params => query_params,
|
|
373
|
+
:form_params => form_params,
|
|
374
|
+
:body => post_body,
|
|
375
|
+
:auth_names => auth_names,
|
|
376
|
+
:return_type => return_type
|
|
377
|
+
)
|
|
378
|
+
|
|
379
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
380
|
+
if @api_client.config.debugging
|
|
381
|
+
@api_client.config.logger.debug "API called: AnsibleCollectionsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
382
|
+
end
|
|
383
|
+
return data, status_code, headers
|
|
384
|
+
end
|
|
385
|
+
|
|
330
386
|
# Remove a role
|
|
331
387
|
# Remove a role for this object from users/groups.
|
|
332
388
|
# @param ansible_collection_href [String]
|
|
333
389
|
# @param nested_role [NestedRole]
|
|
334
390
|
# @param [Hash] opts the optional parameters
|
|
335
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
336
391
|
# @return [NestedRoleResponse]
|
|
337
392
|
def remove_role(ansible_collection_href, nested_role, opts = {})
|
|
338
393
|
data, _status_code, _headers = remove_role_with_http_info(ansible_collection_href, nested_role, opts)
|
|
@@ -344,7 +399,6 @@ module PulpAnsibleClient
|
|
|
344
399
|
# @param ansible_collection_href [String]
|
|
345
400
|
# @param nested_role [NestedRole]
|
|
346
401
|
# @param [Hash] opts the optional parameters
|
|
347
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
348
402
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
349
403
|
def remove_role_with_http_info(ansible_collection_href, nested_role, opts = {})
|
|
350
404
|
if @api_client.config.debugging
|
|
@@ -370,7 +424,6 @@ module PulpAnsibleClient
|
|
|
370
424
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
371
425
|
# HTTP header 'Content-Type'
|
|
372
426
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
373
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
374
427
|
|
|
375
428
|
# form parameters
|
|
376
429
|
form_params = opts[:form_params] || {}
|
|
@@ -404,7 +457,6 @@ module PulpAnsibleClient
|
|
|
404
457
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
|
405
458
|
# @param file [File] The Collection tarball.
|
|
406
459
|
# @param [Hash] opts the optional parameters
|
|
407
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
408
460
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
409
461
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
410
462
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -419,7 +471,6 @@ module PulpAnsibleClient
|
|
|
419
471
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
|
420
472
|
# @param file [File] The Collection tarball.
|
|
421
473
|
# @param [Hash] opts the optional parameters
|
|
422
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
423
474
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
|
424
475
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
|
425
476
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
|
@@ -461,7 +512,6 @@ module PulpAnsibleClient
|
|
|
461
512
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
462
513
|
# HTTP header 'Content-Type'
|
|
463
514
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
464
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
465
515
|
|
|
466
516
|
# form parameters
|
|
467
517
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version.
|
|
24
24
|
# @param copy [Copy]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AsyncOperationResponse]
|
|
28
27
|
def copy_content(copy, opts = {})
|
|
29
28
|
data, _status_code, _headers = copy_content_with_http_info(copy, opts)
|
|
@@ -34,7 +33,6 @@ module PulpAnsibleClient
|
|
|
34
33
|
# Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version.
|
|
35
34
|
# @param copy [Copy]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
37
|
def copy_content_with_http_info(copy, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpAnsibleClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpAnsibleClient
|
|
|
22
22
|
# APIView for Roles.
|
|
23
23
|
# @param ansible_role_href [String]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
27
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
28
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -36,7 +35,6 @@ module PulpAnsibleClient
|
|
|
36
35
|
# APIView for Roles.
|
|
37
36
|
# @param ansible_role_href [String]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
41
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
42
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -64,7 +62,6 @@ module PulpAnsibleClient
|
|
|
64
62
|
header_params = opts[:header_params] || {}
|
|
65
63
|
# HTTP header 'Accept' (if needed)
|
|
66
64
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
67
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
68
65
|
|
|
69
66
|
# form parameters
|
|
70
67
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Returns a CollectionImport object.
|
|
24
24
|
# @param ansible_collection_import_href [String]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @option opts [String] :since Filter messages since a given timestamp
|
|
28
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
29
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -37,7 +36,6 @@ module PulpAnsibleClient
|
|
|
37
36
|
# Returns a CollectionImport object.
|
|
38
37
|
# @param ansible_collection_import_href [String]
|
|
39
38
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
41
39
|
# @option opts [String] :since Filter messages since a given timestamp
|
|
42
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -63,7 +61,6 @@ module PulpAnsibleClient
|
|
|
63
61
|
header_params = opts[:header_params] || {}
|
|
64
62
|
# HTTP header 'Accept' (if needed)
|
|
65
63
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
66
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
67
64
|
|
|
68
65
|
# form parameters
|
|
69
66
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param ansible_ansible_collection_deprecated [AnsibleAnsibleCollectionDeprecated]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AsyncOperationResponse]
|
|
28
27
|
def create(ansible_ansible_collection_deprecated, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(ansible_ansible_collection_deprecated, opts)
|
|
@@ -34,7 +33,6 @@ module PulpAnsibleClient
|
|
|
34
33
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
35
34
|
# @param ansible_ansible_collection_deprecated [AnsibleAnsibleCollectionDeprecated]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(ansible_ansible_collection_deprecated, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpAnsibleClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -89,7 +86,6 @@ module PulpAnsibleClient
|
|
|
89
86
|
# List ansible collection deprecateds
|
|
90
87
|
# ViewSet for AnsibleCollectionDeprecated.
|
|
91
88
|
# @param [Hash] opts the optional parameters
|
|
92
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
93
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
94
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
95
91
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -111,7 +107,6 @@ module PulpAnsibleClient
|
|
|
111
107
|
# List ansible collection deprecateds
|
|
112
108
|
# ViewSet for AnsibleCollectionDeprecated.
|
|
113
109
|
# @param [Hash] opts the optional parameters
|
|
114
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
115
110
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
116
111
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
117
112
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -155,7 +150,6 @@ module PulpAnsibleClient
|
|
|
155
150
|
header_params = opts[:header_params] || {}
|
|
156
151
|
# HTTP header 'Accept' (if needed)
|
|
157
152
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
158
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
159
153
|
|
|
160
154
|
# form parameters
|
|
161
155
|
form_params = opts[:form_params] || {}
|
|
@@ -189,7 +183,6 @@ module PulpAnsibleClient
|
|
|
189
183
|
# ViewSet for AnsibleCollectionDeprecated.
|
|
190
184
|
# @param ansible_ansible_collection_deprecated_href [String]
|
|
191
185
|
# @param [Hash] opts the optional parameters
|
|
192
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
193
186
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
194
187
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
195
188
|
# @return [AnsibleAnsibleCollectionDeprecatedResponse]
|
|
@@ -202,7 +195,6 @@ module PulpAnsibleClient
|
|
|
202
195
|
# ViewSet for AnsibleCollectionDeprecated.
|
|
203
196
|
# @param ansible_ansible_collection_deprecated_href [String]
|
|
204
197
|
# @param [Hash] opts the optional parameters
|
|
205
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
206
198
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
207
199
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
208
200
|
# @return [Array<(AnsibleAnsibleCollectionDeprecatedResponse, Integer, Hash)>] AnsibleAnsibleCollectionDeprecatedResponse data, response status code and response headers
|
|
@@ -226,7 +218,6 @@ module PulpAnsibleClient
|
|
|
226
218
|
header_params = opts[:header_params] || {}
|
|
227
219
|
# HTTP header 'Accept' (if needed)
|
|
228
220
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
229
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
230
221
|
|
|
231
222
|
# form parameters
|
|
232
223
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpAnsibleClient
|
|
|
23
23
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
24
24
|
# @param ansible_collection_version_mark [AnsibleCollectionVersionMark]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [AnsibleCollectionVersionMarkResponse]
|
|
28
27
|
def create(ansible_collection_version_mark, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(ansible_collection_version_mark, opts)
|
|
@@ -34,7 +33,6 @@ module PulpAnsibleClient
|
|
|
34
33
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
35
34
|
# @param ansible_collection_version_mark [AnsibleCollectionVersionMark]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(AnsibleCollectionVersionMarkResponse, Integer, Hash)>] AnsibleCollectionVersionMarkResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(ansible_collection_version_mark, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpAnsibleClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -89,7 +86,6 @@ module PulpAnsibleClient
|
|
|
89
86
|
# List collection version marks
|
|
90
87
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
91
88
|
# @param [Hash] opts the optional parameters
|
|
92
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
93
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
94
90
|
# @option opts [String] :marked_collection Filter marks for collection version
|
|
95
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -114,7 +110,6 @@ module PulpAnsibleClient
|
|
|
114
110
|
# List collection version marks
|
|
115
111
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
116
112
|
# @param [Hash] opts the optional parameters
|
|
117
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
118
113
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
119
114
|
# @option opts [String] :marked_collection Filter marks for collection version
|
|
120
115
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -164,7 +159,6 @@ module PulpAnsibleClient
|
|
|
164
159
|
header_params = opts[:header_params] || {}
|
|
165
160
|
# HTTP header 'Accept' (if needed)
|
|
166
161
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
167
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
168
162
|
|
|
169
163
|
# form parameters
|
|
170
164
|
form_params = opts[:form_params] || {}
|
|
@@ -198,7 +192,6 @@ module PulpAnsibleClient
|
|
|
198
192
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
199
193
|
# @param ansible_collection_version_mark_href [String]
|
|
200
194
|
# @param [Hash] opts the optional parameters
|
|
201
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
202
195
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
203
196
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
204
197
|
# @return [AnsibleCollectionVersionMarkResponse]
|
|
@@ -211,7 +204,6 @@ module PulpAnsibleClient
|
|
|
211
204
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
|
212
205
|
# @param ansible_collection_version_mark_href [String]
|
|
213
206
|
# @param [Hash] opts the optional parameters
|
|
214
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
215
207
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
216
208
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
217
209
|
# @return [Array<(AnsibleCollectionVersionMarkResponse, Integer, Hash)>] AnsibleCollectionVersionMarkResponse data, response status code and response headers
|
|
@@ -235,7 +227,6 @@ module PulpAnsibleClient
|
|
|
235
227
|
header_params = opts[:header_params] || {}
|
|
236
228
|
# HTTP header 'Accept' (if needed)
|
|
237
229
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
238
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
239
230
|
|
|
240
231
|
# form parameters
|
|
241
232
|
form_params = opts[:form_params] || {}
|