crc-pulp-python-client 20251119.1__tar.gz → 20260114.4__tar.gz
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.
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/PKG-INFO +1161 -233
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/README.md +25 -13
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/crc_pulp_python_client.egg-info/PKG-INFO +1161 -233
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/crc_pulp_python_client.egg-info/SOURCES.txt +14 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/crc_pulp_python_client.egg-info/requires.txt +1 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/__init__.py +8 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/__init__.py +2 -0
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/api/api_integrity_provenance_api.py +407 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/api_legacy_api.py +61 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/api_simple_api.py +70 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/content_packages_api.py +36 -6
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/api/content_provenance_api.py +1900 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +279 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/configuration.py +3 -3
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/__init__.py +5 -0
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/models/filetype_enum.py +38 -0
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/models/metadata_version_enum.py +44 -0
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py +112 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +4 -2
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/models/protocol_version_enum.py +37 -0
- crc_pulp_python_client-20260114.4/pulpcore/client/pulp_python/models/python_package_provenance_response.py +124 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +11 -3
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_remote.py +4 -2
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_remote_response.py +4 -2
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pyproject.toml +1 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/setup.py +2 -2
- crc_pulp_python_client-20260114.4/test/test_api_integrity_provenance_api.py +39 -0
- crc_pulp_python_client-20260114.4/test/test_content_provenance_api.py +67 -0
- crc_pulp_python_client-20260114.4/test/test_filetype_enum.py +34 -0
- crc_pulp_python_client-20260114.4/test/test_metadata_version_enum.py +34 -0
- crc_pulp_python_client-20260114.4/test/test_paginatedpython_package_provenance_response_list.py +83 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginatedpython_python_package_content_response_list.py +6 -2
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginatedpython_python_remote_response_list.py +4 -2
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_patchedpython_python_remote.py +2 -1
- crc_pulp_python_client-20260114.4/test/test_protocol_version_enum.py +34 -0
- crc_pulp_python_client-20260114.4/test/test_python_package_provenance_response.py +63 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_package_content_response.py +3 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_remote.py +2 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_remote_response.py +2 -1
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repositories_python_versions_api.py +7 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/crc_pulp_python_client.egg-info/dependency_links.txt +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/crc_pulp_python_client.egg-info/top_level.txt +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/__init__.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/__init__.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/api_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api_client.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/api_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/exceptions.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/async_operation_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/content_summary_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/my_permissions_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/nested_role.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/nested_role_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/object_roles_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_publication.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_repository.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/repair.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/repository_version_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/set_label.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/set_label_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/summary_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/unset_label.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/models/unset_label_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/py.typed +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/pulpcore/client/pulp_python/rest.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/setup.cfg +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_api_legacy_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_api_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_api_simple_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_async_operation_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_content_packages_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_content_summary_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_my_permissions_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_nested_role.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_nested_role_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_object_roles_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_package_metadata_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_package_types_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginated_repository_version_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginatedpython_python_publication_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_paginatedpython_python_repository_response_list.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_patchedpython_python_repository.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_policy_enum.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_distribution.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_publication.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_publication_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_repository.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_python_python_repository_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_remotes_python_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repair.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repositories_python_api.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repository_sync_url.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_repository_version_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_set_label.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_set_label_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_summary_response.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_unset_label.py +0 -0
- {crc_pulp_python_client-20251119.1 → crc_pulp_python_client-20260114.4}/test/test_unset_label_response.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crc-pulp_python-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260114.4
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -8,7 +8,7 @@ Author-email: pulp-list@redhat.com
|
|
|
8
8
|
License: GPLv2+
|
|
9
9
|
Keywords: pulp,pulpcore,client,Pulp 3 API
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
|
-
Requires-Dist: urllib3<
|
|
11
|
+
Requires-Dist: urllib3<2.7,>=1.25.3
|
|
12
12
|
Requires-Dist: python-dateutil<2.10.0,>=2.8.1
|
|
13
13
|
Requires-Dist: pydantic>=2
|
|
14
14
|
Requires-Dist: typing-extensions>=4.7.1
|
|
@@ -21,9 +21,118 @@ Dynamic: license
|
|
|
21
21
|
Dynamic: requires-dist
|
|
22
22
|
Dynamic: summary
|
|
23
23
|
|
|
24
|
+
# pulpcore.client.pulp_python.ApiIntegrityProvenanceApi
|
|
25
|
+
|
|
26
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
27
|
+
|
|
28
|
+
Method | HTTP request | Description
|
|
29
|
+
------------- | ------------- | -------------
|
|
30
|
+
[**read**](ApiIntegrityProvenanceApi.md#read) | **GET** /api/pypi/{pulp_domain}/{path}/integrity/{package}/{version}/{filename}/provenance/ | Get package provenance
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# **read**
|
|
34
|
+
> read(filename, package, path, pulp_domain, version, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
35
|
+
|
|
36
|
+
Get package provenance
|
|
37
|
+
|
|
38
|
+
Gets the provenance for a package.
|
|
39
|
+
|
|
40
|
+
### Example
|
|
41
|
+
|
|
42
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
43
|
+
* Basic Authentication (basicAuth):
|
|
44
|
+
* Api Key Authentication (cookieAuth):
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
import pulpcore.client.pulp_python
|
|
48
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
49
|
+
from pprint import pprint
|
|
50
|
+
|
|
51
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
52
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
53
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
54
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# The client must configure the authentication and authorization parameters
|
|
58
|
+
# in accordance with the API server security policy.
|
|
59
|
+
# Examples for each auth method are provided below, use the example that
|
|
60
|
+
# satisfies your auth use case.
|
|
61
|
+
|
|
62
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
63
|
+
|
|
64
|
+
# Configure HTTP basic authorization: basicAuth
|
|
65
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
66
|
+
username = os.environ["USERNAME"],
|
|
67
|
+
password = os.environ["PASSWORD"]
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
# Configure API key authorization: cookieAuth
|
|
71
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
72
|
+
|
|
73
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
74
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
75
|
+
|
|
76
|
+
# Enter a context with an instance of the API client
|
|
77
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
78
|
+
# Create an instance of the API class
|
|
79
|
+
api_instance = pulpcore.client.pulp_python.ApiIntegrityProvenanceApi(api_client)
|
|
80
|
+
filename = 'filename_example' # str |
|
|
81
|
+
package = 'package_example' # str |
|
|
82
|
+
path = 'path_example' # str |
|
|
83
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
84
|
+
version = 'version_example' # str |
|
|
85
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
86
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
87
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
# Get package provenance
|
|
91
|
+
api_instance.read(filename, package, path, pulp_domain, version, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
92
|
+
except Exception as e:
|
|
93
|
+
print("Exception when calling ApiIntegrityProvenanceApi->read: %s\n" % e)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Parameters
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
Name | Type | Description | Notes
|
|
102
|
+
------------- | ------------- | ------------- | -------------
|
|
103
|
+
**filename** | **str**| |
|
|
104
|
+
**package** | **str**| |
|
|
105
|
+
**path** | **str**| |
|
|
106
|
+
**pulp_domain** | **str**| |
|
|
107
|
+
**version** | **str**| |
|
|
108
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
109
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
110
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
111
|
+
|
|
112
|
+
### Return type
|
|
113
|
+
|
|
114
|
+
void (empty response body)
|
|
115
|
+
|
|
116
|
+
### Authorization
|
|
117
|
+
|
|
118
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
119
|
+
|
|
120
|
+
### HTTP request headers
|
|
121
|
+
|
|
122
|
+
- **Content-Type**: Not defined
|
|
123
|
+
- **Accept**: Not defined
|
|
124
|
+
|
|
125
|
+
### HTTP response details
|
|
126
|
+
|
|
127
|
+
| Status code | Description | Response headers |
|
|
128
|
+
|-------------|-------------|------------------|
|
|
129
|
+
**200** | No response body | - |
|
|
130
|
+
|
|
131
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
132
|
+
|
|
24
133
|
# pulpcore.client.pulp_python.ApiLegacyApi
|
|
25
134
|
|
|
26
|
-
All URIs are relative to *https://env-ephemeral-
|
|
135
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
27
136
|
|
|
28
137
|
Method | HTTP request | Description
|
|
29
138
|
------------- | ------------- | -------------
|
|
@@ -31,7 +140,7 @@ Method | HTTP request | Description
|
|
|
31
140
|
|
|
32
141
|
|
|
33
142
|
# **create**
|
|
34
|
-
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
143
|
+
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
35
144
|
|
|
36
145
|
Upload a package
|
|
37
146
|
|
|
@@ -49,10 +158,10 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
49
158
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
50
159
|
from pprint import pprint
|
|
51
160
|
|
|
52
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
161
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
53
162
|
# See configuration.py for a list of all supported configuration parameters.
|
|
54
163
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
55
|
-
host = "https://env-ephemeral-
|
|
164
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
56
165
|
)
|
|
57
166
|
|
|
58
167
|
# The client must configure the authentication and authorization parameters
|
|
@@ -84,10 +193,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
84
193
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
85
194
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
86
195
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
196
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
197
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
198
|
+
metadata_version = pulpcore.client.pulp_python.MetadataVersionEnum() # MetadataVersionEnum | Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 (optional)
|
|
199
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
87
200
|
|
|
88
201
|
try:
|
|
89
202
|
# Upload a package
|
|
90
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
203
|
+
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
91
204
|
print("The response of ApiLegacyApi->create:\n")
|
|
92
205
|
pprint(api_response)
|
|
93
206
|
except Exception as e:
|
|
@@ -107,6 +220,10 @@ Name | Type | Description | Notes
|
|
|
107
220
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
108
221
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
109
222
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
223
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
224
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
225
|
+
**metadata_version** | [**MetadataVersionEnum**](MetadataVersionEnum.md)| Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 | [optional]
|
|
226
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
110
227
|
|
|
111
228
|
### Return type
|
|
112
229
|
|
|
@@ -131,7 +248,7 @@ Name | Type | Description | Notes
|
|
|
131
248
|
|
|
132
249
|
# pulpcore.client.pulp_python.ApiPypiApi
|
|
133
250
|
|
|
134
|
-
All URIs are relative to *https://env-ephemeral-
|
|
251
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
135
252
|
|
|
136
253
|
Method | HTTP request | Description
|
|
137
254
|
------------- | ------------- | -------------
|
|
@@ -157,10 +274,10 @@ from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
|
|
157
274
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
158
275
|
from pprint import pprint
|
|
159
276
|
|
|
160
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
277
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
161
278
|
# See configuration.py for a list of all supported configuration parameters.
|
|
162
279
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
163
|
-
host = "https://env-ephemeral-
|
|
280
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
164
281
|
)
|
|
165
282
|
|
|
166
283
|
# The client must configure the authentication and authorization parameters
|
|
@@ -237,7 +354,7 @@ Name | Type | Description | Notes
|
|
|
237
354
|
|
|
238
355
|
# pulpcore.client.pulp_python.ApiSimpleApi
|
|
239
356
|
|
|
240
|
-
All URIs are relative to *https://env-ephemeral-
|
|
357
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
241
358
|
|
|
242
359
|
Method | HTTP request | Description
|
|
243
360
|
------------- | ------------- | -------------
|
|
@@ -247,7 +364,7 @@ Method | HTTP request | Description
|
|
|
247
364
|
|
|
248
365
|
|
|
249
366
|
# **create**
|
|
250
|
-
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
367
|
+
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
251
368
|
|
|
252
369
|
Upload a package
|
|
253
370
|
|
|
@@ -255,6 +372,9 @@ Upload package to the index. This endpoint has the same functionality as the upl
|
|
|
255
372
|
|
|
256
373
|
### Example
|
|
257
374
|
|
|
375
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
376
|
+
* Basic Authentication (basicAuth):
|
|
377
|
+
* Api Key Authentication (cookieAuth):
|
|
258
378
|
|
|
259
379
|
```python
|
|
260
380
|
import pulpcore.client.pulp_python
|
|
@@ -262,12 +382,30 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
262
382
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
263
383
|
from pprint import pprint
|
|
264
384
|
|
|
265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
385
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
266
386
|
# See configuration.py for a list of all supported configuration parameters.
|
|
267
387
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
268
|
-
host = "https://env-ephemeral-
|
|
388
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
269
389
|
)
|
|
270
390
|
|
|
391
|
+
# The client must configure the authentication and authorization parameters
|
|
392
|
+
# in accordance with the API server security policy.
|
|
393
|
+
# Examples for each auth method are provided below, use the example that
|
|
394
|
+
# satisfies your auth use case.
|
|
395
|
+
|
|
396
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
397
|
+
|
|
398
|
+
# Configure HTTP basic authorization: basicAuth
|
|
399
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
400
|
+
username = os.environ["USERNAME"],
|
|
401
|
+
password = os.environ["PASSWORD"]
|
|
402
|
+
)
|
|
403
|
+
|
|
404
|
+
# Configure API key authorization: cookieAuth
|
|
405
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
406
|
+
|
|
407
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
408
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
271
409
|
|
|
272
410
|
# Enter a context with an instance of the API client
|
|
273
411
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -279,10 +417,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
279
417
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
280
418
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
281
419
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
420
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
421
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
422
|
+
metadata_version = pulpcore.client.pulp_python.MetadataVersionEnum() # MetadataVersionEnum | Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 (optional)
|
|
423
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
282
424
|
|
|
283
425
|
try:
|
|
284
426
|
# Upload a package
|
|
285
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
427
|
+
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
286
428
|
print("The response of ApiSimpleApi->create:\n")
|
|
287
429
|
pprint(api_response)
|
|
288
430
|
except Exception as e:
|
|
@@ -302,6 +444,10 @@ Name | Type | Description | Notes
|
|
|
302
444
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
303
445
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
304
446
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
447
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
448
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
449
|
+
**metadata_version** | [**MetadataVersionEnum**](MetadataVersionEnum.md)| Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 | [optional]
|
|
450
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
305
451
|
|
|
306
452
|
### Return type
|
|
307
453
|
|
|
@@ -309,7 +455,7 @@ Name | Type | Description | Notes
|
|
|
309
455
|
|
|
310
456
|
### Authorization
|
|
311
457
|
|
|
312
|
-
|
|
458
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
313
459
|
|
|
314
460
|
### HTTP request headers
|
|
315
461
|
|
|
@@ -333,18 +479,39 @@ Retrieves the simple api html/json page for a package.
|
|
|
333
479
|
|
|
334
480
|
### Example
|
|
335
481
|
|
|
482
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
483
|
+
* Basic Authentication (basicAuth):
|
|
484
|
+
* Api Key Authentication (cookieAuth):
|
|
336
485
|
|
|
337
486
|
```python
|
|
338
487
|
import pulpcore.client.pulp_python
|
|
339
488
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
340
489
|
from pprint import pprint
|
|
341
490
|
|
|
342
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
491
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
343
492
|
# See configuration.py for a list of all supported configuration parameters.
|
|
344
493
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
345
|
-
host = "https://env-ephemeral-
|
|
494
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
# The client must configure the authentication and authorization parameters
|
|
498
|
+
# in accordance with the API server security policy.
|
|
499
|
+
# Examples for each auth method are provided below, use the example that
|
|
500
|
+
# satisfies your auth use case.
|
|
501
|
+
|
|
502
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
503
|
+
|
|
504
|
+
# Configure HTTP basic authorization: basicAuth
|
|
505
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
506
|
+
username = os.environ["USERNAME"],
|
|
507
|
+
password = os.environ["PASSWORD"]
|
|
346
508
|
)
|
|
347
509
|
|
|
510
|
+
# Configure API key authorization: cookieAuth
|
|
511
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
512
|
+
|
|
513
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
514
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
348
515
|
|
|
349
516
|
# Enter a context with an instance of the API client
|
|
350
517
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -386,7 +553,7 @@ void (empty response body)
|
|
|
386
553
|
|
|
387
554
|
### Authorization
|
|
388
555
|
|
|
389
|
-
|
|
556
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
390
557
|
|
|
391
558
|
### HTTP request headers
|
|
392
559
|
|
|
@@ -410,18 +577,39 @@ Gets the simple api html page for the index.
|
|
|
410
577
|
|
|
411
578
|
### Example
|
|
412
579
|
|
|
580
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
581
|
+
* Basic Authentication (basicAuth):
|
|
582
|
+
* Api Key Authentication (cookieAuth):
|
|
413
583
|
|
|
414
584
|
```python
|
|
415
585
|
import pulpcore.client.pulp_python
|
|
416
586
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
417
587
|
from pprint import pprint
|
|
418
588
|
|
|
419
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
589
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
420
590
|
# See configuration.py for a list of all supported configuration parameters.
|
|
421
591
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
422
|
-
host = "https://env-ephemeral-
|
|
592
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
593
|
+
)
|
|
594
|
+
|
|
595
|
+
# The client must configure the authentication and authorization parameters
|
|
596
|
+
# in accordance with the API server security policy.
|
|
597
|
+
# Examples for each auth method are provided below, use the example that
|
|
598
|
+
# satisfies your auth use case.
|
|
599
|
+
|
|
600
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
601
|
+
|
|
602
|
+
# Configure HTTP basic authorization: basicAuth
|
|
603
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
604
|
+
username = os.environ["USERNAME"],
|
|
605
|
+
password = os.environ["PASSWORD"]
|
|
423
606
|
)
|
|
424
607
|
|
|
608
|
+
# Configure API key authorization: cookieAuth
|
|
609
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
610
|
+
|
|
611
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
612
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
425
613
|
|
|
426
614
|
# Enter a context with an instance of the API client
|
|
427
615
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -461,7 +649,7 @@ void (empty response body)
|
|
|
461
649
|
|
|
462
650
|
### Authorization
|
|
463
651
|
|
|
464
|
-
|
|
652
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
465
653
|
|
|
466
654
|
### HTTP request headers
|
|
467
655
|
|
|
@@ -508,7 +696,7 @@ async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_oper
|
|
|
508
696
|
|
|
509
697
|
# pulpcore.client.pulp_python.ContentPackagesApi
|
|
510
698
|
|
|
511
|
-
All URIs are relative to *https://env-ephemeral-
|
|
699
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
512
700
|
|
|
513
701
|
Method | HTTP request | Description
|
|
514
702
|
------------- | ------------- | -------------
|
|
@@ -521,7 +709,7 @@ Method | HTTP request | Description
|
|
|
521
709
|
|
|
522
710
|
|
|
523
711
|
# **create**
|
|
524
|
-
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256)
|
|
712
|
+
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
525
713
|
|
|
526
714
|
Create a python package content
|
|
527
715
|
|
|
@@ -539,10 +727,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
539
727
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
540
728
|
from pprint import pprint
|
|
541
729
|
|
|
542
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
730
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
543
731
|
# See configuration.py for a list of all supported configuration parameters.
|
|
544
732
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
545
|
-
host = "https://env-ephemeral-
|
|
733
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
546
734
|
)
|
|
547
735
|
|
|
548
736
|
# The client must configure the authentication and authorization parameters
|
|
@@ -604,10 +792,11 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
604
792
|
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
605
793
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
606
794
|
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
795
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
607
796
|
|
|
608
797
|
try:
|
|
609
798
|
# Create a python package content
|
|
610
|
-
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256)
|
|
799
|
+
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
611
800
|
print("The response of ContentPackagesApi->create:\n")
|
|
612
801
|
pprint(api_response)
|
|
613
802
|
except Exception as e:
|
|
@@ -657,6 +846,7 @@ Name | Type | Description | Notes
|
|
|
657
846
|
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
658
847
|
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
659
848
|
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
849
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
660
850
|
|
|
661
851
|
### Return type
|
|
662
852
|
|
|
@@ -698,10 +888,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_r
|
|
|
698
888
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
699
889
|
from pprint import pprint
|
|
700
890
|
|
|
701
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
891
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
702
892
|
# See configuration.py for a list of all supported configuration parameters.
|
|
703
893
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
704
|
-
host = "https://env-ephemeral-
|
|
894
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
705
895
|
)
|
|
706
896
|
|
|
707
897
|
# The client must configure the authentication and authorization parameters
|
|
@@ -740,7 +930,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
740
930
|
name = 'name_example' # str | Filter results where name matches value (optional)
|
|
741
931
|
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
|
|
742
932
|
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
743
|
-
ordering = ['ordering_example'] # List[str] | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
933
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
744
934
|
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
745
935
|
packagetype = 'packagetype_example' # str | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist (optional)
|
|
746
936
|
packagetype__in = ['packagetype__in_example'] # List[str] | Filter results where packagetype is in a comma-separated list of values (optional)
|
|
@@ -794,7 +984,7 @@ Name | Type | Description | Notes
|
|
|
794
984
|
**name** | **str**| Filter results where name matches value | [optional]
|
|
795
985
|
**name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
796
986
|
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
797
|
-
**ordering** | [**List[str]**](str.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
987
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
798
988
|
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
799
989
|
**packagetype** | **str**| Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist | [optional]
|
|
800
990
|
**packagetype__in** | [**List[str]**](str.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
|
@@ -859,10 +1049,10 @@ from pulpcore.client.pulp_python.models.python_python_package_content_response i
|
|
|
859
1049
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
860
1050
|
from pprint import pprint
|
|
861
1051
|
|
|
862
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1052
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
863
1053
|
# See configuration.py for a list of all supported configuration parameters.
|
|
864
1054
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
865
|
-
host = "https://env-ephemeral-
|
|
1055
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
866
1056
|
)
|
|
867
1057
|
|
|
868
1058
|
# The client must configure the authentication and authorization parameters
|
|
@@ -955,10 +1145,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
955
1145
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
956
1146
|
from pprint import pprint
|
|
957
1147
|
|
|
958
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1148
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
959
1149
|
# See configuration.py for a list of all supported configuration parameters.
|
|
960
1150
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
961
|
-
host = "https://env-ephemeral-
|
|
1151
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
962
1152
|
)
|
|
963
1153
|
|
|
964
1154
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1049,10 +1239,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
1049
1239
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1050
1240
|
from pprint import pprint
|
|
1051
1241
|
|
|
1052
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1242
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1053
1243
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1054
1244
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1055
|
-
host = "https://env-ephemeral-
|
|
1245
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1056
1246
|
)
|
|
1057
1247
|
|
|
1058
1248
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1088,7 +1278,590 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1088
1278
|
print("The response of ContentPackagesApi->unset_label:\n")
|
|
1089
1279
|
pprint(api_response)
|
|
1090
1280
|
except Exception as e:
|
|
1091
|
-
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1281
|
+
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
### Parameters
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
Name | Type | Description | Notes
|
|
1290
|
+
------------- | ------------- | ------------- | -------------
|
|
1291
|
+
**python_python_package_content_href** | **str**| |
|
|
1292
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1293
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1294
|
+
|
|
1295
|
+
### Return type
|
|
1296
|
+
|
|
1297
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1298
|
+
|
|
1299
|
+
### Authorization
|
|
1300
|
+
|
|
1301
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1302
|
+
|
|
1303
|
+
### HTTP request headers
|
|
1304
|
+
|
|
1305
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1306
|
+
- **Accept**: application/json
|
|
1307
|
+
|
|
1308
|
+
### HTTP response details
|
|
1309
|
+
|
|
1310
|
+
| Status code | Description | Response headers |
|
|
1311
|
+
|-------------|-------------|------------------|
|
|
1312
|
+
**201** | | - |
|
|
1313
|
+
|
|
1314
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1315
|
+
|
|
1316
|
+
# **upload**
|
|
1317
|
+
> PythonPythonPackageContentResponse upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1318
|
+
|
|
1319
|
+
Synchronous Python package upload
|
|
1320
|
+
|
|
1321
|
+
Create a Python package.
|
|
1322
|
+
|
|
1323
|
+
### Example
|
|
1324
|
+
|
|
1325
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1326
|
+
* Basic Authentication (basicAuth):
|
|
1327
|
+
* Api Key Authentication (cookieAuth):
|
|
1328
|
+
|
|
1329
|
+
```python
|
|
1330
|
+
import pulpcore.client.pulp_python
|
|
1331
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
1332
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1333
|
+
from pprint import pprint
|
|
1334
|
+
|
|
1335
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1336
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1337
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1338
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1339
|
+
)
|
|
1340
|
+
|
|
1341
|
+
# The client must configure the authentication and authorization parameters
|
|
1342
|
+
# in accordance with the API server security policy.
|
|
1343
|
+
# Examples for each auth method are provided below, use the example that
|
|
1344
|
+
# satisfies your auth use case.
|
|
1345
|
+
|
|
1346
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1347
|
+
|
|
1348
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1349
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1350
|
+
username = os.environ["USERNAME"],
|
|
1351
|
+
password = os.environ["PASSWORD"]
|
|
1352
|
+
)
|
|
1353
|
+
|
|
1354
|
+
# Configure API key authorization: cookieAuth
|
|
1355
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1356
|
+
|
|
1357
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1358
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1359
|
+
|
|
1360
|
+
# Enter a context with an instance of the API client
|
|
1361
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1362
|
+
# Create an instance of the API class
|
|
1363
|
+
api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
|
|
1364
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1365
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1366
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1367
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1368
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1369
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1370
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1371
|
+
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1372
|
+
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1373
|
+
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1374
|
+
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1375
|
+
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1376
|
+
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1377
|
+
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1378
|
+
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1379
|
+
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1380
|
+
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1381
|
+
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1382
|
+
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1383
|
+
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1384
|
+
obsoletes_dist = None # object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional)
|
|
1385
|
+
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1386
|
+
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1387
|
+
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1388
|
+
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1389
|
+
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1390
|
+
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1391
|
+
description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
|
|
1392
|
+
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1393
|
+
dynamic = None # object | A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. (optional)
|
|
1394
|
+
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1395
|
+
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1396
|
+
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1397
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1398
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
1399
|
+
|
|
1400
|
+
try:
|
|
1401
|
+
# Synchronous Python package upload
|
|
1402
|
+
api_response = api_instance.upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1403
|
+
print("The response of ContentPackagesApi->upload:\n")
|
|
1404
|
+
pprint(api_response)
|
|
1405
|
+
except Exception as e:
|
|
1406
|
+
print("Exception when calling ContentPackagesApi->upload: %s\n" % e)
|
|
1407
|
+
```
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
### Parameters
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
Name | Type | Description | Notes
|
|
1415
|
+
------------- | ------------- | ------------- | -------------
|
|
1416
|
+
**pulp_domain** | **str**| |
|
|
1417
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1418
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1419
|
+
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1420
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1421
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1422
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1423
|
+
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1424
|
+
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1425
|
+
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1426
|
+
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1427
|
+
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1428
|
+
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1429
|
+
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1430
|
+
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1431
|
+
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1432
|
+
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1433
|
+
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1434
|
+
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1435
|
+
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1436
|
+
**obsoletes_dist** | [**object**](object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
|
1437
|
+
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1438
|
+
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1439
|
+
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1440
|
+
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1441
|
+
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1442
|
+
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1443
|
+
**description_content_type** | **str**| A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. | [optional]
|
|
1444
|
+
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1445
|
+
**dynamic** | [**object**](object.md)| A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. | [optional]
|
|
1446
|
+
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1447
|
+
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1448
|
+
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1449
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1450
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
1451
|
+
|
|
1452
|
+
### Return type
|
|
1453
|
+
|
|
1454
|
+
[**PythonPythonPackageContentResponse**](PythonPythonPackageContentResponse.md)
|
|
1455
|
+
|
|
1456
|
+
### Authorization
|
|
1457
|
+
|
|
1458
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1459
|
+
|
|
1460
|
+
### HTTP request headers
|
|
1461
|
+
|
|
1462
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1463
|
+
- **Accept**: application/json
|
|
1464
|
+
|
|
1465
|
+
### HTTP response details
|
|
1466
|
+
|
|
1467
|
+
| Status code | Description | Response headers |
|
|
1468
|
+
|-------------|-------------|------------------|
|
|
1469
|
+
**201** | | - |
|
|
1470
|
+
|
|
1471
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1472
|
+
|
|
1473
|
+
# pulpcore.client.pulp_python.ContentProvenanceApi
|
|
1474
|
+
|
|
1475
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1476
|
+
|
|
1477
|
+
Method | HTTP request | Description
|
|
1478
|
+
------------- | ------------- | -------------
|
|
1479
|
+
[**create**](ContentProvenanceApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | Create a package provenance
|
|
1480
|
+
[**list**](ContentProvenanceApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | List package provenances
|
|
1481
|
+
[**read**](ContentProvenanceApi.md#read) | **GET** {python_package_provenance_href} | Inspect a package provenance
|
|
1482
|
+
[**set_label**](ContentProvenanceApi.md#set_label) | **POST** {python_package_provenance_href}set_label/ | Set a label
|
|
1483
|
+
[**unset_label**](ContentProvenanceApi.md#unset_label) | **POST** {python_package_provenance_href}unset_label/ | Unset a label
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
# **create**
|
|
1487
|
+
> AsyncOperationResponse create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1488
|
+
|
|
1489
|
+
Create a package provenance
|
|
1490
|
+
|
|
1491
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
|
1492
|
+
|
|
1493
|
+
### Example
|
|
1494
|
+
|
|
1495
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1496
|
+
* Basic Authentication (basicAuth):
|
|
1497
|
+
* Api Key Authentication (cookieAuth):
|
|
1498
|
+
|
|
1499
|
+
```python
|
|
1500
|
+
import pulpcore.client.pulp_python
|
|
1501
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
1502
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1503
|
+
from pprint import pprint
|
|
1504
|
+
|
|
1505
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1506
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1507
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1508
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1509
|
+
)
|
|
1510
|
+
|
|
1511
|
+
# The client must configure the authentication and authorization parameters
|
|
1512
|
+
# in accordance with the API server security policy.
|
|
1513
|
+
# Examples for each auth method are provided below, use the example that
|
|
1514
|
+
# satisfies your auth use case.
|
|
1515
|
+
|
|
1516
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1517
|
+
|
|
1518
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1519
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1520
|
+
username = os.environ["USERNAME"],
|
|
1521
|
+
password = os.environ["PASSWORD"]
|
|
1522
|
+
)
|
|
1523
|
+
|
|
1524
|
+
# Configure API key authorization: cookieAuth
|
|
1525
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1526
|
+
|
|
1527
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1528
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1529
|
+
|
|
1530
|
+
# Enter a context with an instance of the API client
|
|
1531
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1532
|
+
# Create an instance of the API class
|
|
1533
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1534
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1535
|
+
package = 'package_example' # str | The package that the provenance is for.
|
|
1536
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1537
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
1538
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1539
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1540
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1541
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1542
|
+
verify = True # bool | Verify each attestation in the provenance. (optional) (default to True)
|
|
1543
|
+
|
|
1544
|
+
try:
|
|
1545
|
+
# Create a package provenance
|
|
1546
|
+
api_response = api_instance.create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1547
|
+
print("The response of ContentProvenanceApi->create:\n")
|
|
1548
|
+
pprint(api_response)
|
|
1549
|
+
except Exception as e:
|
|
1550
|
+
print("Exception when calling ContentProvenanceApi->create: %s\n" % e)
|
|
1551
|
+
```
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
### Parameters
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
Name | Type | Description | Notes
|
|
1559
|
+
------------- | ------------- | ------------- | -------------
|
|
1560
|
+
**pulp_domain** | **str**| |
|
|
1561
|
+
**package** | **str**| The package that the provenance is for. |
|
|
1562
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1563
|
+
**repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
1564
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1565
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1566
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1567
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1568
|
+
**verify** | **bool**| Verify each attestation in the provenance. | [optional] [default to True]
|
|
1569
|
+
|
|
1570
|
+
### Return type
|
|
1571
|
+
|
|
1572
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
1573
|
+
|
|
1574
|
+
### Authorization
|
|
1575
|
+
|
|
1576
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1577
|
+
|
|
1578
|
+
### HTTP request headers
|
|
1579
|
+
|
|
1580
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1581
|
+
- **Accept**: application/json
|
|
1582
|
+
|
|
1583
|
+
### HTTP response details
|
|
1584
|
+
|
|
1585
|
+
| Status code | Description | Response headers |
|
|
1586
|
+
|-------------|-------------|------------------|
|
|
1587
|
+
**202** | | - |
|
|
1588
|
+
|
|
1589
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1590
|
+
|
|
1591
|
+
# **list**
|
|
1592
|
+
> PaginatedpythonPackageProvenanceResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1593
|
+
|
|
1594
|
+
List package provenances
|
|
1595
|
+
|
|
1596
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1597
|
+
|
|
1598
|
+
### Example
|
|
1599
|
+
|
|
1600
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1601
|
+
* Basic Authentication (basicAuth):
|
|
1602
|
+
* Api Key Authentication (cookieAuth):
|
|
1603
|
+
|
|
1604
|
+
```python
|
|
1605
|
+
import pulpcore.client.pulp_python
|
|
1606
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
1607
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1608
|
+
from pprint import pprint
|
|
1609
|
+
|
|
1610
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1611
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1612
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1613
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1614
|
+
)
|
|
1615
|
+
|
|
1616
|
+
# The client must configure the authentication and authorization parameters
|
|
1617
|
+
# in accordance with the API server security policy.
|
|
1618
|
+
# Examples for each auth method are provided below, use the example that
|
|
1619
|
+
# satisfies your auth use case.
|
|
1620
|
+
|
|
1621
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1622
|
+
|
|
1623
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1624
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1625
|
+
username = os.environ["USERNAME"],
|
|
1626
|
+
password = os.environ["PASSWORD"]
|
|
1627
|
+
)
|
|
1628
|
+
|
|
1629
|
+
# Configure API key authorization: cookieAuth
|
|
1630
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1631
|
+
|
|
1632
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1633
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1634
|
+
|
|
1635
|
+
# Enter a context with an instance of the API client
|
|
1636
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1637
|
+
# Create an instance of the API class
|
|
1638
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1639
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1640
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1641
|
+
limit = 56 # int | Number of results to return per page. (optional)
|
|
1642
|
+
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
1643
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
1644
|
+
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
1645
|
+
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1646
|
+
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1647
|
+
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1648
|
+
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
|
|
1649
|
+
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
|
|
1650
|
+
repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1651
|
+
repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1652
|
+
repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1653
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1654
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1655
|
+
|
|
1656
|
+
try:
|
|
1657
|
+
# List package provenances
|
|
1658
|
+
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1659
|
+
print("The response of ContentProvenanceApi->list:\n")
|
|
1660
|
+
pprint(api_response)
|
|
1661
|
+
except Exception as e:
|
|
1662
|
+
print("Exception when calling ContentProvenanceApi->list: %s\n" % e)
|
|
1663
|
+
```
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
### Parameters
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
Name | Type | Description | Notes
|
|
1671
|
+
------------- | ------------- | ------------- | -------------
|
|
1672
|
+
**pulp_domain** | **str**| |
|
|
1673
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1674
|
+
**limit** | **int**| Number of results to return per page. | [optional]
|
|
1675
|
+
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
1676
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
1677
|
+
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
1678
|
+
**prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1679
|
+
**pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1680
|
+
**pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1681
|
+
**pulp_label_select** | **str**| Filter labels by search string | [optional]
|
|
1682
|
+
**q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
1683
|
+
**repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1684
|
+
**repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1685
|
+
**repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1686
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1687
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1688
|
+
|
|
1689
|
+
### Return type
|
|
1690
|
+
|
|
1691
|
+
[**PaginatedpythonPackageProvenanceResponseList**](PaginatedpythonPackageProvenanceResponseList.md)
|
|
1692
|
+
|
|
1693
|
+
### Authorization
|
|
1694
|
+
|
|
1695
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1696
|
+
|
|
1697
|
+
### HTTP request headers
|
|
1698
|
+
|
|
1699
|
+
- **Content-Type**: Not defined
|
|
1700
|
+
- **Accept**: application/json
|
|
1701
|
+
|
|
1702
|
+
### HTTP response details
|
|
1703
|
+
|
|
1704
|
+
| Status code | Description | Response headers |
|
|
1705
|
+
|-------------|-------------|------------------|
|
|
1706
|
+
**200** | | - |
|
|
1707
|
+
|
|
1708
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1709
|
+
|
|
1710
|
+
# **read**
|
|
1711
|
+
> PythonPackageProvenanceResponse read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1712
|
+
|
|
1713
|
+
Inspect a package provenance
|
|
1714
|
+
|
|
1715
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1716
|
+
|
|
1717
|
+
### Example
|
|
1718
|
+
|
|
1719
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1720
|
+
* Basic Authentication (basicAuth):
|
|
1721
|
+
* Api Key Authentication (cookieAuth):
|
|
1722
|
+
|
|
1723
|
+
```python
|
|
1724
|
+
import pulpcore.client.pulp_python
|
|
1725
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
1726
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1727
|
+
from pprint import pprint
|
|
1728
|
+
|
|
1729
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1730
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1731
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1732
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1733
|
+
)
|
|
1734
|
+
|
|
1735
|
+
# The client must configure the authentication and authorization parameters
|
|
1736
|
+
# in accordance with the API server security policy.
|
|
1737
|
+
# Examples for each auth method are provided below, use the example that
|
|
1738
|
+
# satisfies your auth use case.
|
|
1739
|
+
|
|
1740
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1741
|
+
|
|
1742
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1743
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1744
|
+
username = os.environ["USERNAME"],
|
|
1745
|
+
password = os.environ["PASSWORD"]
|
|
1746
|
+
)
|
|
1747
|
+
|
|
1748
|
+
# Configure API key authorization: cookieAuth
|
|
1749
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1750
|
+
|
|
1751
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1752
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1753
|
+
|
|
1754
|
+
# Enter a context with an instance of the API client
|
|
1755
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1756
|
+
# Create an instance of the API class
|
|
1757
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1758
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1759
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1760
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1761
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1762
|
+
|
|
1763
|
+
try:
|
|
1764
|
+
# Inspect a package provenance
|
|
1765
|
+
api_response = api_instance.read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1766
|
+
print("The response of ContentProvenanceApi->read:\n")
|
|
1767
|
+
pprint(api_response)
|
|
1768
|
+
except Exception as e:
|
|
1769
|
+
print("Exception when calling ContentProvenanceApi->read: %s\n" % e)
|
|
1770
|
+
```
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
### Parameters
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
Name | Type | Description | Notes
|
|
1778
|
+
------------- | ------------- | ------------- | -------------
|
|
1779
|
+
**python_package_provenance_href** | **str**| |
|
|
1780
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1781
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1782
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1783
|
+
|
|
1784
|
+
### Return type
|
|
1785
|
+
|
|
1786
|
+
[**PythonPackageProvenanceResponse**](PythonPackageProvenanceResponse.md)
|
|
1787
|
+
|
|
1788
|
+
### Authorization
|
|
1789
|
+
|
|
1790
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1791
|
+
|
|
1792
|
+
### HTTP request headers
|
|
1793
|
+
|
|
1794
|
+
- **Content-Type**: Not defined
|
|
1795
|
+
- **Accept**: application/json
|
|
1796
|
+
|
|
1797
|
+
### HTTP response details
|
|
1798
|
+
|
|
1799
|
+
| Status code | Description | Response headers |
|
|
1800
|
+
|-------------|-------------|------------------|
|
|
1801
|
+
**200** | | - |
|
|
1802
|
+
|
|
1803
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1804
|
+
|
|
1805
|
+
# **set_label**
|
|
1806
|
+
> SetLabelResponse set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1807
|
+
|
|
1808
|
+
Set a label
|
|
1809
|
+
|
|
1810
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1811
|
+
|
|
1812
|
+
### Example
|
|
1813
|
+
|
|
1814
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1815
|
+
* Basic Authentication (basicAuth):
|
|
1816
|
+
* Api Key Authentication (cookieAuth):
|
|
1817
|
+
|
|
1818
|
+
```python
|
|
1819
|
+
import pulpcore.client.pulp_python
|
|
1820
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
1821
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
1822
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1823
|
+
from pprint import pprint
|
|
1824
|
+
|
|
1825
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1826
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1827
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1828
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1829
|
+
)
|
|
1830
|
+
|
|
1831
|
+
# The client must configure the authentication and authorization parameters
|
|
1832
|
+
# in accordance with the API server security policy.
|
|
1833
|
+
# Examples for each auth method are provided below, use the example that
|
|
1834
|
+
# satisfies your auth use case.
|
|
1835
|
+
|
|
1836
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1837
|
+
|
|
1838
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1839
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1840
|
+
username = os.environ["USERNAME"],
|
|
1841
|
+
password = os.environ["PASSWORD"]
|
|
1842
|
+
)
|
|
1843
|
+
|
|
1844
|
+
# Configure API key authorization: cookieAuth
|
|
1845
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1846
|
+
|
|
1847
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1848
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1849
|
+
|
|
1850
|
+
# Enter a context with an instance of the API client
|
|
1851
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1852
|
+
# Create an instance of the API class
|
|
1853
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1854
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1855
|
+
set_label = pulpcore.client.pulp_python.SetLabel() # SetLabel |
|
|
1856
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1857
|
+
|
|
1858
|
+
try:
|
|
1859
|
+
# Set a label
|
|
1860
|
+
api_response = api_instance.set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1861
|
+
print("The response of ContentProvenanceApi->set_label:\n")
|
|
1862
|
+
pprint(api_response)
|
|
1863
|
+
except Exception as e:
|
|
1864
|
+
print("Exception when calling ContentProvenanceApi->set_label: %s\n" % e)
|
|
1092
1865
|
```
|
|
1093
1866
|
|
|
1094
1867
|
|
|
@@ -1098,13 +1871,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1098
1871
|
|
|
1099
1872
|
Name | Type | Description | Notes
|
|
1100
1873
|
------------- | ------------- | ------------- | -------------
|
|
1101
|
-
**
|
|
1102
|
-
**
|
|
1874
|
+
**python_package_provenance_href** | **str**| |
|
|
1875
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
1103
1876
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1104
1877
|
|
|
1105
1878
|
### Return type
|
|
1106
1879
|
|
|
1107
|
-
[**
|
|
1880
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
|
1108
1881
|
|
|
1109
1882
|
### Authorization
|
|
1110
1883
|
|
|
@@ -1123,12 +1896,12 @@ Name | Type | Description | Notes
|
|
|
1123
1896
|
|
|
1124
1897
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1125
1898
|
|
|
1126
|
-
# **
|
|
1127
|
-
>
|
|
1899
|
+
# **unset_label**
|
|
1900
|
+
> UnsetLabelResponse unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1128
1901
|
|
|
1129
|
-
|
|
1902
|
+
Unset a label
|
|
1130
1903
|
|
|
1131
|
-
|
|
1904
|
+
Unset a single pulp_label on the object.
|
|
1132
1905
|
|
|
1133
1906
|
### Example
|
|
1134
1907
|
|
|
@@ -1138,14 +1911,15 @@ Create a Python package.
|
|
|
1138
1911
|
|
|
1139
1912
|
```python
|
|
1140
1913
|
import pulpcore.client.pulp_python
|
|
1141
|
-
from pulpcore.client.pulp_python.models.
|
|
1914
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
1915
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
1142
1916
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1143
1917
|
from pprint import pprint
|
|
1144
1918
|
|
|
1145
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1919
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1146
1920
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1147
1921
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1148
|
-
host = "https://env-ephemeral-
|
|
1922
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1149
1923
|
)
|
|
1150
1924
|
|
|
1151
1925
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1170,49 +1944,18 @@ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
|
1170
1944
|
# Enter a context with an instance of the API client
|
|
1171
1945
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1172
1946
|
# Create an instance of the API class
|
|
1173
|
-
api_instance = pulpcore.client.pulp_python.
|
|
1174
|
-
|
|
1947
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1948
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1949
|
+
unset_label = pulpcore.client.pulp_python.UnsetLabel() # UnsetLabel |
|
|
1175
1950
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1176
|
-
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1177
|
-
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1178
|
-
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1179
|
-
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1180
|
-
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1181
|
-
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1182
|
-
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1183
|
-
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1184
|
-
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1185
|
-
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1186
|
-
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1187
|
-
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1188
|
-
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1189
|
-
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1190
|
-
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1191
|
-
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1192
|
-
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1193
|
-
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1194
|
-
obsoletes_dist = None # object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional)
|
|
1195
|
-
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1196
|
-
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1197
|
-
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1198
|
-
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1199
|
-
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1200
|
-
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1201
|
-
description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
|
|
1202
|
-
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1203
|
-
dynamic = None # object | A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. (optional)
|
|
1204
|
-
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1205
|
-
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1206
|
-
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1207
|
-
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1208
1951
|
|
|
1209
1952
|
try:
|
|
1210
|
-
#
|
|
1211
|
-
api_response = api_instance.
|
|
1212
|
-
print("The response of
|
|
1953
|
+
# Unset a label
|
|
1954
|
+
api_response = api_instance.unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1955
|
+
print("The response of ContentProvenanceApi->unset_label:\n")
|
|
1213
1956
|
pprint(api_response)
|
|
1214
1957
|
except Exception as e:
|
|
1215
|
-
print("Exception when calling
|
|
1958
|
+
print("Exception when calling ContentProvenanceApi->unset_label: %s\n" % e)
|
|
1216
1959
|
```
|
|
1217
1960
|
|
|
1218
1961
|
|
|
@@ -1222,44 +1965,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1222
1965
|
|
|
1223
1966
|
Name | Type | Description | Notes
|
|
1224
1967
|
------------- | ------------- | ------------- | -------------
|
|
1225
|
-
**
|
|
1968
|
+
**python_package_provenance_href** | **str**| |
|
|
1969
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1226
1970
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1227
|
-
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1228
|
-
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1229
|
-
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1230
|
-
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1231
|
-
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1232
|
-
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1233
|
-
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1234
|
-
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1235
|
-
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1236
|
-
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1237
|
-
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1238
|
-
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1239
|
-
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1240
|
-
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1241
|
-
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1242
|
-
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1243
|
-
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1244
|
-
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1245
|
-
**obsoletes_dist** | [**object**](object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
|
1246
|
-
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1247
|
-
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1248
|
-
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1249
|
-
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1250
|
-
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1251
|
-
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1252
|
-
**description_content_type** | **str**| A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. | [optional]
|
|
1253
|
-
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1254
|
-
**dynamic** | [**object**](object.md)| A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. | [optional]
|
|
1255
|
-
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1256
|
-
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1257
|
-
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1258
|
-
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1259
1971
|
|
|
1260
1972
|
### Return type
|
|
1261
1973
|
|
|
1262
|
-
[**
|
|
1974
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1263
1975
|
|
|
1264
1976
|
### Authorization
|
|
1265
1977
|
|
|
@@ -1267,7 +1979,7 @@ Name | Type | Description | Notes
|
|
|
1267
1979
|
|
|
1268
1980
|
### HTTP request headers
|
|
1269
1981
|
|
|
1270
|
-
- **Content-Type**:
|
|
1982
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1271
1983
|
- **Accept**: application/json
|
|
1272
1984
|
|
|
1273
1985
|
### HTTP response details
|
|
@@ -1312,7 +2024,7 @@ content_summary_response_from_dict = ContentSummaryResponse.from_dict(content_su
|
|
|
1312
2024
|
|
|
1313
2025
|
# pulpcore.client.pulp_python.DistributionsPypiApi
|
|
1314
2026
|
|
|
1315
|
-
All URIs are relative to *https://env-ephemeral-
|
|
2027
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1316
2028
|
|
|
1317
2029
|
Method | HTTP request | Description
|
|
1318
2030
|
------------- | ------------- | -------------
|
|
@@ -1350,10 +2062,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
1350
2062
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1351
2063
|
from pprint import pprint
|
|
1352
2064
|
|
|
1353
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2065
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1354
2066
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1355
2067
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1356
|
-
host = "https://env-ephemeral-
|
|
2068
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1357
2069
|
)
|
|
1358
2070
|
|
|
1359
2071
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1444,10 +2156,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution import Python
|
|
|
1444
2156
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1445
2157
|
from pprint import pprint
|
|
1446
2158
|
|
|
1447
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2159
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1448
2160
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1449
2161
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1450
|
-
host = "https://env-ephemeral-
|
|
2162
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1451
2163
|
)
|
|
1452
2164
|
|
|
1453
2165
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1537,10 +2249,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
1537
2249
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1538
2250
|
from pprint import pprint
|
|
1539
2251
|
|
|
1540
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2252
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1541
2253
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1542
2254
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1543
|
-
host = "https://env-ephemeral-
|
|
2255
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1544
2256
|
)
|
|
1545
2257
|
|
|
1546
2258
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1628,10 +2340,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_resp
|
|
|
1628
2340
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1629
2341
|
from pprint import pprint
|
|
1630
2342
|
|
|
1631
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2343
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1632
2344
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1633
2345
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1634
|
-
host = "https://env-ephemeral-
|
|
2346
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1635
2347
|
)
|
|
1636
2348
|
|
|
1637
2349
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1773,10 +2485,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
1773
2485
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1774
2486
|
from pprint import pprint
|
|
1775
2487
|
|
|
1776
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2488
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1777
2489
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1778
2490
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1779
|
-
host = "https://env-ephemeral-
|
|
2491
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1780
2492
|
)
|
|
1781
2493
|
|
|
1782
2494
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1868,10 +2580,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
1868
2580
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1869
2581
|
from pprint import pprint
|
|
1870
2582
|
|
|
1871
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2583
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1872
2584
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1873
2585
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1874
|
-
host = "https://env-ephemeral-
|
|
2586
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1875
2587
|
)
|
|
1876
2588
|
|
|
1877
2589
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1964,10 +2676,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
1964
2676
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1965
2677
|
from pprint import pprint
|
|
1966
2678
|
|
|
1967
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2679
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1968
2680
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1969
2681
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1970
|
-
host = "https://env-ephemeral-
|
|
2682
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1971
2683
|
)
|
|
1972
2684
|
|
|
1973
2685
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2058,10 +2770,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2058
2770
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2059
2771
|
from pprint import pprint
|
|
2060
2772
|
|
|
2061
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2773
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2062
2774
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2063
2775
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2064
|
-
host = "https://env-ephemeral-
|
|
2776
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2065
2777
|
)
|
|
2066
2778
|
|
|
2067
2779
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2154,10 +2866,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
2154
2866
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2155
2867
|
from pprint import pprint
|
|
2156
2868
|
|
|
2157
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2869
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2158
2870
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2159
2871
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2160
|
-
host = "https://env-ephemeral-
|
|
2872
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2161
2873
|
)
|
|
2162
2874
|
|
|
2163
2875
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2248,10 +2960,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
2248
2960
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2249
2961
|
from pprint import pprint
|
|
2250
2962
|
|
|
2251
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2963
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2252
2964
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2253
2965
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2254
|
-
host = "https://env-ephemeral-
|
|
2966
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2255
2967
|
)
|
|
2256
2968
|
|
|
2257
2969
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2342,10 +3054,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
2342
3054
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2343
3055
|
from pprint import pprint
|
|
2344
3056
|
|
|
2345
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3057
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2346
3058
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2347
3059
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2348
|
-
host = "https://env-ephemeral-
|
|
3060
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2349
3061
|
)
|
|
2350
3062
|
|
|
2351
3063
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2436,10 +3148,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2436
3148
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2437
3149
|
from pprint import pprint
|
|
2438
3150
|
|
|
2439
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3151
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2440
3152
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2441
3153
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2442
|
-
host = "https://env-ephemeral-
|
|
3154
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2443
3155
|
)
|
|
2444
3156
|
|
|
2445
3157
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2528,6 +3240,44 @@ Name | Type | Description | Notes
|
|
|
2528
3240
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2529
3241
|
|
|
2530
3242
|
|
|
3243
|
+
# FiletypeEnum
|
|
3244
|
+
|
|
3245
|
+
* `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
3246
|
+
|
|
3247
|
+
## Enum
|
|
3248
|
+
|
|
3249
|
+
* `BDIST_WHEEL` (value: `'bdist_wheel'`)
|
|
3250
|
+
|
|
3251
|
+
* `SDIST` (value: `'sdist'`)
|
|
3252
|
+
|
|
3253
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
# MetadataVersionEnum
|
|
3257
|
+
|
|
3258
|
+
* `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
3259
|
+
|
|
3260
|
+
## Enum
|
|
3261
|
+
|
|
3262
|
+
* `ENUM_1_DOT_0` (value: `'1.0'`)
|
|
3263
|
+
|
|
3264
|
+
* `ENUM_1_DOT_1` (value: `'1.1'`)
|
|
3265
|
+
|
|
3266
|
+
* `ENUM_1_DOT_2` (value: `'1.2'`)
|
|
3267
|
+
|
|
3268
|
+
* `ENUM_2_DOT_0` (value: `'2.0'`)
|
|
3269
|
+
|
|
3270
|
+
* `ENUM_2_DOT_1` (value: `'2.1'`)
|
|
3271
|
+
|
|
3272
|
+
* `ENUM_2_DOT_2` (value: `'2.2'`)
|
|
3273
|
+
|
|
3274
|
+
* `ENUM_2_DOT_3` (value: `'2.3'`)
|
|
3275
|
+
|
|
3276
|
+
* `ENUM_2_DOT_4` (value: `'2.4'`)
|
|
3277
|
+
|
|
3278
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3279
|
+
|
|
3280
|
+
|
|
2531
3281
|
# MyPermissionsResponse
|
|
2532
3282
|
|
|
2533
3283
|
|
|
@@ -2740,6 +3490,38 @@ package_upload_task_response_from_dict = PackageUploadTaskResponse.from_dict(pac
|
|
|
2740
3490
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2741
3491
|
|
|
2742
3492
|
|
|
3493
|
+
# PaginatedpythonPackageProvenanceResponseList
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
## Properties
|
|
3497
|
+
|
|
3498
|
+
Name | Type | Description | Notes
|
|
3499
|
+
------------ | ------------- | ------------- | -------------
|
|
3500
|
+
**count** | **int** | |
|
|
3501
|
+
**next** | **str** | | [optional]
|
|
3502
|
+
**previous** | **str** | | [optional]
|
|
3503
|
+
**results** | [**List[PythonPackageProvenanceResponse]**](PythonPackageProvenanceResponse.md) | |
|
|
3504
|
+
|
|
3505
|
+
## Example
|
|
3506
|
+
|
|
3507
|
+
```python
|
|
3508
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
3509
|
+
|
|
3510
|
+
# TODO update the JSON string below
|
|
3511
|
+
json = "{}"
|
|
3512
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a JSON string
|
|
3513
|
+
paginatedpython_package_provenance_response_list_instance = PaginatedpythonPackageProvenanceResponseList.from_json(json)
|
|
3514
|
+
# print the JSON string representation of the object
|
|
3515
|
+
print(PaginatedpythonPackageProvenanceResponseList.to_json())
|
|
3516
|
+
|
|
3517
|
+
# convert the object into a dict
|
|
3518
|
+
paginatedpython_package_provenance_response_list_dict = paginatedpython_package_provenance_response_list_instance.to_dict()
|
|
3519
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a dict
|
|
3520
|
+
paginatedpython_package_provenance_response_list_from_dict = PaginatedpythonPackageProvenanceResponseList.from_dict(paginatedpython_package_provenance_response_list_dict)
|
|
3521
|
+
```
|
|
3522
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3523
|
+
|
|
3524
|
+
|
|
2743
3525
|
# PaginatedpythonPythonDistributionResponseList
|
|
2744
3526
|
|
|
2745
3527
|
|
|
@@ -3006,6 +3788,7 @@ Name | Type | Description | Notes
|
|
|
3006
3788
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
3007
3789
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
3008
3790
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
3791
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
3009
3792
|
|
|
3010
3793
|
## Example
|
|
3011
3794
|
|
|
@@ -3077,9 +3860,20 @@ patchedpython_python_repository_from_dict = PatchedpythonPythonRepository.from_d
|
|
|
3077
3860
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3078
3861
|
|
|
3079
3862
|
|
|
3863
|
+
# ProtocolVersionEnum
|
|
3864
|
+
|
|
3865
|
+
* `1` - 1
|
|
3866
|
+
|
|
3867
|
+
## Enum
|
|
3868
|
+
|
|
3869
|
+
* `NUMBER_1` (value: `1`)
|
|
3870
|
+
|
|
3871
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3872
|
+
|
|
3873
|
+
|
|
3080
3874
|
# pulpcore.client.pulp_python.PublicationsPypiApi
|
|
3081
3875
|
|
|
3082
|
-
All URIs are relative to *https://env-ephemeral-
|
|
3876
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3083
3877
|
|
|
3084
3878
|
Method | HTTP request | Description
|
|
3085
3879
|
------------- | ------------- | -------------
|
|
@@ -3113,10 +3907,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3113
3907
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3114
3908
|
from pprint import pprint
|
|
3115
3909
|
|
|
3116
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3910
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3117
3911
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3118
3912
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3119
|
-
host = "https://env-ephemeral-
|
|
3913
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3120
3914
|
)
|
|
3121
3915
|
|
|
3122
3916
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3207,10 +4001,10 @@ from pulpcore.client.pulp_python.models.python_python_publication import PythonP
|
|
|
3207
4001
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3208
4002
|
from pprint import pprint
|
|
3209
4003
|
|
|
3210
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4004
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3211
4005
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3212
4006
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3213
|
-
host = "https://env-ephemeral-
|
|
4007
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3214
4008
|
)
|
|
3215
4009
|
|
|
3216
4010
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3299,10 +4093,10 @@ import pulpcore.client.pulp_python
|
|
|
3299
4093
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3300
4094
|
from pprint import pprint
|
|
3301
4095
|
|
|
3302
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4096
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3303
4097
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3304
4098
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3305
|
-
host = "https://env-ephemeral-
|
|
4099
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3306
4100
|
)
|
|
3307
4101
|
|
|
3308
4102
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3388,10 +4182,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_publication_respo
|
|
|
3388
4182
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3389
4183
|
from pprint import pprint
|
|
3390
4184
|
|
|
3391
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4185
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3392
4186
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3393
4187
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3394
|
-
host = "https://env-ephemeral-
|
|
4188
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3395
4189
|
)
|
|
3396
4190
|
|
|
3397
4191
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3521,10 +4315,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
3521
4315
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3522
4316
|
from pprint import pprint
|
|
3523
4317
|
|
|
3524
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4318
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3525
4319
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3526
4320
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3527
|
-
host = "https://env-ephemeral-
|
|
4321
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3528
4322
|
)
|
|
3529
4323
|
|
|
3530
4324
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3616,10 +4410,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
3616
4410
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3617
4411
|
from pprint import pprint
|
|
3618
4412
|
|
|
3619
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4413
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3620
4414
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3621
4415
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3622
|
-
host = "https://env-ephemeral-
|
|
4416
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3623
4417
|
)
|
|
3624
4418
|
|
|
3625
4419
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3711,10 +4505,10 @@ from pulpcore.client.pulp_python.models.python_python_publication_response impor
|
|
|
3711
4505
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3712
4506
|
from pprint import pprint
|
|
3713
4507
|
|
|
3714
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4508
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3715
4509
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3716
4510
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3717
|
-
host = "https://env-ephemeral-
|
|
4511
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3718
4512
|
)
|
|
3719
4513
|
|
|
3720
4514
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3807,10 +4601,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3807
4601
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3808
4602
|
from pprint import pprint
|
|
3809
4603
|
|
|
3810
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4604
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3811
4605
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3812
4606
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3813
|
-
host = "https://env-ephemeral-
|
|
4607
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3814
4608
|
)
|
|
3815
4609
|
|
|
3816
4610
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3883,7 +4677,7 @@ Name | Type | Description | Notes
|
|
|
3883
4677
|
|
|
3884
4678
|
# pulpcore.client.pulp_python.PypiMetadataApi
|
|
3885
4679
|
|
|
3886
|
-
All URIs are relative to *https://env-ephemeral-
|
|
4680
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3887
4681
|
|
|
3888
4682
|
Method | HTTP request | Description
|
|
3889
4683
|
------------- | ------------- | -------------
|
|
@@ -3909,10 +4703,10 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
|
|
|
3909
4703
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3910
4704
|
from pprint import pprint
|
|
3911
4705
|
|
|
3912
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4706
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3913
4707
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3914
4708
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3915
|
-
host = "https://env-ephemeral-
|
|
4709
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3916
4710
|
)
|
|
3917
4711
|
|
|
3918
4712
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3989,6 +4783,44 @@ Name | Type | Description | Notes
|
|
|
3989
4783
|
|
|
3990
4784
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3991
4785
|
|
|
4786
|
+
# PythonPackageProvenanceResponse
|
|
4787
|
+
|
|
4788
|
+
A Serializer for PackageProvenance.
|
|
4789
|
+
|
|
4790
|
+
## Properties
|
|
4791
|
+
|
|
4792
|
+
Name | Type | Description | Notes
|
|
4793
|
+
------------ | ------------- | ------------- | -------------
|
|
4794
|
+
**pulp_href** | **str** | | [optional] [readonly]
|
|
4795
|
+
**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
4796
|
+
**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly]
|
|
4797
|
+
**pulp_last_updated** | **datetime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
4798
|
+
**pulp_labels** | **Dict[str, Optional[str]]** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
4799
|
+
**vuln_report** | **str** | | [optional] [readonly]
|
|
4800
|
+
**package** | **str** | The package that the provenance is for. |
|
|
4801
|
+
**provenance** | **object** | | [optional] [readonly]
|
|
4802
|
+
**sha256** | **str** | | [optional] [readonly]
|
|
4803
|
+
|
|
4804
|
+
## Example
|
|
4805
|
+
|
|
4806
|
+
```python
|
|
4807
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
4808
|
+
|
|
4809
|
+
# TODO update the JSON string below
|
|
4810
|
+
json = "{}"
|
|
4811
|
+
# create an instance of PythonPackageProvenanceResponse from a JSON string
|
|
4812
|
+
python_package_provenance_response_instance = PythonPackageProvenanceResponse.from_json(json)
|
|
4813
|
+
# print the JSON string representation of the object
|
|
4814
|
+
print(PythonPackageProvenanceResponse.to_json())
|
|
4815
|
+
|
|
4816
|
+
# convert the object into a dict
|
|
4817
|
+
python_package_provenance_response_dict = python_package_provenance_response_instance.to_dict()
|
|
4818
|
+
# create an instance of PythonPackageProvenanceResponse from a dict
|
|
4819
|
+
python_package_provenance_response_from_dict = PythonPackageProvenanceResponse.from_dict(python_package_provenance_response_dict)
|
|
4820
|
+
```
|
|
4821
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
4822
|
+
|
|
4823
|
+
|
|
3992
4824
|
# PythonPythonDistribution
|
|
3993
4825
|
|
|
3994
4826
|
Serializer for Pulp distributions for the Python type.
|
|
@@ -4119,8 +4951,10 @@ Name | Type | Description | Notes
|
|
|
4119
4951
|
**filename** | **str** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
|
|
4120
4952
|
**packagetype** | **str** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
|
4121
4953
|
**python_version** | **str** | The tag that indicates which Python implementation or version the package requires. | [optional] [readonly]
|
|
4954
|
+
**size** | **int** | The size of the package in bytes. | [optional] [readonly]
|
|
4122
4955
|
**sha256** | **str** | The SHA256 digest of this package. | [optional] [default to '']
|
|
4123
4956
|
**metadata_sha256** | **str** | The SHA256 digest of the package's METADATA file. | [optional]
|
|
4957
|
+
**provenance** | **str** | The created provenance object on upload. | [optional] [readonly]
|
|
4124
4958
|
|
|
4125
4959
|
## Example
|
|
4126
4960
|
|
|
@@ -4244,6 +5078,7 @@ Name | Type | Description | Notes
|
|
|
4244
5078
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4245
5079
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4246
5080
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5081
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4247
5082
|
|
|
4248
5083
|
## Example
|
|
4249
5084
|
|
|
@@ -4330,6 +5165,7 @@ Name | Type | Description | Notes
|
|
|
4330
5165
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4331
5166
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4332
5167
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5168
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4333
5169
|
|
|
4334
5170
|
## Example
|
|
4335
5171
|
|
|
@@ -4429,7 +5265,7 @@ python_python_repository_response_from_dict = PythonPythonRepositoryResponse.fro
|
|
|
4429
5265
|
|
|
4430
5266
|
# pulpcore.client.pulp_python.RemotesPythonApi
|
|
4431
5267
|
|
|
4432
|
-
All URIs are relative to *https://env-ephemeral-
|
|
5268
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
4433
5269
|
|
|
4434
5270
|
Method | HTTP request | Description
|
|
4435
5271
|
------------- | ------------- | -------------
|
|
@@ -4468,10 +5304,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
4468
5304
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4469
5305
|
from pprint import pprint
|
|
4470
5306
|
|
|
4471
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5307
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4472
5308
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4473
5309
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4474
|
-
host = "https://env-ephemeral-
|
|
5310
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4475
5311
|
)
|
|
4476
5312
|
|
|
4477
5313
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4562,10 +5398,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4562
5398
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4563
5399
|
from pprint import pprint
|
|
4564
5400
|
|
|
4565
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5401
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4566
5402
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4567
5403
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4568
|
-
host = "https://env-ephemeral-
|
|
5404
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4569
5405
|
)
|
|
4570
5406
|
|
|
4571
5407
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4655,10 +5491,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
4655
5491
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4656
5492
|
from pprint import pprint
|
|
4657
5493
|
|
|
4658
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5494
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4659
5495
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4660
5496
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4661
|
-
host = "https://env-ephemeral-
|
|
5497
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4662
5498
|
)
|
|
4663
5499
|
|
|
4664
5500
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4746,10 +5582,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4746
5582
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4747
5583
|
from pprint import pprint
|
|
4748
5584
|
|
|
4749
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5585
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4750
5586
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4751
5587
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4752
|
-
host = "https://env-ephemeral-
|
|
5588
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4753
5589
|
)
|
|
4754
5590
|
|
|
4755
5591
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4843,10 +5679,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_l
|
|
|
4843
5679
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4844
5680
|
from pprint import pprint
|
|
4845
5681
|
|
|
4846
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5682
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4847
5683
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4848
5684
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4849
|
-
host = "https://env-ephemeral-
|
|
5685
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4850
5686
|
)
|
|
4851
5687
|
|
|
4852
5688
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4986,10 +5822,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
4986
5822
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4987
5823
|
from pprint import pprint
|
|
4988
5824
|
|
|
4989
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5825
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4990
5826
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4991
5827
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4992
|
-
host = "https://env-ephemeral-
|
|
5828
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4993
5829
|
)
|
|
4994
5830
|
|
|
4995
5831
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5081,10 +5917,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
5081
5917
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5082
5918
|
from pprint import pprint
|
|
5083
5919
|
|
|
5084
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5920
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5085
5921
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5086
5922
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5087
|
-
host = "https://env-ephemeral-
|
|
5923
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5088
5924
|
)
|
|
5089
5925
|
|
|
5090
5926
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5177,10 +6013,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5177
6013
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5178
6014
|
from pprint import pprint
|
|
5179
6015
|
|
|
5180
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6016
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5181
6017
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5182
6018
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5183
|
-
host = "https://env-ephemeral-
|
|
6019
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5184
6020
|
)
|
|
5185
6021
|
|
|
5186
6022
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5271,10 +6107,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5271
6107
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5272
6108
|
from pprint import pprint
|
|
5273
6109
|
|
|
5274
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6110
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5275
6111
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5276
6112
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5277
|
-
host = "https://env-ephemeral-
|
|
6113
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5278
6114
|
)
|
|
5279
6115
|
|
|
5280
6116
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5367,10 +6203,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5367
6203
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5368
6204
|
from pprint import pprint
|
|
5369
6205
|
|
|
5370
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6206
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5371
6207
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5372
6208
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5373
|
-
host = "https://env-ephemeral-
|
|
6209
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5374
6210
|
)
|
|
5375
6211
|
|
|
5376
6212
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5461,10 +6297,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
5461
6297
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5462
6298
|
from pprint import pprint
|
|
5463
6299
|
|
|
5464
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6300
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5465
6301
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5466
6302
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5467
|
-
host = "https://env-ephemeral-
|
|
6303
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5468
6304
|
)
|
|
5469
6305
|
|
|
5470
6306
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5555,10 +6391,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
5555
6391
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5556
6392
|
from pprint import pprint
|
|
5557
6393
|
|
|
5558
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6394
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5559
6395
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5560
6396
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5561
|
-
host = "https://env-ephemeral-
|
|
6397
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5562
6398
|
)
|
|
5563
6399
|
|
|
5564
6400
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5649,10 +6485,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5649
6485
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5650
6486
|
from pprint import pprint
|
|
5651
6487
|
|
|
5652
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6488
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5653
6489
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5654
6490
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5655
|
-
host = "https://env-ephemeral-
|
|
6491
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5656
6492
|
)
|
|
5657
6493
|
|
|
5658
6494
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5755,7 +6591,7 @@ repair_from_dict = Repair.from_dict(repair_dict)
|
|
|
5755
6591
|
|
|
5756
6592
|
# pulpcore.client.pulp_python.RepositoriesPythonApi
|
|
5757
6593
|
|
|
5758
|
-
All URIs are relative to *https://env-ephemeral-
|
|
6594
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
5759
6595
|
|
|
5760
6596
|
Method | HTTP request | Description
|
|
5761
6597
|
------------- | ------------- | -------------
|
|
@@ -5796,10 +6632,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5796
6632
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5797
6633
|
from pprint import pprint
|
|
5798
6634
|
|
|
5799
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6635
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5800
6636
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5801
6637
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5802
|
-
host = "https://env-ephemeral-
|
|
6638
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5803
6639
|
)
|
|
5804
6640
|
|
|
5805
6641
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5890,10 +6726,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
5890
6726
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5891
6727
|
from pprint import pprint
|
|
5892
6728
|
|
|
5893
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6729
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5894
6730
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5895
6731
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5896
|
-
host = "https://env-ephemeral-
|
|
6732
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5897
6733
|
)
|
|
5898
6734
|
|
|
5899
6735
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5983,10 +6819,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
5983
6819
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5984
6820
|
from pprint import pprint
|
|
5985
6821
|
|
|
5986
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6822
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5987
6823
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5988
6824
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5989
|
-
host = "https://env-ephemeral-
|
|
6825
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5990
6826
|
)
|
|
5991
6827
|
|
|
5992
6828
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6074,10 +6910,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_repository_respon
|
|
|
6074
6910
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6075
6911
|
from pprint import pprint
|
|
6076
6912
|
|
|
6077
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6913
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6078
6914
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6079
6915
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6080
|
-
host = "https://env-ephemeral-
|
|
6916
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6081
6917
|
)
|
|
6082
6918
|
|
|
6083
6919
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6225,10 +7061,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
6225
7061
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6226
7062
|
from pprint import pprint
|
|
6227
7063
|
|
|
6228
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7064
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6229
7065
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6230
7066
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6231
|
-
host = "https://env-ephemeral-
|
|
7067
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6232
7068
|
)
|
|
6233
7069
|
|
|
6234
7070
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6321,10 +7157,10 @@ from pulpcore.client.pulp_python.models.repository_add_remove_content import Rep
|
|
|
6321
7157
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6322
7158
|
from pprint import pprint
|
|
6323
7159
|
|
|
6324
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7160
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6325
7161
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6326
7162
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6327
|
-
host = "https://env-ephemeral-
|
|
7163
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6328
7164
|
)
|
|
6329
7165
|
|
|
6330
7166
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6414,10 +7250,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
6414
7250
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6415
7251
|
from pprint import pprint
|
|
6416
7252
|
|
|
6417
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7253
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6418
7254
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6419
7255
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6420
|
-
host = "https://env-ephemeral-
|
|
7256
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6421
7257
|
)
|
|
6422
7258
|
|
|
6423
7259
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6510,10 +7346,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6510
7346
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6511
7347
|
from pprint import pprint
|
|
6512
7348
|
|
|
6513
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7349
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6514
7350
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6515
7351
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6516
|
-
host = "https://env-ephemeral-
|
|
7352
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6517
7353
|
)
|
|
6518
7354
|
|
|
6519
7355
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6604,10 +7440,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6604
7440
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6605
7441
|
from pprint import pprint
|
|
6606
7442
|
|
|
6607
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7443
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6608
7444
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6609
7445
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6610
|
-
host = "https://env-ephemeral-
|
|
7446
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6611
7447
|
)
|
|
6612
7448
|
|
|
6613
7449
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6700,10 +7536,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
6700
7536
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6701
7537
|
from pprint import pprint
|
|
6702
7538
|
|
|
6703
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7539
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6704
7540
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6705
7541
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6706
|
-
host = "https://env-ephemeral-
|
|
7542
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6707
7543
|
)
|
|
6708
7544
|
|
|
6709
7545
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6793,10 +7629,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
6793
7629
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6794
7630
|
from pprint import pprint
|
|
6795
7631
|
|
|
6796
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7632
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6797
7633
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6798
7634
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6799
|
-
host = "https://env-ephemeral-
|
|
7635
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6800
7636
|
)
|
|
6801
7637
|
|
|
6802
7638
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6885,10 +7721,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
6885
7721
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6886
7722
|
from pprint import pprint
|
|
6887
7723
|
|
|
6888
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7724
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6889
7725
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6890
7726
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6891
|
-
host = "https://env-ephemeral-
|
|
7727
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6892
7728
|
)
|
|
6893
7729
|
|
|
6894
7730
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6979,10 +7815,10 @@ from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyn
|
|
|
6979
7815
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6980
7816
|
from pprint import pprint
|
|
6981
7817
|
|
|
6982
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7818
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6983
7819
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6984
7820
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6985
|
-
host = "https://env-ephemeral-
|
|
7821
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6986
7822
|
)
|
|
6987
7823
|
|
|
6988
7824
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7073,10 +7909,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
7073
7909
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7074
7910
|
from pprint import pprint
|
|
7075
7911
|
|
|
7076
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7912
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7077
7913
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7078
7914
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7079
|
-
host = "https://env-ephemeral-
|
|
7915
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7080
7916
|
)
|
|
7081
7917
|
|
|
7082
7918
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7167,10 +8003,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
7167
8003
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7168
8004
|
from pprint import pprint
|
|
7169
8005
|
|
|
7170
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8006
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7171
8007
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7172
8008
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7173
|
-
host = "https://env-ephemeral-
|
|
8009
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7174
8010
|
)
|
|
7175
8011
|
|
|
7176
8012
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7244,7 +8080,7 @@ Name | Type | Description | Notes
|
|
|
7244
8080
|
|
|
7245
8081
|
# pulpcore.client.pulp_python.RepositoriesPythonVersionsApi
|
|
7246
8082
|
|
|
7247
|
-
All URIs are relative to *https://env-ephemeral-
|
|
8083
|
+
All URIs are relative to *https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
7248
8084
|
|
|
7249
8085
|
Method | HTTP request | Description
|
|
7250
8086
|
------------- | ------------- | -------------
|
|
@@ -7252,6 +8088,7 @@ Method | HTTP request | Description
|
|
|
7252
8088
|
[**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
7253
8089
|
[**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
7254
8090
|
[**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
8091
|
+
[**scan**](RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report
|
|
7255
8092
|
|
|
7256
8093
|
|
|
7257
8094
|
# **delete**
|
|
@@ -7273,10 +8110,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
7273
8110
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7274
8111
|
from pprint import pprint
|
|
7275
8112
|
|
|
7276
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8113
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7277
8114
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7278
8115
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7279
|
-
host = "https://env-ephemeral-
|
|
8116
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7280
8117
|
)
|
|
7281
8118
|
|
|
7282
8119
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7364,10 +8201,10 @@ from pulpcore.client.pulp_python.models.paginated_repository_version_response_li
|
|
|
7364
8201
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7365
8202
|
from pprint import pprint
|
|
7366
8203
|
|
|
7367
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8204
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7368
8205
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7369
8206
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7370
|
-
host = "https://env-ephemeral-
|
|
8207
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7371
8208
|
)
|
|
7372
8209
|
|
|
7373
8210
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7501,10 +8338,10 @@ from pulpcore.client.pulp_python.models.repository_version_response import Repos
|
|
|
7501
8338
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7502
8339
|
from pprint import pprint
|
|
7503
8340
|
|
|
7504
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8341
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7505
8342
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7506
8343
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7507
|
-
host = "https://env-ephemeral-
|
|
8344
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7508
8345
|
)
|
|
7509
8346
|
|
|
7510
8347
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7597,10 +8434,10 @@ from pulpcore.client.pulp_python.models.repair import Repair
|
|
|
7597
8434
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7598
8435
|
from pprint import pprint
|
|
7599
8436
|
|
|
7600
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8437
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7601
8438
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7602
8439
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7603
|
-
host = "https://env-ephemeral-
|
|
8440
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7604
8441
|
)
|
|
7605
8442
|
|
|
7606
8443
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7670,6 +8507,97 @@ Name | Type | Description | Notes
|
|
|
7670
8507
|
|
|
7671
8508
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
7672
8509
|
|
|
8510
|
+
# **scan**
|
|
8511
|
+
> AsyncOperationResponse scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8512
|
+
|
|
8513
|
+
Generate vulnerability report
|
|
8514
|
+
|
|
8515
|
+
Scan a repository version for vulnerabilities.
|
|
8516
|
+
|
|
8517
|
+
### Example
|
|
8518
|
+
|
|
8519
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
8520
|
+
* Basic Authentication (basicAuth):
|
|
8521
|
+
* Api Key Authentication (cookieAuth):
|
|
8522
|
+
|
|
8523
|
+
```python
|
|
8524
|
+
import pulpcore.client.pulp_python
|
|
8525
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
8526
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
8527
|
+
from pprint import pprint
|
|
8528
|
+
|
|
8529
|
+
# Defining the host is optional and defaults to https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
8530
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
8531
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8532
|
+
host = "https://env-ephemeral-8kp6yx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
8533
|
+
)
|
|
8534
|
+
|
|
8535
|
+
# The client must configure the authentication and authorization parameters
|
|
8536
|
+
# in accordance with the API server security policy.
|
|
8537
|
+
# Examples for each auth method are provided below, use the example that
|
|
8538
|
+
# satisfies your auth use case.
|
|
8539
|
+
|
|
8540
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
8541
|
+
|
|
8542
|
+
# Configure HTTP basic authorization: basicAuth
|
|
8543
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8544
|
+
username = os.environ["USERNAME"],
|
|
8545
|
+
password = os.environ["PASSWORD"]
|
|
8546
|
+
)
|
|
8547
|
+
|
|
8548
|
+
# Configure API key authorization: cookieAuth
|
|
8549
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
8550
|
+
|
|
8551
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
8552
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
8553
|
+
|
|
8554
|
+
# Enter a context with an instance of the API client
|
|
8555
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
8556
|
+
# Create an instance of the API class
|
|
8557
|
+
api_instance = pulpcore.client.pulp_python.RepositoriesPythonVersionsApi(api_client)
|
|
8558
|
+
python_python_repository_version_href = 'python_python_repository_version_href_example' # str |
|
|
8559
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
8560
|
+
|
|
8561
|
+
try:
|
|
8562
|
+
# Generate vulnerability report
|
|
8563
|
+
api_response = api_instance.scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8564
|
+
print("The response of RepositoriesPythonVersionsApi->scan:\n")
|
|
8565
|
+
pprint(api_response)
|
|
8566
|
+
except Exception as e:
|
|
8567
|
+
print("Exception when calling RepositoriesPythonVersionsApi->scan: %s\n" % e)
|
|
8568
|
+
```
|
|
8569
|
+
|
|
8570
|
+
|
|
8571
|
+
|
|
8572
|
+
### Parameters
|
|
8573
|
+
|
|
8574
|
+
|
|
8575
|
+
Name | Type | Description | Notes
|
|
8576
|
+
------------- | ------------- | ------------- | -------------
|
|
8577
|
+
**python_python_repository_version_href** | **str**| |
|
|
8578
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
8579
|
+
|
|
8580
|
+
### Return type
|
|
8581
|
+
|
|
8582
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
8583
|
+
|
|
8584
|
+
### Authorization
|
|
8585
|
+
|
|
8586
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
8587
|
+
|
|
8588
|
+
### HTTP request headers
|
|
8589
|
+
|
|
8590
|
+
- **Content-Type**: Not defined
|
|
8591
|
+
- **Accept**: application/json
|
|
8592
|
+
|
|
8593
|
+
### HTTP response details
|
|
8594
|
+
|
|
8595
|
+
| Status code | Description | Response headers |
|
|
8596
|
+
|-------------|-------------|------------------|
|
|
8597
|
+
**202** | | - |
|
|
8598
|
+
|
|
8599
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
8600
|
+
|
|
7673
8601
|
# RepositoryAddRemoveContent
|
|
7674
8602
|
|
|
7675
8603
|
Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|