crc-pulp-python-client 20251107.2__tar.gz → 20251210.3__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.
Potentially problematic release.
This version of crc-pulp-python-client might be problematic. Click here for more details.
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/PKG-INFO +1107 -233
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/README.md +25 -13
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/crc_pulp_python_client.egg-info/PKG-INFO +1107 -233
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/crc_pulp_python_client.egg-info/SOURCES.txt +14 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/crc_pulp_python_client.egg-info/requires.txt +1 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/__init__.py +8 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/__init__.py +2 -0
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/api/api_integrity_provenance_api.py +407 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/api_legacy_api.py +61 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/api_simple_api.py +99 -5
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/content_packages_api.py +66 -6
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/api/content_provenance_api.py +1900 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +279 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/configuration.py +3 -3
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/__init__.py +5 -0
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/models/filetype_enum.py +38 -0
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/models/metadata_version_enum.py +44 -0
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py +112 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +4 -2
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/models/protocol_version_enum.py +37 -0
- crc_pulp_python_client-20251210.3/pulpcore/client/pulp_python/models/python_package_provenance_response.py +124 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +18 -3
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_remote.py +4 -2
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_remote_response.py +4 -2
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pyproject.toml +1 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/setup.py +2 -2
- crc_pulp_python_client-20251210.3/test/test_api_integrity_provenance_api.py +39 -0
- crc_pulp_python_client-20251210.3/test/test_content_provenance_api.py +67 -0
- crc_pulp_python_client-20251210.3/test/test_filetype_enum.py +34 -0
- crc_pulp_python_client-20251210.3/test/test_metadata_version_enum.py +34 -0
- crc_pulp_python_client-20251210.3/test/test_paginatedpython_package_provenance_response_list.py +83 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginatedpython_python_package_content_response_list.py +8 -2
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginatedpython_python_remote_response_list.py +4 -2
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_patchedpython_python_remote.py +2 -1
- crc_pulp_python_client-20251210.3/test/test_protocol_version_enum.py +34 -0
- crc_pulp_python_client-20251210.3/test/test_python_package_provenance_response.py +63 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_package_content_response.py +4 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_remote.py +2 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_remote_response.py +2 -1
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repositories_python_versions_api.py +7 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/crc_pulp_python_client.egg-info/dependency_links.txt +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/crc_pulp_python_client.egg-info/top_level.txt +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/__init__.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/__init__.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/api_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api_client.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/api_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/exceptions.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/async_operation_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/content_summary_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/my_permissions_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/nested_role.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/nested_role_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/object_roles_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_publication.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_repository.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/repair.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/repository_version_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/set_label.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/set_label_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/summary_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/unset_label.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/models/unset_label_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/py.typed +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/pulpcore/client/pulp_python/rest.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/setup.cfg +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_api_legacy_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_api_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_api_simple_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_async_operation_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_content_packages_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_content_summary_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_distributions_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_exclude_platforms_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_my_permissions_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_nested_role.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_nested_role_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_object_roles_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_package_metadata_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_package_types_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_package_upload_task_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginated_repository_version_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginatedpython_python_publication_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_paginatedpython_python_repository_response_list.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_patchedpython_python_distribution.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_patchedpython_python_repository.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_policy_enum.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_publications_pypi_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_pypi_metadata_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_distribution.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_distribution_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_publication.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_publication_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_repository.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_python_python_repository_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_remotes_python_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repair.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repositories_python_api.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repository_add_remove_content.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repository_sync_url.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_repository_version_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_set_label.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_set_label_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_summary_response.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/test/test_unset_label.py +0 -0
- {crc_pulp_python_client-20251107.2 → crc_pulp_python_client-20251210.3}/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: 20251210.3
|
|
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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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-fd87kx.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
|
|
|
@@ -262,10 +379,10 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
262
379
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
263
380
|
from pprint import pprint
|
|
264
381
|
|
|
265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
382
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
266
383
|
# See configuration.py for a list of all supported configuration parameters.
|
|
267
384
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
268
|
-
host = "https://env-ephemeral-
|
|
385
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
269
386
|
)
|
|
270
387
|
|
|
271
388
|
|
|
@@ -279,10 +396,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
279
396
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
280
397
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
281
398
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
399
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
400
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
401
|
+
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)
|
|
402
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
282
403
|
|
|
283
404
|
try:
|
|
284
405
|
# Upload a package
|
|
285
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
406
|
+
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
407
|
print("The response of ApiSimpleApi->create:\n")
|
|
287
408
|
pprint(api_response)
|
|
288
409
|
except Exception as e:
|
|
@@ -302,6 +423,10 @@ Name | Type | Description | Notes
|
|
|
302
423
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
303
424
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
304
425
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
426
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
427
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
428
|
+
**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]
|
|
429
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
305
430
|
|
|
306
431
|
### Return type
|
|
307
432
|
|
|
@@ -325,11 +450,11 @@ No authorization required
|
|
|
325
450
|
[[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)
|
|
326
451
|
|
|
327
452
|
# **pypi_simple_package_read**
|
|
328
|
-
> pypi_simple_package_read(package, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
453
|
+
> pypi_simple_package_read(package, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
329
454
|
|
|
330
455
|
Get package simple page
|
|
331
456
|
|
|
332
|
-
Retrieves the simple api html page for a package.
|
|
457
|
+
Retrieves the simple api html/json page for a package.
|
|
333
458
|
|
|
334
459
|
### Example
|
|
335
460
|
|
|
@@ -339,10 +464,10 @@ import pulpcore.client.pulp_python
|
|
|
339
464
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
340
465
|
from pprint import pprint
|
|
341
466
|
|
|
342
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
467
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
343
468
|
# See configuration.py for a list of all supported configuration parameters.
|
|
344
469
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
345
|
-
host = "https://env-ephemeral-
|
|
470
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
346
471
|
)
|
|
347
472
|
|
|
348
473
|
|
|
@@ -354,12 +479,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
354
479
|
path = 'path_example' # str |
|
|
355
480
|
pulp_domain = 'pulp_domain_example' # str |
|
|
356
481
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
482
|
+
format = 'format_example' # str | (optional)
|
|
357
483
|
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
358
484
|
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
359
485
|
|
|
360
486
|
try:
|
|
361
487
|
# Get package simple page
|
|
362
|
-
api_instance.pypi_simple_package_read(package, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
488
|
+
api_instance.pypi_simple_package_read(package, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
363
489
|
except Exception as e:
|
|
364
490
|
print("Exception when calling ApiSimpleApi->pypi_simple_package_read: %s\n" % e)
|
|
365
491
|
```
|
|
@@ -375,6 +501,7 @@ Name | Type | Description | Notes
|
|
|
375
501
|
**path** | **str**| |
|
|
376
502
|
**pulp_domain** | **str**| |
|
|
377
503
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
504
|
+
**format** | **str**| | [optional]
|
|
378
505
|
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
379
506
|
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
380
507
|
|
|
@@ -400,7 +527,7 @@ No authorization required
|
|
|
400
527
|
[[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)
|
|
401
528
|
|
|
402
529
|
# **read**
|
|
403
|
-
> read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
530
|
+
> read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
404
531
|
|
|
405
532
|
Get index simple page
|
|
406
533
|
|
|
@@ -414,10 +541,10 @@ import pulpcore.client.pulp_python
|
|
|
414
541
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
415
542
|
from pprint import pprint
|
|
416
543
|
|
|
417
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
544
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
418
545
|
# See configuration.py for a list of all supported configuration parameters.
|
|
419
546
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
420
|
-
host = "https://env-ephemeral-
|
|
547
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
421
548
|
)
|
|
422
549
|
|
|
423
550
|
|
|
@@ -428,12 +555,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
428
555
|
path = 'path_example' # str |
|
|
429
556
|
pulp_domain = 'pulp_domain_example' # str |
|
|
430
557
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
558
|
+
format = 'format_example' # str | (optional)
|
|
431
559
|
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
432
560
|
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
433
561
|
|
|
434
562
|
try:
|
|
435
563
|
# Get index simple page
|
|
436
|
-
api_instance.read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
564
|
+
api_instance.read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
437
565
|
except Exception as e:
|
|
438
566
|
print("Exception when calling ApiSimpleApi->read: %s\n" % e)
|
|
439
567
|
```
|
|
@@ -448,6 +576,7 @@ Name | Type | Description | Notes
|
|
|
448
576
|
**path** | **str**| |
|
|
449
577
|
**pulp_domain** | **str**| |
|
|
450
578
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
579
|
+
**format** | **str**| | [optional]
|
|
451
580
|
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
452
581
|
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
453
582
|
|
|
@@ -504,7 +633,7 @@ async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_oper
|
|
|
504
633
|
|
|
505
634
|
# pulpcore.client.pulp_python.ContentPackagesApi
|
|
506
635
|
|
|
507
|
-
All URIs are relative to *https://env-ephemeral-
|
|
636
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
508
637
|
|
|
509
638
|
Method | HTTP request | Description
|
|
510
639
|
------------- | ------------- | -------------
|
|
@@ -517,7 +646,7 @@ Method | HTTP request | Description
|
|
|
517
646
|
|
|
518
647
|
|
|
519
648
|
# **create**
|
|
520
|
-
> 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)
|
|
649
|
+
> 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)
|
|
521
650
|
|
|
522
651
|
Create a python package content
|
|
523
652
|
|
|
@@ -535,10 +664,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
535
664
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
536
665
|
from pprint import pprint
|
|
537
666
|
|
|
538
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
667
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
539
668
|
# See configuration.py for a list of all supported configuration parameters.
|
|
540
669
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
541
|
-
host = "https://env-ephemeral-
|
|
670
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
542
671
|
)
|
|
543
672
|
|
|
544
673
|
# The client must configure the authentication and authorization parameters
|
|
@@ -599,10 +728,12 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
599
728
|
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
600
729
|
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
601
730
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
731
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
732
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
602
733
|
|
|
603
734
|
try:
|
|
604
735
|
# Create a python package content
|
|
605
|
-
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)
|
|
736
|
+
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)
|
|
606
737
|
print("The response of ContentPackagesApi->create:\n")
|
|
607
738
|
pprint(api_response)
|
|
608
739
|
except Exception as e:
|
|
@@ -651,6 +782,8 @@ Name | Type | Description | Notes
|
|
|
651
782
|
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
652
783
|
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
653
784
|
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
785
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
786
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
654
787
|
|
|
655
788
|
### Return type
|
|
656
789
|
|
|
@@ -692,10 +825,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_r
|
|
|
692
825
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
693
826
|
from pprint import pprint
|
|
694
827
|
|
|
695
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
828
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
696
829
|
# See configuration.py for a list of all supported configuration parameters.
|
|
697
830
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
698
|
-
host = "https://env-ephemeral-
|
|
831
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
699
832
|
)
|
|
700
833
|
|
|
701
834
|
# The client must configure the authentication and authorization parameters
|
|
@@ -734,7 +867,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
734
867
|
name = 'name_example' # str | Filter results where name matches value (optional)
|
|
735
868
|
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
|
|
736
869
|
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
737
|
-
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) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
870
|
+
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)
|
|
738
871
|
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
739
872
|
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)
|
|
740
873
|
packagetype__in = ['packagetype__in_example'] # List[str] | Filter results where packagetype is in a comma-separated list of values (optional)
|
|
@@ -788,7 +921,7 @@ Name | Type | Description | Notes
|
|
|
788
921
|
**name** | **str**| Filter results where name matches value | [optional]
|
|
789
922
|
**name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
790
923
|
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
791
|
-
**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) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
924
|
+
**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]
|
|
792
925
|
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
793
926
|
**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]
|
|
794
927
|
**packagetype__in** | [**List[str]**](str.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
|
@@ -853,10 +986,10 @@ from pulpcore.client.pulp_python.models.python_python_package_content_response i
|
|
|
853
986
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
854
987
|
from pprint import pprint
|
|
855
988
|
|
|
856
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
989
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
857
990
|
# See configuration.py for a list of all supported configuration parameters.
|
|
858
991
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
859
|
-
host = "https://env-ephemeral-
|
|
992
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
860
993
|
)
|
|
861
994
|
|
|
862
995
|
# The client must configure the authentication and authorization parameters
|
|
@@ -949,10 +1082,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
949
1082
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
950
1083
|
from pprint import pprint
|
|
951
1084
|
|
|
952
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1085
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
953
1086
|
# See configuration.py for a list of all supported configuration parameters.
|
|
954
1087
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
955
|
-
host = "https://env-ephemeral-
|
|
1088
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
956
1089
|
)
|
|
957
1090
|
|
|
958
1091
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1043,10 +1176,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
1043
1176
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1044
1177
|
from pprint import pprint
|
|
1045
1178
|
|
|
1046
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1179
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1047
1180
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1048
1181
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1049
|
-
host = "https://env-ephemeral-
|
|
1182
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1050
1183
|
)
|
|
1051
1184
|
|
|
1052
1185
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1082,7 +1215,590 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1082
1215
|
print("The response of ContentPackagesApi->unset_label:\n")
|
|
1083
1216
|
pprint(api_response)
|
|
1084
1217
|
except Exception as e:
|
|
1085
|
-
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1218
|
+
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1219
|
+
```
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
### Parameters
|
|
1224
|
+
|
|
1225
|
+
|
|
1226
|
+
Name | Type | Description | Notes
|
|
1227
|
+
------------- | ------------- | ------------- | -------------
|
|
1228
|
+
**python_python_package_content_href** | **str**| |
|
|
1229
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1230
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1231
|
+
|
|
1232
|
+
### Return type
|
|
1233
|
+
|
|
1234
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1235
|
+
|
|
1236
|
+
### Authorization
|
|
1237
|
+
|
|
1238
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1239
|
+
|
|
1240
|
+
### HTTP request headers
|
|
1241
|
+
|
|
1242
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1243
|
+
- **Accept**: application/json
|
|
1244
|
+
|
|
1245
|
+
### HTTP response details
|
|
1246
|
+
|
|
1247
|
+
| Status code | Description | Response headers |
|
|
1248
|
+
|-------------|-------------|------------------|
|
|
1249
|
+
**201** | | - |
|
|
1250
|
+
|
|
1251
|
+
[[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)
|
|
1252
|
+
|
|
1253
|
+
# **upload**
|
|
1254
|
+
> 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)
|
|
1255
|
+
|
|
1256
|
+
Synchronous Python package upload
|
|
1257
|
+
|
|
1258
|
+
Create a Python package.
|
|
1259
|
+
|
|
1260
|
+
### Example
|
|
1261
|
+
|
|
1262
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1263
|
+
* Basic Authentication (basicAuth):
|
|
1264
|
+
* Api Key Authentication (cookieAuth):
|
|
1265
|
+
|
|
1266
|
+
```python
|
|
1267
|
+
import pulpcore.client.pulp_python
|
|
1268
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
1269
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1270
|
+
from pprint import pprint
|
|
1271
|
+
|
|
1272
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1273
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1274
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1275
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1276
|
+
)
|
|
1277
|
+
|
|
1278
|
+
# The client must configure the authentication and authorization parameters
|
|
1279
|
+
# in accordance with the API server security policy.
|
|
1280
|
+
# Examples for each auth method are provided below, use the example that
|
|
1281
|
+
# satisfies your auth use case.
|
|
1282
|
+
|
|
1283
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1284
|
+
|
|
1285
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1286
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1287
|
+
username = os.environ["USERNAME"],
|
|
1288
|
+
password = os.environ["PASSWORD"]
|
|
1289
|
+
)
|
|
1290
|
+
|
|
1291
|
+
# Configure API key authorization: cookieAuth
|
|
1292
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1293
|
+
|
|
1294
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1295
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1296
|
+
|
|
1297
|
+
# Enter a context with an instance of the API client
|
|
1298
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1299
|
+
# Create an instance of the API class
|
|
1300
|
+
api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
|
|
1301
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1302
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1303
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1304
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1305
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1306
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1307
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1308
|
+
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1309
|
+
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1310
|
+
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1311
|
+
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1312
|
+
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1313
|
+
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1314
|
+
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1315
|
+
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1316
|
+
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1317
|
+
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1318
|
+
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1319
|
+
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1320
|
+
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1321
|
+
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)
|
|
1322
|
+
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1323
|
+
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1324
|
+
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1325
|
+
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1326
|
+
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1327
|
+
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1328
|
+
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)
|
|
1329
|
+
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1330
|
+
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)
|
|
1331
|
+
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1332
|
+
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1333
|
+
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1334
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1335
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
1336
|
+
|
|
1337
|
+
try:
|
|
1338
|
+
# Synchronous Python package upload
|
|
1339
|
+
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)
|
|
1340
|
+
print("The response of ContentPackagesApi->upload:\n")
|
|
1341
|
+
pprint(api_response)
|
|
1342
|
+
except Exception as e:
|
|
1343
|
+
print("Exception when calling ContentPackagesApi->upload: %s\n" % e)
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
### Parameters
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
Name | Type | Description | Notes
|
|
1352
|
+
------------- | ------------- | ------------- | -------------
|
|
1353
|
+
**pulp_domain** | **str**| |
|
|
1354
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1355
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1356
|
+
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1357
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1358
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1359
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1360
|
+
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1361
|
+
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1362
|
+
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1363
|
+
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1364
|
+
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1365
|
+
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1366
|
+
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1367
|
+
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1368
|
+
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1369
|
+
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1370
|
+
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1371
|
+
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1372
|
+
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1373
|
+
**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]
|
|
1374
|
+
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1375
|
+
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1376
|
+
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1377
|
+
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1378
|
+
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1379
|
+
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1380
|
+
**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]
|
|
1381
|
+
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1382
|
+
**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]
|
|
1383
|
+
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1384
|
+
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1385
|
+
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1386
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1387
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
1388
|
+
|
|
1389
|
+
### Return type
|
|
1390
|
+
|
|
1391
|
+
[**PythonPythonPackageContentResponse**](PythonPythonPackageContentResponse.md)
|
|
1392
|
+
|
|
1393
|
+
### Authorization
|
|
1394
|
+
|
|
1395
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1396
|
+
|
|
1397
|
+
### HTTP request headers
|
|
1398
|
+
|
|
1399
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1400
|
+
- **Accept**: application/json
|
|
1401
|
+
|
|
1402
|
+
### HTTP response details
|
|
1403
|
+
|
|
1404
|
+
| Status code | Description | Response headers |
|
|
1405
|
+
|-------------|-------------|------------------|
|
|
1406
|
+
**201** | | - |
|
|
1407
|
+
|
|
1408
|
+
[[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)
|
|
1409
|
+
|
|
1410
|
+
# pulpcore.client.pulp_python.ContentProvenanceApi
|
|
1411
|
+
|
|
1412
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1413
|
+
|
|
1414
|
+
Method | HTTP request | Description
|
|
1415
|
+
------------- | ------------- | -------------
|
|
1416
|
+
[**create**](ContentProvenanceApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | Create a package provenance
|
|
1417
|
+
[**list**](ContentProvenanceApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | List package provenances
|
|
1418
|
+
[**read**](ContentProvenanceApi.md#read) | **GET** {python_package_provenance_href} | Inspect a package provenance
|
|
1419
|
+
[**set_label**](ContentProvenanceApi.md#set_label) | **POST** {python_package_provenance_href}set_label/ | Set a label
|
|
1420
|
+
[**unset_label**](ContentProvenanceApi.md#unset_label) | **POST** {python_package_provenance_href}unset_label/ | Unset a label
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
# **create**
|
|
1424
|
+
> 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)
|
|
1425
|
+
|
|
1426
|
+
Create a package provenance
|
|
1427
|
+
|
|
1428
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
|
1429
|
+
|
|
1430
|
+
### Example
|
|
1431
|
+
|
|
1432
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1433
|
+
* Basic Authentication (basicAuth):
|
|
1434
|
+
* Api Key Authentication (cookieAuth):
|
|
1435
|
+
|
|
1436
|
+
```python
|
|
1437
|
+
import pulpcore.client.pulp_python
|
|
1438
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
1439
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1440
|
+
from pprint import pprint
|
|
1441
|
+
|
|
1442
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1443
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1444
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1445
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1446
|
+
)
|
|
1447
|
+
|
|
1448
|
+
# The client must configure the authentication and authorization parameters
|
|
1449
|
+
# in accordance with the API server security policy.
|
|
1450
|
+
# Examples for each auth method are provided below, use the example that
|
|
1451
|
+
# satisfies your auth use case.
|
|
1452
|
+
|
|
1453
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1454
|
+
|
|
1455
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1456
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1457
|
+
username = os.environ["USERNAME"],
|
|
1458
|
+
password = os.environ["PASSWORD"]
|
|
1459
|
+
)
|
|
1460
|
+
|
|
1461
|
+
# Configure API key authorization: cookieAuth
|
|
1462
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1463
|
+
|
|
1464
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1465
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1466
|
+
|
|
1467
|
+
# Enter a context with an instance of the API client
|
|
1468
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1469
|
+
# Create an instance of the API class
|
|
1470
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1471
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1472
|
+
package = 'package_example' # str | The package that the provenance is for.
|
|
1473
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1474
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
1475
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1476
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1477
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1478
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1479
|
+
verify = True # bool | Verify each attestation in the provenance. (optional) (default to True)
|
|
1480
|
+
|
|
1481
|
+
try:
|
|
1482
|
+
# Create a package provenance
|
|
1483
|
+
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)
|
|
1484
|
+
print("The response of ContentProvenanceApi->create:\n")
|
|
1485
|
+
pprint(api_response)
|
|
1486
|
+
except Exception as e:
|
|
1487
|
+
print("Exception when calling ContentProvenanceApi->create: %s\n" % e)
|
|
1488
|
+
```
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
### Parameters
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
Name | Type | Description | Notes
|
|
1496
|
+
------------- | ------------- | ------------- | -------------
|
|
1497
|
+
**pulp_domain** | **str**| |
|
|
1498
|
+
**package** | **str**| The package that the provenance is for. |
|
|
1499
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1500
|
+
**repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
1501
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1502
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1503
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1504
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1505
|
+
**verify** | **bool**| Verify each attestation in the provenance. | [optional] [default to True]
|
|
1506
|
+
|
|
1507
|
+
### Return type
|
|
1508
|
+
|
|
1509
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
1510
|
+
|
|
1511
|
+
### Authorization
|
|
1512
|
+
|
|
1513
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1514
|
+
|
|
1515
|
+
### HTTP request headers
|
|
1516
|
+
|
|
1517
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1518
|
+
- **Accept**: application/json
|
|
1519
|
+
|
|
1520
|
+
### HTTP response details
|
|
1521
|
+
|
|
1522
|
+
| Status code | Description | Response headers |
|
|
1523
|
+
|-------------|-------------|------------------|
|
|
1524
|
+
**202** | | - |
|
|
1525
|
+
|
|
1526
|
+
[[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)
|
|
1527
|
+
|
|
1528
|
+
# **list**
|
|
1529
|
+
> 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)
|
|
1530
|
+
|
|
1531
|
+
List package provenances
|
|
1532
|
+
|
|
1533
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1534
|
+
|
|
1535
|
+
### Example
|
|
1536
|
+
|
|
1537
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1538
|
+
* Basic Authentication (basicAuth):
|
|
1539
|
+
* Api Key Authentication (cookieAuth):
|
|
1540
|
+
|
|
1541
|
+
```python
|
|
1542
|
+
import pulpcore.client.pulp_python
|
|
1543
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
1544
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1545
|
+
from pprint import pprint
|
|
1546
|
+
|
|
1547
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1548
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1549
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1550
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1551
|
+
)
|
|
1552
|
+
|
|
1553
|
+
# The client must configure the authentication and authorization parameters
|
|
1554
|
+
# in accordance with the API server security policy.
|
|
1555
|
+
# Examples for each auth method are provided below, use the example that
|
|
1556
|
+
# satisfies your auth use case.
|
|
1557
|
+
|
|
1558
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1559
|
+
|
|
1560
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1561
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1562
|
+
username = os.environ["USERNAME"],
|
|
1563
|
+
password = os.environ["PASSWORD"]
|
|
1564
|
+
)
|
|
1565
|
+
|
|
1566
|
+
# Configure API key authorization: cookieAuth
|
|
1567
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1568
|
+
|
|
1569
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1570
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1571
|
+
|
|
1572
|
+
# Enter a context with an instance of the API client
|
|
1573
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1574
|
+
# Create an instance of the API class
|
|
1575
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1576
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1577
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1578
|
+
limit = 56 # int | Number of results to return per page. (optional)
|
|
1579
|
+
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
1580
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
1581
|
+
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
1582
|
+
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1583
|
+
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1584
|
+
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1585
|
+
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
|
|
1586
|
+
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
|
|
1587
|
+
repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1588
|
+
repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1589
|
+
repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1590
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1591
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1592
|
+
|
|
1593
|
+
try:
|
|
1594
|
+
# List package provenances
|
|
1595
|
+
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)
|
|
1596
|
+
print("The response of ContentProvenanceApi->list:\n")
|
|
1597
|
+
pprint(api_response)
|
|
1598
|
+
except Exception as e:
|
|
1599
|
+
print("Exception when calling ContentProvenanceApi->list: %s\n" % e)
|
|
1600
|
+
```
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
### Parameters
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
Name | Type | Description | Notes
|
|
1608
|
+
------------- | ------------- | ------------- | -------------
|
|
1609
|
+
**pulp_domain** | **str**| |
|
|
1610
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1611
|
+
**limit** | **int**| Number of results to return per page. | [optional]
|
|
1612
|
+
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
1613
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
1614
|
+
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
1615
|
+
**prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1616
|
+
**pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1617
|
+
**pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1618
|
+
**pulp_label_select** | **str**| Filter labels by search string | [optional]
|
|
1619
|
+
**q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
1620
|
+
**repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1621
|
+
**repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1622
|
+
**repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1623
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1624
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1625
|
+
|
|
1626
|
+
### Return type
|
|
1627
|
+
|
|
1628
|
+
[**PaginatedpythonPackageProvenanceResponseList**](PaginatedpythonPackageProvenanceResponseList.md)
|
|
1629
|
+
|
|
1630
|
+
### Authorization
|
|
1631
|
+
|
|
1632
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1633
|
+
|
|
1634
|
+
### HTTP request headers
|
|
1635
|
+
|
|
1636
|
+
- **Content-Type**: Not defined
|
|
1637
|
+
- **Accept**: application/json
|
|
1638
|
+
|
|
1639
|
+
### HTTP response details
|
|
1640
|
+
|
|
1641
|
+
| Status code | Description | Response headers |
|
|
1642
|
+
|-------------|-------------|------------------|
|
|
1643
|
+
**200** | | - |
|
|
1644
|
+
|
|
1645
|
+
[[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)
|
|
1646
|
+
|
|
1647
|
+
# **read**
|
|
1648
|
+
> PythonPackageProvenanceResponse read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1649
|
+
|
|
1650
|
+
Inspect a package provenance
|
|
1651
|
+
|
|
1652
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1653
|
+
|
|
1654
|
+
### Example
|
|
1655
|
+
|
|
1656
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1657
|
+
* Basic Authentication (basicAuth):
|
|
1658
|
+
* Api Key Authentication (cookieAuth):
|
|
1659
|
+
|
|
1660
|
+
```python
|
|
1661
|
+
import pulpcore.client.pulp_python
|
|
1662
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
1663
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1664
|
+
from pprint import pprint
|
|
1665
|
+
|
|
1666
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1667
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1668
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1669
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1670
|
+
)
|
|
1671
|
+
|
|
1672
|
+
# The client must configure the authentication and authorization parameters
|
|
1673
|
+
# in accordance with the API server security policy.
|
|
1674
|
+
# Examples for each auth method are provided below, use the example that
|
|
1675
|
+
# satisfies your auth use case.
|
|
1676
|
+
|
|
1677
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1678
|
+
|
|
1679
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1680
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1681
|
+
username = os.environ["USERNAME"],
|
|
1682
|
+
password = os.environ["PASSWORD"]
|
|
1683
|
+
)
|
|
1684
|
+
|
|
1685
|
+
# Configure API key authorization: cookieAuth
|
|
1686
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1687
|
+
|
|
1688
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1689
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1690
|
+
|
|
1691
|
+
# Enter a context with an instance of the API client
|
|
1692
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1693
|
+
# Create an instance of the API class
|
|
1694
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1695
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1696
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1697
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1698
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1699
|
+
|
|
1700
|
+
try:
|
|
1701
|
+
# Inspect a package provenance
|
|
1702
|
+
api_response = api_instance.read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1703
|
+
print("The response of ContentProvenanceApi->read:\n")
|
|
1704
|
+
pprint(api_response)
|
|
1705
|
+
except Exception as e:
|
|
1706
|
+
print("Exception when calling ContentProvenanceApi->read: %s\n" % e)
|
|
1707
|
+
```
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
### Parameters
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
Name | Type | Description | Notes
|
|
1715
|
+
------------- | ------------- | ------------- | -------------
|
|
1716
|
+
**python_package_provenance_href** | **str**| |
|
|
1717
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1718
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1719
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1720
|
+
|
|
1721
|
+
### Return type
|
|
1722
|
+
|
|
1723
|
+
[**PythonPackageProvenanceResponse**](PythonPackageProvenanceResponse.md)
|
|
1724
|
+
|
|
1725
|
+
### Authorization
|
|
1726
|
+
|
|
1727
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1728
|
+
|
|
1729
|
+
### HTTP request headers
|
|
1730
|
+
|
|
1731
|
+
- **Content-Type**: Not defined
|
|
1732
|
+
- **Accept**: application/json
|
|
1733
|
+
|
|
1734
|
+
### HTTP response details
|
|
1735
|
+
|
|
1736
|
+
| Status code | Description | Response headers |
|
|
1737
|
+
|-------------|-------------|------------------|
|
|
1738
|
+
**200** | | - |
|
|
1739
|
+
|
|
1740
|
+
[[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)
|
|
1741
|
+
|
|
1742
|
+
# **set_label**
|
|
1743
|
+
> SetLabelResponse set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1744
|
+
|
|
1745
|
+
Set a label
|
|
1746
|
+
|
|
1747
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1748
|
+
|
|
1749
|
+
### Example
|
|
1750
|
+
|
|
1751
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1752
|
+
* Basic Authentication (basicAuth):
|
|
1753
|
+
* Api Key Authentication (cookieAuth):
|
|
1754
|
+
|
|
1755
|
+
```python
|
|
1756
|
+
import pulpcore.client.pulp_python
|
|
1757
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
1758
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
1759
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1760
|
+
from pprint import pprint
|
|
1761
|
+
|
|
1762
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1763
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1764
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1765
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1766
|
+
)
|
|
1767
|
+
|
|
1768
|
+
# The client must configure the authentication and authorization parameters
|
|
1769
|
+
# in accordance with the API server security policy.
|
|
1770
|
+
# Examples for each auth method are provided below, use the example that
|
|
1771
|
+
# satisfies your auth use case.
|
|
1772
|
+
|
|
1773
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1774
|
+
|
|
1775
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1776
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1777
|
+
username = os.environ["USERNAME"],
|
|
1778
|
+
password = os.environ["PASSWORD"]
|
|
1779
|
+
)
|
|
1780
|
+
|
|
1781
|
+
# Configure API key authorization: cookieAuth
|
|
1782
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1783
|
+
|
|
1784
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1785
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1786
|
+
|
|
1787
|
+
# Enter a context with an instance of the API client
|
|
1788
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1789
|
+
# Create an instance of the API class
|
|
1790
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1791
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1792
|
+
set_label = pulpcore.client.pulp_python.SetLabel() # SetLabel |
|
|
1793
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1794
|
+
|
|
1795
|
+
try:
|
|
1796
|
+
# Set a label
|
|
1797
|
+
api_response = api_instance.set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1798
|
+
print("The response of ContentProvenanceApi->set_label:\n")
|
|
1799
|
+
pprint(api_response)
|
|
1800
|
+
except Exception as e:
|
|
1801
|
+
print("Exception when calling ContentProvenanceApi->set_label: %s\n" % e)
|
|
1086
1802
|
```
|
|
1087
1803
|
|
|
1088
1804
|
|
|
@@ -1092,13 +1808,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1092
1808
|
|
|
1093
1809
|
Name | Type | Description | Notes
|
|
1094
1810
|
------------- | ------------- | ------------- | -------------
|
|
1095
|
-
**
|
|
1096
|
-
**
|
|
1811
|
+
**python_package_provenance_href** | **str**| |
|
|
1812
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
1097
1813
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1098
1814
|
|
|
1099
1815
|
### Return type
|
|
1100
1816
|
|
|
1101
|
-
[**
|
|
1817
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
|
1102
1818
|
|
|
1103
1819
|
### Authorization
|
|
1104
1820
|
|
|
@@ -1117,12 +1833,12 @@ Name | Type | Description | Notes
|
|
|
1117
1833
|
|
|
1118
1834
|
[[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)
|
|
1119
1835
|
|
|
1120
|
-
# **
|
|
1121
|
-
>
|
|
1836
|
+
# **unset_label**
|
|
1837
|
+
> UnsetLabelResponse unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1122
1838
|
|
|
1123
|
-
|
|
1839
|
+
Unset a label
|
|
1124
1840
|
|
|
1125
|
-
|
|
1841
|
+
Unset a single pulp_label on the object.
|
|
1126
1842
|
|
|
1127
1843
|
### Example
|
|
1128
1844
|
|
|
@@ -1132,14 +1848,15 @@ Create a Python package.
|
|
|
1132
1848
|
|
|
1133
1849
|
```python
|
|
1134
1850
|
import pulpcore.client.pulp_python
|
|
1135
|
-
from pulpcore.client.pulp_python.models.
|
|
1851
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
1852
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
1136
1853
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1137
1854
|
from pprint import pprint
|
|
1138
1855
|
|
|
1139
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1856
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1140
1857
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1141
1858
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1142
|
-
host = "https://env-ephemeral-
|
|
1859
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1143
1860
|
)
|
|
1144
1861
|
|
|
1145
1862
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1164,48 +1881,18 @@ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
|
1164
1881
|
# Enter a context with an instance of the API client
|
|
1165
1882
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1166
1883
|
# Create an instance of the API class
|
|
1167
|
-
api_instance = pulpcore.client.pulp_python.
|
|
1168
|
-
|
|
1884
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1885
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1886
|
+
unset_label = pulpcore.client.pulp_python.UnsetLabel() # UnsetLabel |
|
|
1169
1887
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1170
|
-
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1171
|
-
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1172
|
-
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1173
|
-
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1174
|
-
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1175
|
-
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1176
|
-
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1177
|
-
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1178
|
-
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1179
|
-
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1180
|
-
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1181
|
-
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1182
|
-
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1183
|
-
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1184
|
-
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1185
|
-
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1186
|
-
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1187
|
-
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1188
|
-
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)
|
|
1189
|
-
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1190
|
-
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1191
|
-
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1192
|
-
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1193
|
-
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1194
|
-
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1195
|
-
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)
|
|
1196
|
-
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1197
|
-
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)
|
|
1198
|
-
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1199
|
-
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1200
|
-
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1201
1888
|
|
|
1202
1889
|
try:
|
|
1203
|
-
#
|
|
1204
|
-
api_response = api_instance.
|
|
1205
|
-
print("The response of
|
|
1890
|
+
# Unset a label
|
|
1891
|
+
api_response = api_instance.unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1892
|
+
print("The response of ContentProvenanceApi->unset_label:\n")
|
|
1206
1893
|
pprint(api_response)
|
|
1207
1894
|
except Exception as e:
|
|
1208
|
-
print("Exception when calling
|
|
1895
|
+
print("Exception when calling ContentProvenanceApi->unset_label: %s\n" % e)
|
|
1209
1896
|
```
|
|
1210
1897
|
|
|
1211
1898
|
|
|
@@ -1215,43 +1902,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1215
1902
|
|
|
1216
1903
|
Name | Type | Description | Notes
|
|
1217
1904
|
------------- | ------------- | ------------- | -------------
|
|
1218
|
-
**
|
|
1905
|
+
**python_package_provenance_href** | **str**| |
|
|
1906
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1219
1907
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1220
|
-
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1221
|
-
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1222
|
-
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1223
|
-
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1224
|
-
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1225
|
-
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1226
|
-
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1227
|
-
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1228
|
-
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1229
|
-
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1230
|
-
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1231
|
-
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1232
|
-
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1233
|
-
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1234
|
-
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1235
|
-
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1236
|
-
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1237
|
-
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1238
|
-
**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]
|
|
1239
|
-
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1240
|
-
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1241
|
-
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1242
|
-
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1243
|
-
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1244
|
-
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1245
|
-
**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]
|
|
1246
|
-
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1247
|
-
**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]
|
|
1248
|
-
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1249
|
-
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1250
|
-
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1251
1908
|
|
|
1252
1909
|
### Return type
|
|
1253
1910
|
|
|
1254
|
-
[**
|
|
1911
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1255
1912
|
|
|
1256
1913
|
### Authorization
|
|
1257
1914
|
|
|
@@ -1259,7 +1916,7 @@ Name | Type | Description | Notes
|
|
|
1259
1916
|
|
|
1260
1917
|
### HTTP request headers
|
|
1261
1918
|
|
|
1262
|
-
- **Content-Type**:
|
|
1919
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1263
1920
|
- **Accept**: application/json
|
|
1264
1921
|
|
|
1265
1922
|
### HTTP response details
|
|
@@ -1304,7 +1961,7 @@ content_summary_response_from_dict = ContentSummaryResponse.from_dict(content_su
|
|
|
1304
1961
|
|
|
1305
1962
|
# pulpcore.client.pulp_python.DistributionsPypiApi
|
|
1306
1963
|
|
|
1307
|
-
All URIs are relative to *https://env-ephemeral-
|
|
1964
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1308
1965
|
|
|
1309
1966
|
Method | HTTP request | Description
|
|
1310
1967
|
------------- | ------------- | -------------
|
|
@@ -1342,10 +1999,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
1342
1999
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1343
2000
|
from pprint import pprint
|
|
1344
2001
|
|
|
1345
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2002
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1346
2003
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1347
2004
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1348
|
-
host = "https://env-ephemeral-
|
|
2005
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1349
2006
|
)
|
|
1350
2007
|
|
|
1351
2008
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1436,10 +2093,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution import Python
|
|
|
1436
2093
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1437
2094
|
from pprint import pprint
|
|
1438
2095
|
|
|
1439
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2096
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1440
2097
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1441
2098
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1442
|
-
host = "https://env-ephemeral-
|
|
2099
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1443
2100
|
)
|
|
1444
2101
|
|
|
1445
2102
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1529,10 +2186,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
1529
2186
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1530
2187
|
from pprint import pprint
|
|
1531
2188
|
|
|
1532
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2189
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1533
2190
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1534
2191
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1535
|
-
host = "https://env-ephemeral-
|
|
2192
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1536
2193
|
)
|
|
1537
2194
|
|
|
1538
2195
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1620,10 +2277,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_resp
|
|
|
1620
2277
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1621
2278
|
from pprint import pprint
|
|
1622
2279
|
|
|
1623
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2280
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1624
2281
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1625
2282
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1626
|
-
host = "https://env-ephemeral-
|
|
2283
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1627
2284
|
)
|
|
1628
2285
|
|
|
1629
2286
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1765,10 +2422,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
1765
2422
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1766
2423
|
from pprint import pprint
|
|
1767
2424
|
|
|
1768
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2425
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1769
2426
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1770
2427
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1771
|
-
host = "https://env-ephemeral-
|
|
2428
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1772
2429
|
)
|
|
1773
2430
|
|
|
1774
2431
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1860,10 +2517,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
1860
2517
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1861
2518
|
from pprint import pprint
|
|
1862
2519
|
|
|
1863
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2520
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1864
2521
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1865
2522
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1866
|
-
host = "https://env-ephemeral-
|
|
2523
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1867
2524
|
)
|
|
1868
2525
|
|
|
1869
2526
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1956,10 +2613,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
1956
2613
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1957
2614
|
from pprint import pprint
|
|
1958
2615
|
|
|
1959
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2616
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1960
2617
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1961
2618
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1962
|
-
host = "https://env-ephemeral-
|
|
2619
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1963
2620
|
)
|
|
1964
2621
|
|
|
1965
2622
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2050,10 +2707,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2050
2707
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2051
2708
|
from pprint import pprint
|
|
2052
2709
|
|
|
2053
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2710
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2054
2711
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2055
2712
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2056
|
-
host = "https://env-ephemeral-
|
|
2713
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2057
2714
|
)
|
|
2058
2715
|
|
|
2059
2716
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2146,10 +2803,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
2146
2803
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2147
2804
|
from pprint import pprint
|
|
2148
2805
|
|
|
2149
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2806
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2150
2807
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2151
2808
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2152
|
-
host = "https://env-ephemeral-
|
|
2809
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2153
2810
|
)
|
|
2154
2811
|
|
|
2155
2812
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2240,10 +2897,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
2240
2897
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2241
2898
|
from pprint import pprint
|
|
2242
2899
|
|
|
2243
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2900
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2244
2901
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2245
2902
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2246
|
-
host = "https://env-ephemeral-
|
|
2903
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2247
2904
|
)
|
|
2248
2905
|
|
|
2249
2906
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2334,10 +2991,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
2334
2991
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2335
2992
|
from pprint import pprint
|
|
2336
2993
|
|
|
2337
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2994
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2338
2995
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2339
2996
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2340
|
-
host = "https://env-ephemeral-
|
|
2997
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2341
2998
|
)
|
|
2342
2999
|
|
|
2343
3000
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2428,10 +3085,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2428
3085
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2429
3086
|
from pprint import pprint
|
|
2430
3087
|
|
|
2431
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3088
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2432
3089
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2433
3090
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2434
|
-
host = "https://env-ephemeral-
|
|
3091
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2435
3092
|
)
|
|
2436
3093
|
|
|
2437
3094
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2520,6 +3177,44 @@ Name | Type | Description | Notes
|
|
|
2520
3177
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2521
3178
|
|
|
2522
3179
|
|
|
3180
|
+
# FiletypeEnum
|
|
3181
|
+
|
|
3182
|
+
* `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
3183
|
+
|
|
3184
|
+
## Enum
|
|
3185
|
+
|
|
3186
|
+
* `BDIST_WHEEL` (value: `'bdist_wheel'`)
|
|
3187
|
+
|
|
3188
|
+
* `SDIST` (value: `'sdist'`)
|
|
3189
|
+
|
|
3190
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
# MetadataVersionEnum
|
|
3194
|
+
|
|
3195
|
+
* `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
|
|
3196
|
+
|
|
3197
|
+
## Enum
|
|
3198
|
+
|
|
3199
|
+
* `ENUM_1_DOT_0` (value: `'1.0'`)
|
|
3200
|
+
|
|
3201
|
+
* `ENUM_1_DOT_1` (value: `'1.1'`)
|
|
3202
|
+
|
|
3203
|
+
* `ENUM_1_DOT_2` (value: `'1.2'`)
|
|
3204
|
+
|
|
3205
|
+
* `ENUM_2_DOT_0` (value: `'2.0'`)
|
|
3206
|
+
|
|
3207
|
+
* `ENUM_2_DOT_1` (value: `'2.1'`)
|
|
3208
|
+
|
|
3209
|
+
* `ENUM_2_DOT_2` (value: `'2.2'`)
|
|
3210
|
+
|
|
3211
|
+
* `ENUM_2_DOT_3` (value: `'2.3'`)
|
|
3212
|
+
|
|
3213
|
+
* `ENUM_2_DOT_4` (value: `'2.4'`)
|
|
3214
|
+
|
|
3215
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3216
|
+
|
|
3217
|
+
|
|
2523
3218
|
# MyPermissionsResponse
|
|
2524
3219
|
|
|
2525
3220
|
|
|
@@ -2732,6 +3427,38 @@ package_upload_task_response_from_dict = PackageUploadTaskResponse.from_dict(pac
|
|
|
2732
3427
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2733
3428
|
|
|
2734
3429
|
|
|
3430
|
+
# PaginatedpythonPackageProvenanceResponseList
|
|
3431
|
+
|
|
3432
|
+
|
|
3433
|
+
## Properties
|
|
3434
|
+
|
|
3435
|
+
Name | Type | Description | Notes
|
|
3436
|
+
------------ | ------------- | ------------- | -------------
|
|
3437
|
+
**count** | **int** | |
|
|
3438
|
+
**next** | **str** | | [optional]
|
|
3439
|
+
**previous** | **str** | | [optional]
|
|
3440
|
+
**results** | [**List[PythonPackageProvenanceResponse]**](PythonPackageProvenanceResponse.md) | |
|
|
3441
|
+
|
|
3442
|
+
## Example
|
|
3443
|
+
|
|
3444
|
+
```python
|
|
3445
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
3446
|
+
|
|
3447
|
+
# TODO update the JSON string below
|
|
3448
|
+
json = "{}"
|
|
3449
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a JSON string
|
|
3450
|
+
paginatedpython_package_provenance_response_list_instance = PaginatedpythonPackageProvenanceResponseList.from_json(json)
|
|
3451
|
+
# print the JSON string representation of the object
|
|
3452
|
+
print(PaginatedpythonPackageProvenanceResponseList.to_json())
|
|
3453
|
+
|
|
3454
|
+
# convert the object into a dict
|
|
3455
|
+
paginatedpython_package_provenance_response_list_dict = paginatedpython_package_provenance_response_list_instance.to_dict()
|
|
3456
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a dict
|
|
3457
|
+
paginatedpython_package_provenance_response_list_from_dict = PaginatedpythonPackageProvenanceResponseList.from_dict(paginatedpython_package_provenance_response_list_dict)
|
|
3458
|
+
```
|
|
3459
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3460
|
+
|
|
3461
|
+
|
|
2735
3462
|
# PaginatedpythonPythonDistributionResponseList
|
|
2736
3463
|
|
|
2737
3464
|
|
|
@@ -2998,6 +3725,7 @@ Name | Type | Description | Notes
|
|
|
2998
3725
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
2999
3726
|
**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]
|
|
3000
3727
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
3728
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
3001
3729
|
|
|
3002
3730
|
## Example
|
|
3003
3731
|
|
|
@@ -3069,9 +3797,20 @@ patchedpython_python_repository_from_dict = PatchedpythonPythonRepository.from_d
|
|
|
3069
3797
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3070
3798
|
|
|
3071
3799
|
|
|
3800
|
+
# ProtocolVersionEnum
|
|
3801
|
+
|
|
3802
|
+
* `1` - 1
|
|
3803
|
+
|
|
3804
|
+
## Enum
|
|
3805
|
+
|
|
3806
|
+
* `NUMBER_1` (value: `1`)
|
|
3807
|
+
|
|
3808
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3809
|
+
|
|
3810
|
+
|
|
3072
3811
|
# pulpcore.client.pulp_python.PublicationsPypiApi
|
|
3073
3812
|
|
|
3074
|
-
All URIs are relative to *https://env-ephemeral-
|
|
3813
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3075
3814
|
|
|
3076
3815
|
Method | HTTP request | Description
|
|
3077
3816
|
------------- | ------------- | -------------
|
|
@@ -3105,10 +3844,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3105
3844
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3106
3845
|
from pprint import pprint
|
|
3107
3846
|
|
|
3108
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3847
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3109
3848
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3110
3849
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3111
|
-
host = "https://env-ephemeral-
|
|
3850
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3112
3851
|
)
|
|
3113
3852
|
|
|
3114
3853
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3199,10 +3938,10 @@ from pulpcore.client.pulp_python.models.python_python_publication import PythonP
|
|
|
3199
3938
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3200
3939
|
from pprint import pprint
|
|
3201
3940
|
|
|
3202
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3941
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3203
3942
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3204
3943
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3205
|
-
host = "https://env-ephemeral-
|
|
3944
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3206
3945
|
)
|
|
3207
3946
|
|
|
3208
3947
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3291,10 +4030,10 @@ import pulpcore.client.pulp_python
|
|
|
3291
4030
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3292
4031
|
from pprint import pprint
|
|
3293
4032
|
|
|
3294
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4033
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3295
4034
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3296
4035
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3297
|
-
host = "https://env-ephemeral-
|
|
4036
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3298
4037
|
)
|
|
3299
4038
|
|
|
3300
4039
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3380,10 +4119,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_publication_respo
|
|
|
3380
4119
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3381
4120
|
from pprint import pprint
|
|
3382
4121
|
|
|
3383
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4122
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3384
4123
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3385
4124
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3386
|
-
host = "https://env-ephemeral-
|
|
4125
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3387
4126
|
)
|
|
3388
4127
|
|
|
3389
4128
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3513,10 +4252,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
3513
4252
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3514
4253
|
from pprint import pprint
|
|
3515
4254
|
|
|
3516
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4255
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3517
4256
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3518
4257
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3519
|
-
host = "https://env-ephemeral-
|
|
4258
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3520
4259
|
)
|
|
3521
4260
|
|
|
3522
4261
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3608,10 +4347,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
3608
4347
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3609
4348
|
from pprint import pprint
|
|
3610
4349
|
|
|
3611
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4350
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3612
4351
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3613
4352
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3614
|
-
host = "https://env-ephemeral-
|
|
4353
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3615
4354
|
)
|
|
3616
4355
|
|
|
3617
4356
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3703,10 +4442,10 @@ from pulpcore.client.pulp_python.models.python_python_publication_response impor
|
|
|
3703
4442
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3704
4443
|
from pprint import pprint
|
|
3705
4444
|
|
|
3706
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4445
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3707
4446
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3708
4447
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3709
|
-
host = "https://env-ephemeral-
|
|
4448
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3710
4449
|
)
|
|
3711
4450
|
|
|
3712
4451
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3799,10 +4538,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3799
4538
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3800
4539
|
from pprint import pprint
|
|
3801
4540
|
|
|
3802
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4541
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3803
4542
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3804
4543
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3805
|
-
host = "https://env-ephemeral-
|
|
4544
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3806
4545
|
)
|
|
3807
4546
|
|
|
3808
4547
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3875,7 +4614,7 @@ Name | Type | Description | Notes
|
|
|
3875
4614
|
|
|
3876
4615
|
# pulpcore.client.pulp_python.PypiMetadataApi
|
|
3877
4616
|
|
|
3878
|
-
All URIs are relative to *https://env-ephemeral-
|
|
4617
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3879
4618
|
|
|
3880
4619
|
Method | HTTP request | Description
|
|
3881
4620
|
------------- | ------------- | -------------
|
|
@@ -3901,10 +4640,10 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
|
|
|
3901
4640
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3902
4641
|
from pprint import pprint
|
|
3903
4642
|
|
|
3904
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4643
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3905
4644
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3906
4645
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3907
|
-
host = "https://env-ephemeral-
|
|
4646
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3908
4647
|
)
|
|
3909
4648
|
|
|
3910
4649
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3981,6 +4720,44 @@ Name | Type | Description | Notes
|
|
|
3981
4720
|
|
|
3982
4721
|
[[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)
|
|
3983
4722
|
|
|
4723
|
+
# PythonPackageProvenanceResponse
|
|
4724
|
+
|
|
4725
|
+
A Serializer for PackageProvenance.
|
|
4726
|
+
|
|
4727
|
+
## Properties
|
|
4728
|
+
|
|
4729
|
+
Name | Type | Description | Notes
|
|
4730
|
+
------------ | ------------- | ------------- | -------------
|
|
4731
|
+
**pulp_href** | **str** | | [optional] [readonly]
|
|
4732
|
+
**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
4733
|
+
**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly]
|
|
4734
|
+
**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]
|
|
4735
|
+
**pulp_labels** | **Dict[str, Optional[str]]** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
4736
|
+
**vuln_report** | **str** | | [optional] [readonly]
|
|
4737
|
+
**package** | **str** | The package that the provenance is for. |
|
|
4738
|
+
**provenance** | **object** | | [optional] [readonly]
|
|
4739
|
+
**sha256** | **str** | | [optional] [readonly]
|
|
4740
|
+
|
|
4741
|
+
## Example
|
|
4742
|
+
|
|
4743
|
+
```python
|
|
4744
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
4745
|
+
|
|
4746
|
+
# TODO update the JSON string below
|
|
4747
|
+
json = "{}"
|
|
4748
|
+
# create an instance of PythonPackageProvenanceResponse from a JSON string
|
|
4749
|
+
python_package_provenance_response_instance = PythonPackageProvenanceResponse.from_json(json)
|
|
4750
|
+
# print the JSON string representation of the object
|
|
4751
|
+
print(PythonPackageProvenanceResponse.to_json())
|
|
4752
|
+
|
|
4753
|
+
# convert the object into a dict
|
|
4754
|
+
python_package_provenance_response_dict = python_package_provenance_response_instance.to_dict()
|
|
4755
|
+
# create an instance of PythonPackageProvenanceResponse from a dict
|
|
4756
|
+
python_package_provenance_response_from_dict = PythonPackageProvenanceResponse.from_dict(python_package_provenance_response_dict)
|
|
4757
|
+
```
|
|
4758
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
4759
|
+
|
|
4760
|
+
|
|
3984
4761
|
# PythonPythonDistribution
|
|
3985
4762
|
|
|
3986
4763
|
Serializer for Pulp distributions for the Python type.
|
|
@@ -4111,7 +4888,10 @@ Name | Type | Description | Notes
|
|
|
4111
4888
|
**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]
|
|
4112
4889
|
**packagetype** | **str** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
|
4113
4890
|
**python_version** | **str** | The tag that indicates which Python implementation or version the package requires. | [optional] [readonly]
|
|
4891
|
+
**size** | **int** | The size of the package in bytes. | [optional] [readonly]
|
|
4114
4892
|
**sha256** | **str** | The SHA256 digest of this package. | [optional] [default to '']
|
|
4893
|
+
**metadata_sha256** | **str** | The SHA256 digest of the package's METADATA file. | [optional]
|
|
4894
|
+
**provenance** | **str** | The created provenance object on upload. | [optional] [readonly]
|
|
4115
4895
|
|
|
4116
4896
|
## Example
|
|
4117
4897
|
|
|
@@ -4235,6 +5015,7 @@ Name | Type | Description | Notes
|
|
|
4235
5015
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4236
5016
|
**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]
|
|
4237
5017
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5018
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4238
5019
|
|
|
4239
5020
|
## Example
|
|
4240
5021
|
|
|
@@ -4321,6 +5102,7 @@ Name | Type | Description | Notes
|
|
|
4321
5102
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4322
5103
|
**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]
|
|
4323
5104
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5105
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4324
5106
|
|
|
4325
5107
|
## Example
|
|
4326
5108
|
|
|
@@ -4420,7 +5202,7 @@ python_python_repository_response_from_dict = PythonPythonRepositoryResponse.fro
|
|
|
4420
5202
|
|
|
4421
5203
|
# pulpcore.client.pulp_python.RemotesPythonApi
|
|
4422
5204
|
|
|
4423
|
-
All URIs are relative to *https://env-ephemeral-
|
|
5205
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
4424
5206
|
|
|
4425
5207
|
Method | HTTP request | Description
|
|
4426
5208
|
------------- | ------------- | -------------
|
|
@@ -4459,10 +5241,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
4459
5241
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4460
5242
|
from pprint import pprint
|
|
4461
5243
|
|
|
4462
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5244
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4463
5245
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4464
5246
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4465
|
-
host = "https://env-ephemeral-
|
|
5247
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4466
5248
|
)
|
|
4467
5249
|
|
|
4468
5250
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4553,10 +5335,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4553
5335
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4554
5336
|
from pprint import pprint
|
|
4555
5337
|
|
|
4556
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5338
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4557
5339
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4558
5340
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4559
|
-
host = "https://env-ephemeral-
|
|
5341
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4560
5342
|
)
|
|
4561
5343
|
|
|
4562
5344
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4646,10 +5428,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
4646
5428
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4647
5429
|
from pprint import pprint
|
|
4648
5430
|
|
|
4649
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5431
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4650
5432
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4651
5433
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4652
|
-
host = "https://env-ephemeral-
|
|
5434
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4653
5435
|
)
|
|
4654
5436
|
|
|
4655
5437
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4737,10 +5519,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4737
5519
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4738
5520
|
from pprint import pprint
|
|
4739
5521
|
|
|
4740
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5522
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4741
5523
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4742
5524
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4743
|
-
host = "https://env-ephemeral-
|
|
5525
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4744
5526
|
)
|
|
4745
5527
|
|
|
4746
5528
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4834,10 +5616,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_l
|
|
|
4834
5616
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4835
5617
|
from pprint import pprint
|
|
4836
5618
|
|
|
4837
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5619
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4838
5620
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4839
5621
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4840
|
-
host = "https://env-ephemeral-
|
|
5622
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4841
5623
|
)
|
|
4842
5624
|
|
|
4843
5625
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4977,10 +5759,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
4977
5759
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4978
5760
|
from pprint import pprint
|
|
4979
5761
|
|
|
4980
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5762
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4981
5763
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4982
5764
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4983
|
-
host = "https://env-ephemeral-
|
|
5765
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4984
5766
|
)
|
|
4985
5767
|
|
|
4986
5768
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5072,10 +5854,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
5072
5854
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5073
5855
|
from pprint import pprint
|
|
5074
5856
|
|
|
5075
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5857
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5076
5858
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5077
5859
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5078
|
-
host = "https://env-ephemeral-
|
|
5860
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5079
5861
|
)
|
|
5080
5862
|
|
|
5081
5863
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5168,10 +5950,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5168
5950
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5169
5951
|
from pprint import pprint
|
|
5170
5952
|
|
|
5171
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5953
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5172
5954
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5173
5955
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5174
|
-
host = "https://env-ephemeral-
|
|
5956
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5175
5957
|
)
|
|
5176
5958
|
|
|
5177
5959
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5262,10 +6044,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5262
6044
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5263
6045
|
from pprint import pprint
|
|
5264
6046
|
|
|
5265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6047
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5266
6048
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5267
6049
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5268
|
-
host = "https://env-ephemeral-
|
|
6050
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5269
6051
|
)
|
|
5270
6052
|
|
|
5271
6053
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5358,10 +6140,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5358
6140
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5359
6141
|
from pprint import pprint
|
|
5360
6142
|
|
|
5361
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6143
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5362
6144
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5363
6145
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5364
|
-
host = "https://env-ephemeral-
|
|
6146
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5365
6147
|
)
|
|
5366
6148
|
|
|
5367
6149
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5452,10 +6234,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
5452
6234
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5453
6235
|
from pprint import pprint
|
|
5454
6236
|
|
|
5455
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6237
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5456
6238
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5457
6239
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5458
|
-
host = "https://env-ephemeral-
|
|
6240
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5459
6241
|
)
|
|
5460
6242
|
|
|
5461
6243
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5546,10 +6328,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
5546
6328
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5547
6329
|
from pprint import pprint
|
|
5548
6330
|
|
|
5549
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6331
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5550
6332
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5551
6333
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5552
|
-
host = "https://env-ephemeral-
|
|
6334
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5553
6335
|
)
|
|
5554
6336
|
|
|
5555
6337
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5640,10 +6422,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5640
6422
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5641
6423
|
from pprint import pprint
|
|
5642
6424
|
|
|
5643
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6425
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5644
6426
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5645
6427
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5646
|
-
host = "https://env-ephemeral-
|
|
6428
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5647
6429
|
)
|
|
5648
6430
|
|
|
5649
6431
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5746,7 +6528,7 @@ repair_from_dict = Repair.from_dict(repair_dict)
|
|
|
5746
6528
|
|
|
5747
6529
|
# pulpcore.client.pulp_python.RepositoriesPythonApi
|
|
5748
6530
|
|
|
5749
|
-
All URIs are relative to *https://env-ephemeral-
|
|
6531
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
5750
6532
|
|
|
5751
6533
|
Method | HTTP request | Description
|
|
5752
6534
|
------------- | ------------- | -------------
|
|
@@ -5787,10 +6569,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5787
6569
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5788
6570
|
from pprint import pprint
|
|
5789
6571
|
|
|
5790
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6572
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5791
6573
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5792
6574
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5793
|
-
host = "https://env-ephemeral-
|
|
6575
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5794
6576
|
)
|
|
5795
6577
|
|
|
5796
6578
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5881,10 +6663,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
5881
6663
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5882
6664
|
from pprint import pprint
|
|
5883
6665
|
|
|
5884
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6666
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5885
6667
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5886
6668
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5887
|
-
host = "https://env-ephemeral-
|
|
6669
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5888
6670
|
)
|
|
5889
6671
|
|
|
5890
6672
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5974,10 +6756,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
5974
6756
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5975
6757
|
from pprint import pprint
|
|
5976
6758
|
|
|
5977
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6759
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5978
6760
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5979
6761
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5980
|
-
host = "https://env-ephemeral-
|
|
6762
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5981
6763
|
)
|
|
5982
6764
|
|
|
5983
6765
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6065,10 +6847,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_repository_respon
|
|
|
6065
6847
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6066
6848
|
from pprint import pprint
|
|
6067
6849
|
|
|
6068
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6850
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6069
6851
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6070
6852
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6071
|
-
host = "https://env-ephemeral-
|
|
6853
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6072
6854
|
)
|
|
6073
6855
|
|
|
6074
6856
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6216,10 +6998,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
6216
6998
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6217
6999
|
from pprint import pprint
|
|
6218
7000
|
|
|
6219
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7001
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6220
7002
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6221
7003
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6222
|
-
host = "https://env-ephemeral-
|
|
7004
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6223
7005
|
)
|
|
6224
7006
|
|
|
6225
7007
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6312,10 +7094,10 @@ from pulpcore.client.pulp_python.models.repository_add_remove_content import Rep
|
|
|
6312
7094
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6313
7095
|
from pprint import pprint
|
|
6314
7096
|
|
|
6315
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7097
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6316
7098
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6317
7099
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6318
|
-
host = "https://env-ephemeral-
|
|
7100
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6319
7101
|
)
|
|
6320
7102
|
|
|
6321
7103
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6405,10 +7187,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
6405
7187
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6406
7188
|
from pprint import pprint
|
|
6407
7189
|
|
|
6408
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7190
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6409
7191
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6410
7192
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6411
|
-
host = "https://env-ephemeral-
|
|
7193
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6412
7194
|
)
|
|
6413
7195
|
|
|
6414
7196
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6501,10 +7283,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6501
7283
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6502
7284
|
from pprint import pprint
|
|
6503
7285
|
|
|
6504
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7286
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6505
7287
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6506
7288
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6507
|
-
host = "https://env-ephemeral-
|
|
7289
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6508
7290
|
)
|
|
6509
7291
|
|
|
6510
7292
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6595,10 +7377,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6595
7377
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6596
7378
|
from pprint import pprint
|
|
6597
7379
|
|
|
6598
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7380
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6599
7381
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6600
7382
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6601
|
-
host = "https://env-ephemeral-
|
|
7383
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6602
7384
|
)
|
|
6603
7385
|
|
|
6604
7386
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6691,10 +7473,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
6691
7473
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6692
7474
|
from pprint import pprint
|
|
6693
7475
|
|
|
6694
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7476
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6695
7477
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6696
7478
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6697
|
-
host = "https://env-ephemeral-
|
|
7479
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6698
7480
|
)
|
|
6699
7481
|
|
|
6700
7482
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6784,10 +7566,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
6784
7566
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6785
7567
|
from pprint import pprint
|
|
6786
7568
|
|
|
6787
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7569
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6788
7570
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6789
7571
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6790
|
-
host = "https://env-ephemeral-
|
|
7572
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6791
7573
|
)
|
|
6792
7574
|
|
|
6793
7575
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6876,10 +7658,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
6876
7658
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6877
7659
|
from pprint import pprint
|
|
6878
7660
|
|
|
6879
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7661
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6880
7662
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6881
7663
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6882
|
-
host = "https://env-ephemeral-
|
|
7664
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6883
7665
|
)
|
|
6884
7666
|
|
|
6885
7667
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6970,10 +7752,10 @@ from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyn
|
|
|
6970
7752
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6971
7753
|
from pprint import pprint
|
|
6972
7754
|
|
|
6973
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7755
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6974
7756
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6975
7757
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6976
|
-
host = "https://env-ephemeral-
|
|
7758
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6977
7759
|
)
|
|
6978
7760
|
|
|
6979
7761
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7064,10 +7846,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
7064
7846
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7065
7847
|
from pprint import pprint
|
|
7066
7848
|
|
|
7067
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7849
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7068
7850
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7069
7851
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7070
|
-
host = "https://env-ephemeral-
|
|
7852
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7071
7853
|
)
|
|
7072
7854
|
|
|
7073
7855
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7158,10 +7940,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
7158
7940
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7159
7941
|
from pprint import pprint
|
|
7160
7942
|
|
|
7161
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7943
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7162
7944
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7163
7945
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7164
|
-
host = "https://env-ephemeral-
|
|
7946
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7165
7947
|
)
|
|
7166
7948
|
|
|
7167
7949
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7235,7 +8017,7 @@ Name | Type | Description | Notes
|
|
|
7235
8017
|
|
|
7236
8018
|
# pulpcore.client.pulp_python.RepositoriesPythonVersionsApi
|
|
7237
8019
|
|
|
7238
|
-
All URIs are relative to *https://env-ephemeral-
|
|
8020
|
+
All URIs are relative to *https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
7239
8021
|
|
|
7240
8022
|
Method | HTTP request | Description
|
|
7241
8023
|
------------- | ------------- | -------------
|
|
@@ -7243,6 +8025,7 @@ Method | HTTP request | Description
|
|
|
7243
8025
|
[**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
7244
8026
|
[**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
7245
8027
|
[**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
8028
|
+
[**scan**](RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report
|
|
7246
8029
|
|
|
7247
8030
|
|
|
7248
8031
|
# **delete**
|
|
@@ -7264,10 +8047,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
7264
8047
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7265
8048
|
from pprint import pprint
|
|
7266
8049
|
|
|
7267
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8050
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7268
8051
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7269
8052
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7270
|
-
host = "https://env-ephemeral-
|
|
8053
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7271
8054
|
)
|
|
7272
8055
|
|
|
7273
8056
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7355,10 +8138,10 @@ from pulpcore.client.pulp_python.models.paginated_repository_version_response_li
|
|
|
7355
8138
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7356
8139
|
from pprint import pprint
|
|
7357
8140
|
|
|
7358
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8141
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7359
8142
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7360
8143
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7361
|
-
host = "https://env-ephemeral-
|
|
8144
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7362
8145
|
)
|
|
7363
8146
|
|
|
7364
8147
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7492,10 +8275,10 @@ from pulpcore.client.pulp_python.models.repository_version_response import Repos
|
|
|
7492
8275
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7493
8276
|
from pprint import pprint
|
|
7494
8277
|
|
|
7495
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8278
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7496
8279
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7497
8280
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7498
|
-
host = "https://env-ephemeral-
|
|
8281
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7499
8282
|
)
|
|
7500
8283
|
|
|
7501
8284
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7588,10 +8371,10 @@ from pulpcore.client.pulp_python.models.repair import Repair
|
|
|
7588
8371
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7589
8372
|
from pprint import pprint
|
|
7590
8373
|
|
|
7591
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8374
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7592
8375
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7593
8376
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7594
|
-
host = "https://env-ephemeral-
|
|
8377
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7595
8378
|
)
|
|
7596
8379
|
|
|
7597
8380
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7661,6 +8444,97 @@ Name | Type | Description | Notes
|
|
|
7661
8444
|
|
|
7662
8445
|
[[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)
|
|
7663
8446
|
|
|
8447
|
+
# **scan**
|
|
8448
|
+
> AsyncOperationResponse scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8449
|
+
|
|
8450
|
+
Generate vulnerability report
|
|
8451
|
+
|
|
8452
|
+
Scan a repository version for vulnerabilities.
|
|
8453
|
+
|
|
8454
|
+
### Example
|
|
8455
|
+
|
|
8456
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
8457
|
+
* Basic Authentication (basicAuth):
|
|
8458
|
+
* Api Key Authentication (cookieAuth):
|
|
8459
|
+
|
|
8460
|
+
```python
|
|
8461
|
+
import pulpcore.client.pulp_python
|
|
8462
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
8463
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
8464
|
+
from pprint import pprint
|
|
8465
|
+
|
|
8466
|
+
# Defining the host is optional and defaults to https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
8467
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
8468
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8469
|
+
host = "https://env-ephemeral-fd87kx.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
8470
|
+
)
|
|
8471
|
+
|
|
8472
|
+
# The client must configure the authentication and authorization parameters
|
|
8473
|
+
# in accordance with the API server security policy.
|
|
8474
|
+
# Examples for each auth method are provided below, use the example that
|
|
8475
|
+
# satisfies your auth use case.
|
|
8476
|
+
|
|
8477
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
8478
|
+
|
|
8479
|
+
# Configure HTTP basic authorization: basicAuth
|
|
8480
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8481
|
+
username = os.environ["USERNAME"],
|
|
8482
|
+
password = os.environ["PASSWORD"]
|
|
8483
|
+
)
|
|
8484
|
+
|
|
8485
|
+
# Configure API key authorization: cookieAuth
|
|
8486
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
8487
|
+
|
|
8488
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
8489
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
8490
|
+
|
|
8491
|
+
# Enter a context with an instance of the API client
|
|
8492
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
8493
|
+
# Create an instance of the API class
|
|
8494
|
+
api_instance = pulpcore.client.pulp_python.RepositoriesPythonVersionsApi(api_client)
|
|
8495
|
+
python_python_repository_version_href = 'python_python_repository_version_href_example' # str |
|
|
8496
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
8497
|
+
|
|
8498
|
+
try:
|
|
8499
|
+
# Generate vulnerability report
|
|
8500
|
+
api_response = api_instance.scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8501
|
+
print("The response of RepositoriesPythonVersionsApi->scan:\n")
|
|
8502
|
+
pprint(api_response)
|
|
8503
|
+
except Exception as e:
|
|
8504
|
+
print("Exception when calling RepositoriesPythonVersionsApi->scan: %s\n" % e)
|
|
8505
|
+
```
|
|
8506
|
+
|
|
8507
|
+
|
|
8508
|
+
|
|
8509
|
+
### Parameters
|
|
8510
|
+
|
|
8511
|
+
|
|
8512
|
+
Name | Type | Description | Notes
|
|
8513
|
+
------------- | ------------- | ------------- | -------------
|
|
8514
|
+
**python_python_repository_version_href** | **str**| |
|
|
8515
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
8516
|
+
|
|
8517
|
+
### Return type
|
|
8518
|
+
|
|
8519
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
8520
|
+
|
|
8521
|
+
### Authorization
|
|
8522
|
+
|
|
8523
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
8524
|
+
|
|
8525
|
+
### HTTP request headers
|
|
8526
|
+
|
|
8527
|
+
- **Content-Type**: Not defined
|
|
8528
|
+
- **Accept**: application/json
|
|
8529
|
+
|
|
8530
|
+
### HTTP response details
|
|
8531
|
+
|
|
8532
|
+
| Status code | Description | Response headers |
|
|
8533
|
+
|-------------|-------------|------------------|
|
|
8534
|
+
**202** | | - |
|
|
8535
|
+
|
|
8536
|
+
[[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)
|
|
8537
|
+
|
|
7664
8538
|
# RepositoryAddRemoveContent
|
|
7665
8539
|
|
|
7666
8540
|
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.
|