crc-pulp-python-client 20251023.2__py3-none-any.whl → 20260115.3__py3-none-any.whl
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-20251023.2.dist-info → crc_pulp_python_client-20260115.3.dist-info}/METADATA +1173 -236
- {crc_pulp_python_client-20251023.2.dist-info → crc_pulp_python_client-20260115.3.dist-info}/RECORD +23 -16
- pulpcore/client/pulp_python/__init__.py +8 -1
- pulpcore/client/pulp_python/api/__init__.py +2 -0
- pulpcore/client/pulp_python/api/api_integrity_provenance_api.py +407 -0
- pulpcore/client/pulp_python/api/api_legacy_api.py +61 -1
- pulpcore/client/pulp_python/api/api_simple_api.py +108 -5
- pulpcore/client/pulp_python/api/content_packages_api.py +66 -6
- pulpcore/client/pulp_python/api/content_provenance_api.py +1900 -0
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +279 -0
- pulpcore/client/pulp_python/configuration.py +3 -3
- pulpcore/client/pulp_python/models/__init__.py +5 -0
- pulpcore/client/pulp_python/models/filetype_enum.py +38 -0
- pulpcore/client/pulp_python/models/metadata_version_enum.py +44 -0
- pulpcore/client/pulp_python/models/paginatedpython_package_provenance_response_list.py +112 -0
- pulpcore/client/pulp_python/models/patchedpython_python_remote.py +4 -2
- pulpcore/client/pulp_python/models/protocol_version_enum.py +37 -0
- pulpcore/client/pulp_python/models/python_package_provenance_response.py +124 -0
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +18 -3
- pulpcore/client/pulp_python/models/python_python_remote.py +4 -2
- pulpcore/client/pulp_python/models/python_python_remote_response.py +4 -2
- {crc_pulp_python_client-20251023.2.dist-info → crc_pulp_python_client-20260115.3.dist-info}/WHEEL +0 -0
- {crc_pulp_python_client-20251023.2.dist-info → crc_pulp_python_client-20260115.3.dist-info}/top_level.txt +0 -0
{crc_pulp_python_client-20251023.2.dist-info → crc_pulp_python_client-20260115.3.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crc-pulp_python-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260115.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.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-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
241
358
|
|
|
242
359
|
Method | HTTP request | Description
|
|
243
360
|
------------- | ------------- | -------------
|
|
@@ -247,7 +364,7 @@ Method | HTTP request | Description
|
|
|
247
364
|
|
|
248
365
|
|
|
249
366
|
# **create**
|
|
250
|
-
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
367
|
+
> PackageUploadTaskResponse create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
251
368
|
|
|
252
369
|
Upload a package
|
|
253
370
|
|
|
@@ -255,6 +372,9 @@ Upload package to the index. This endpoint has the same functionality as the upl
|
|
|
255
372
|
|
|
256
373
|
### Example
|
|
257
374
|
|
|
375
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
376
|
+
* Basic Authentication (basicAuth):
|
|
377
|
+
* Api Key Authentication (cookieAuth):
|
|
258
378
|
|
|
259
379
|
```python
|
|
260
380
|
import pulpcore.client.pulp_python
|
|
@@ -262,12 +382,30 @@ from pulpcore.client.pulp_python.models.package_upload_task_response import Pack
|
|
|
262
382
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
263
383
|
from pprint import pprint
|
|
264
384
|
|
|
265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
385
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
266
386
|
# See configuration.py for a list of all supported configuration parameters.
|
|
267
387
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
268
|
-
host = "https://env-ephemeral-
|
|
388
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
269
389
|
)
|
|
270
390
|
|
|
391
|
+
# The client must configure the authentication and authorization parameters
|
|
392
|
+
# in accordance with the API server security policy.
|
|
393
|
+
# Examples for each auth method are provided below, use the example that
|
|
394
|
+
# satisfies your auth use case.
|
|
395
|
+
|
|
396
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
397
|
+
|
|
398
|
+
# Configure HTTP basic authorization: basicAuth
|
|
399
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
400
|
+
username = os.environ["USERNAME"],
|
|
401
|
+
password = os.environ["PASSWORD"]
|
|
402
|
+
)
|
|
403
|
+
|
|
404
|
+
# Configure API key authorization: cookieAuth
|
|
405
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
406
|
+
|
|
407
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
408
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
271
409
|
|
|
272
410
|
# Enter a context with an instance of the API client
|
|
273
411
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -279,10 +417,14 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
279
417
|
sha256_digest = 'sha256_digest_example' # str | SHA256 of package to validate upload integrity.
|
|
280
418
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
281
419
|
action = 'file_upload' # str | Defaults to `file_upload`, don't change it or request will fail! (optional) (default to 'file_upload')
|
|
420
|
+
protocol_version = pulpcore.client.pulp_python.ProtocolVersionEnum() # ProtocolVersionEnum | Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 (optional)
|
|
421
|
+
filetype = pulpcore.client.pulp_python.FiletypeEnum() # FiletypeEnum | Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist (optional)
|
|
422
|
+
metadata_version = pulpcore.client.pulp_python.MetadataVersionEnum() # MetadataVersionEnum | Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 (optional)
|
|
423
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
282
424
|
|
|
283
425
|
try:
|
|
284
426
|
# Upload a package
|
|
285
|
-
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action)
|
|
427
|
+
api_response = api_instance.create(path, pulp_domain, content, sha256_digest, x_task_diagnostics=x_task_diagnostics, action=action, protocol_version=protocol_version, filetype=filetype, metadata_version=metadata_version, attestations=attestations)
|
|
286
428
|
print("The response of ApiSimpleApi->create:\n")
|
|
287
429
|
pprint(api_response)
|
|
288
430
|
except Exception as e:
|
|
@@ -302,6 +444,10 @@ Name | Type | Description | Notes
|
|
|
302
444
|
**sha256_digest** | **str**| SHA256 of package to validate upload integrity. |
|
|
303
445
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
304
446
|
**action** | **str**| Defaults to `file_upload`, don't change it or request will fail! | [optional] [default to 'file_upload']
|
|
447
|
+
**protocol_version** | [**ProtocolVersionEnum**](ProtocolVersionEnum.md)| Protocol version to use for the upload. Only version 1 is supported. * `1` - 1 | [optional]
|
|
448
|
+
**filetype** | [**FiletypeEnum**](FiletypeEnum.md)| Type of artifact to upload. * `bdist_wheel` - bdist_wheel * `sdist` - sdist | [optional]
|
|
449
|
+
**metadata_version** | [**MetadataVersionEnum**](MetadataVersionEnum.md)| Metadata version of the uploaded package. * `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4 | [optional]
|
|
450
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
305
451
|
|
|
306
452
|
### Return type
|
|
307
453
|
|
|
@@ -309,7 +455,7 @@ Name | Type | Description | Notes
|
|
|
309
455
|
|
|
310
456
|
### Authorization
|
|
311
457
|
|
|
312
|
-
|
|
458
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
313
459
|
|
|
314
460
|
### HTTP request headers
|
|
315
461
|
|
|
@@ -325,26 +471,47 @@ No authorization required
|
|
|
325
471
|
[[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
472
|
|
|
327
473
|
# **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)
|
|
474
|
+
> pypi_simple_package_read(package, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
329
475
|
|
|
330
476
|
Get package simple page
|
|
331
477
|
|
|
332
|
-
Retrieves the simple api html page for a package.
|
|
478
|
+
Retrieves the simple api html/json page for a package.
|
|
333
479
|
|
|
334
480
|
### Example
|
|
335
481
|
|
|
482
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
483
|
+
* Basic Authentication (basicAuth):
|
|
484
|
+
* Api Key Authentication (cookieAuth):
|
|
336
485
|
|
|
337
486
|
```python
|
|
338
487
|
import pulpcore.client.pulp_python
|
|
339
488
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
340
489
|
from pprint import pprint
|
|
341
490
|
|
|
342
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
491
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
343
492
|
# See configuration.py for a list of all supported configuration parameters.
|
|
344
493
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
345
|
-
host = "https://env-ephemeral-
|
|
494
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
# The client must configure the authentication and authorization parameters
|
|
498
|
+
# in accordance with the API server security policy.
|
|
499
|
+
# Examples for each auth method are provided below, use the example that
|
|
500
|
+
# satisfies your auth use case.
|
|
501
|
+
|
|
502
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
503
|
+
|
|
504
|
+
# Configure HTTP basic authorization: basicAuth
|
|
505
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
506
|
+
username = os.environ["USERNAME"],
|
|
507
|
+
password = os.environ["PASSWORD"]
|
|
346
508
|
)
|
|
347
509
|
|
|
510
|
+
# Configure API key authorization: cookieAuth
|
|
511
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
512
|
+
|
|
513
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
514
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
348
515
|
|
|
349
516
|
# Enter a context with an instance of the API client
|
|
350
517
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -354,12 +521,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
354
521
|
path = 'path_example' # str |
|
|
355
522
|
pulp_domain = 'pulp_domain_example' # str |
|
|
356
523
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
524
|
+
format = 'format_example' # str | (optional)
|
|
357
525
|
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
358
526
|
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
359
527
|
|
|
360
528
|
try:
|
|
361
529
|
# 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)
|
|
530
|
+
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
531
|
except Exception as e:
|
|
364
532
|
print("Exception when calling ApiSimpleApi->pypi_simple_package_read: %s\n" % e)
|
|
365
533
|
```
|
|
@@ -375,6 +543,7 @@ Name | Type | Description | Notes
|
|
|
375
543
|
**path** | **str**| |
|
|
376
544
|
**pulp_domain** | **str**| |
|
|
377
545
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
546
|
+
**format** | **str**| | [optional]
|
|
378
547
|
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
379
548
|
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
380
549
|
|
|
@@ -384,7 +553,7 @@ void (empty response body)
|
|
|
384
553
|
|
|
385
554
|
### Authorization
|
|
386
555
|
|
|
387
|
-
|
|
556
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
388
557
|
|
|
389
558
|
### HTTP request headers
|
|
390
559
|
|
|
@@ -400,7 +569,7 @@ No authorization required
|
|
|
400
569
|
[[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
570
|
|
|
402
571
|
# **read**
|
|
403
|
-
> read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
572
|
+
> read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
404
573
|
|
|
405
574
|
Get index simple page
|
|
406
575
|
|
|
@@ -408,18 +577,39 @@ Gets the simple api html page for the index.
|
|
|
408
577
|
|
|
409
578
|
### Example
|
|
410
579
|
|
|
580
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
581
|
+
* Basic Authentication (basicAuth):
|
|
582
|
+
* Api Key Authentication (cookieAuth):
|
|
411
583
|
|
|
412
584
|
```python
|
|
413
585
|
import pulpcore.client.pulp_python
|
|
414
586
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
415
587
|
from pprint import pprint
|
|
416
588
|
|
|
417
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
589
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
418
590
|
# See configuration.py for a list of all supported configuration parameters.
|
|
419
591
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
420
|
-
host = "https://env-ephemeral-
|
|
592
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
593
|
+
)
|
|
594
|
+
|
|
595
|
+
# The client must configure the authentication and authorization parameters
|
|
596
|
+
# in accordance with the API server security policy.
|
|
597
|
+
# Examples for each auth method are provided below, use the example that
|
|
598
|
+
# satisfies your auth use case.
|
|
599
|
+
|
|
600
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
601
|
+
|
|
602
|
+
# Configure HTTP basic authorization: basicAuth
|
|
603
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
604
|
+
username = os.environ["USERNAME"],
|
|
605
|
+
password = os.environ["PASSWORD"]
|
|
421
606
|
)
|
|
422
607
|
|
|
608
|
+
# Configure API key authorization: cookieAuth
|
|
609
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
610
|
+
|
|
611
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
612
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
423
613
|
|
|
424
614
|
# Enter a context with an instance of the API client
|
|
425
615
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
@@ -428,12 +618,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
428
618
|
path = 'path_example' # str |
|
|
429
619
|
pulp_domain = 'pulp_domain_example' # str |
|
|
430
620
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
621
|
+
format = 'format_example' # str | (optional)
|
|
431
622
|
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
432
623
|
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
433
624
|
|
|
434
625
|
try:
|
|
435
626
|
# Get index simple page
|
|
436
|
-
api_instance.read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
627
|
+
api_instance.read(path, pulp_domain, x_task_diagnostics=x_task_diagnostics, format=format, fields=fields, exclude_fields=exclude_fields)
|
|
437
628
|
except Exception as e:
|
|
438
629
|
print("Exception when calling ApiSimpleApi->read: %s\n" % e)
|
|
439
630
|
```
|
|
@@ -448,6 +639,7 @@ Name | Type | Description | Notes
|
|
|
448
639
|
**path** | **str**| |
|
|
449
640
|
**pulp_domain** | **str**| |
|
|
450
641
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
642
|
+
**format** | **str**| | [optional]
|
|
451
643
|
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
452
644
|
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
453
645
|
|
|
@@ -457,7 +649,7 @@ void (empty response body)
|
|
|
457
649
|
|
|
458
650
|
### Authorization
|
|
459
651
|
|
|
460
|
-
|
|
652
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
461
653
|
|
|
462
654
|
### HTTP request headers
|
|
463
655
|
|
|
@@ -504,7 +696,7 @@ async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_oper
|
|
|
504
696
|
|
|
505
697
|
# pulpcore.client.pulp_python.ContentPackagesApi
|
|
506
698
|
|
|
507
|
-
All URIs are relative to *https://env-ephemeral-
|
|
699
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
508
700
|
|
|
509
701
|
Method | HTTP request | Description
|
|
510
702
|
------------- | ------------- | -------------
|
|
@@ -517,7 +709,7 @@ Method | HTTP request | Description
|
|
|
517
709
|
|
|
518
710
|
|
|
519
711
|
# **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)
|
|
712
|
+
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
521
713
|
|
|
522
714
|
Create a python package content
|
|
523
715
|
|
|
@@ -535,10 +727,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
535
727
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
536
728
|
from pprint import pprint
|
|
537
729
|
|
|
538
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
730
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
539
731
|
# See configuration.py for a list of all supported configuration parameters.
|
|
540
732
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
541
|
-
host = "https://env-ephemeral-
|
|
733
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
542
734
|
)
|
|
543
735
|
|
|
544
736
|
# The client must configure the authentication and authorization parameters
|
|
@@ -599,10 +791,12 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
599
791
|
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
600
792
|
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
601
793
|
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
794
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
795
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
602
796
|
|
|
603
797
|
try:
|
|
604
798
|
# 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)
|
|
799
|
+
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
606
800
|
print("The response of ContentPackagesApi->create:\n")
|
|
607
801
|
pprint(api_response)
|
|
608
802
|
except Exception as e:
|
|
@@ -651,6 +845,8 @@ Name | Type | Description | Notes
|
|
|
651
845
|
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
652
846
|
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
653
847
|
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
848
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
849
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
654
850
|
|
|
655
851
|
### Return type
|
|
656
852
|
|
|
@@ -692,10 +888,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_r
|
|
|
692
888
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
693
889
|
from pprint import pprint
|
|
694
890
|
|
|
695
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
891
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
696
892
|
# See configuration.py for a list of all supported configuration parameters.
|
|
697
893
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
698
|
-
host = "https://env-ephemeral-
|
|
894
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
699
895
|
)
|
|
700
896
|
|
|
701
897
|
# The client must configure the authentication and authorization parameters
|
|
@@ -734,7 +930,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
734
930
|
name = 'name_example' # str | Filter results where name matches value (optional)
|
|
735
931
|
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
|
|
736
932
|
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)
|
|
933
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
738
934
|
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
739
935
|
packagetype = 'packagetype_example' # str | Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist (optional)
|
|
740
936
|
packagetype__in = ['packagetype__in_example'] # List[str] | Filter results where packagetype is in a comma-separated list of values (optional)
|
|
@@ -788,7 +984,7 @@ Name | Type | Description | Notes
|
|
|
788
984
|
**name** | **str**| Filter results where name matches value | [optional]
|
|
789
985
|
**name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional]
|
|
790
986
|
**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]
|
|
987
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `description` - Description * `-description` - Description (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `license` - License * `-license` - License (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `name` - Name * `-name` - Name (descending) * `platform` - Platform * `-platform` - Platform (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `provides_extras` - Provides extras * `-provides_extras` - Provides extras (descending) * `dynamic` - Dynamic * `-dynamic` - Dynamic (descending) * `license_expression` - License expression * `-license_expression` - License expression (descending) * `license_file` - License file * `-license_file` - License file (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `size` - Size * `-size` - Size (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
792
988
|
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
793
989
|
**packagetype** | **str**| Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist | [optional]
|
|
794
990
|
**packagetype__in** | [**List[str]**](str.md)| Filter results where packagetype is in a comma-separated list of values | [optional]
|
|
@@ -853,10 +1049,10 @@ from pulpcore.client.pulp_python.models.python_python_package_content_response i
|
|
|
853
1049
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
854
1050
|
from pprint import pprint
|
|
855
1051
|
|
|
856
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1052
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
857
1053
|
# See configuration.py for a list of all supported configuration parameters.
|
|
858
1054
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
859
|
-
host = "https://env-ephemeral-
|
|
1055
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
860
1056
|
)
|
|
861
1057
|
|
|
862
1058
|
# The client must configure the authentication and authorization parameters
|
|
@@ -949,10 +1145,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
949
1145
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
950
1146
|
from pprint import pprint
|
|
951
1147
|
|
|
952
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1148
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
953
1149
|
# See configuration.py for a list of all supported configuration parameters.
|
|
954
1150
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
955
|
-
host = "https://env-ephemeral-
|
|
1151
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
956
1152
|
)
|
|
957
1153
|
|
|
958
1154
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1043,10 +1239,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
1043
1239
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1044
1240
|
from pprint import pprint
|
|
1045
1241
|
|
|
1046
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1242
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1047
1243
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1048
1244
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1049
|
-
host = "https://env-ephemeral-
|
|
1245
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1050
1246
|
)
|
|
1051
1247
|
|
|
1052
1248
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1082,7 +1278,590 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1082
1278
|
print("The response of ContentPackagesApi->unset_label:\n")
|
|
1083
1279
|
pprint(api_response)
|
|
1084
1280
|
except Exception as e:
|
|
1085
|
-
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1281
|
+
print("Exception when calling ContentPackagesApi->unset_label: %s\n" % e)
|
|
1282
|
+
```
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
### Parameters
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
Name | Type | Description | Notes
|
|
1290
|
+
------------- | ------------- | ------------- | -------------
|
|
1291
|
+
**python_python_package_content_href** | **str**| |
|
|
1292
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1293
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1294
|
+
|
|
1295
|
+
### Return type
|
|
1296
|
+
|
|
1297
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1298
|
+
|
|
1299
|
+
### Authorization
|
|
1300
|
+
|
|
1301
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1302
|
+
|
|
1303
|
+
### HTTP request headers
|
|
1304
|
+
|
|
1305
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1306
|
+
- **Accept**: application/json
|
|
1307
|
+
|
|
1308
|
+
### HTTP response details
|
|
1309
|
+
|
|
1310
|
+
| Status code | Description | Response headers |
|
|
1311
|
+
|-------------|-------------|------------------|
|
|
1312
|
+
**201** | | - |
|
|
1313
|
+
|
|
1314
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1315
|
+
|
|
1316
|
+
# **upload**
|
|
1317
|
+
> PythonPythonPackageContentResponse upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1318
|
+
|
|
1319
|
+
Synchronous Python package upload
|
|
1320
|
+
|
|
1321
|
+
Create a Python package.
|
|
1322
|
+
|
|
1323
|
+
### Example
|
|
1324
|
+
|
|
1325
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1326
|
+
* Basic Authentication (basicAuth):
|
|
1327
|
+
* Api Key Authentication (cookieAuth):
|
|
1328
|
+
|
|
1329
|
+
```python
|
|
1330
|
+
import pulpcore.client.pulp_python
|
|
1331
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
1332
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1333
|
+
from pprint import pprint
|
|
1334
|
+
|
|
1335
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1336
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1337
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1338
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1339
|
+
)
|
|
1340
|
+
|
|
1341
|
+
# The client must configure the authentication and authorization parameters
|
|
1342
|
+
# in accordance with the API server security policy.
|
|
1343
|
+
# Examples for each auth method are provided below, use the example that
|
|
1344
|
+
# satisfies your auth use case.
|
|
1345
|
+
|
|
1346
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1347
|
+
|
|
1348
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1349
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1350
|
+
username = os.environ["USERNAME"],
|
|
1351
|
+
password = os.environ["PASSWORD"]
|
|
1352
|
+
)
|
|
1353
|
+
|
|
1354
|
+
# Configure API key authorization: cookieAuth
|
|
1355
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1356
|
+
|
|
1357
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1358
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1359
|
+
|
|
1360
|
+
# Enter a context with an instance of the API client
|
|
1361
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1362
|
+
# Create an instance of the API class
|
|
1363
|
+
api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
|
|
1364
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1365
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1366
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1367
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
1368
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1369
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1370
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1371
|
+
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
1372
|
+
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
1373
|
+
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
1374
|
+
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
1375
|
+
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
1376
|
+
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
1377
|
+
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
1378
|
+
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
1379
|
+
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
1380
|
+
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
1381
|
+
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
1382
|
+
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
1383
|
+
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
1384
|
+
obsoletes_dist = None # object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional)
|
|
1385
|
+
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
1386
|
+
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
1387
|
+
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
1388
|
+
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
1389
|
+
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
1390
|
+
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
1391
|
+
description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
|
|
1392
|
+
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
1393
|
+
dynamic = None # object | A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. (optional)
|
|
1394
|
+
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
1395
|
+
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
1396
|
+
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
1397
|
+
metadata_sha256 = 'metadata_sha256_example' # str | The SHA256 digest of the package's METADATA file. (optional)
|
|
1398
|
+
attestations = None # object | A JSON list containing attestations for the package. (optional)
|
|
1399
|
+
|
|
1400
|
+
try:
|
|
1401
|
+
# Synchronous Python package upload
|
|
1402
|
+
api_response = api_instance.upload(pulp_domain, x_task_diagnostics=x_task_diagnostics, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
1403
|
+
print("The response of ContentPackagesApi->upload:\n")
|
|
1404
|
+
pprint(api_response)
|
|
1405
|
+
except Exception as e:
|
|
1406
|
+
print("Exception when calling ContentPackagesApi->upload: %s\n" % e)
|
|
1407
|
+
```
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
### Parameters
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
Name | Type | Description | Notes
|
|
1415
|
+
------------- | ------------- | ------------- | -------------
|
|
1416
|
+
**pulp_domain** | **str**| |
|
|
1417
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1418
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1419
|
+
**artifact** | **str**| Artifact file representing the physical content | [optional]
|
|
1420
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1421
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1422
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1423
|
+
**author** | **str**| Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
|
|
1424
|
+
**author_email** | **str**| The author's e-mail address. | [optional]
|
|
1425
|
+
**description** | **str**| A longer description of the package that can run to several paragraphs. | [optional]
|
|
1426
|
+
**home_page** | **str**| The URL for the package's home page. | [optional]
|
|
1427
|
+
**keywords** | **str**| Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
|
|
1428
|
+
**license** | **str**| Text indicating the license covering the distribution | [optional]
|
|
1429
|
+
**platform** | **str**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
|
|
1430
|
+
**summary** | **str**| A one-line summary of what the package does. | [optional]
|
|
1431
|
+
**classifiers** | [**object**](object.md)| A JSON list containing classification values for a Python package. | [optional]
|
|
1432
|
+
**download_url** | **str**| Legacy field denoting the URL from which this package can be downloaded. | [optional]
|
|
1433
|
+
**supported_platform** | **str**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
|
|
1434
|
+
**maintainer** | **str**| The maintainer's name at a minimum; additional contact information may be provided. | [optional]
|
|
1435
|
+
**maintainer_email** | **str**| The maintainer's e-mail address. | [optional]
|
|
1436
|
+
**obsoletes_dist** | [**object**](object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
|
|
1437
|
+
**project_url** | **str**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
|
|
1438
|
+
**project_urls** | [**object**](object.md)| A dictionary of labels and URLs for the project. | [optional]
|
|
1439
|
+
**provides_dist** | [**object**](object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
|
|
1440
|
+
**requires_external** | [**object**](object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
|
|
1441
|
+
**requires_dist** | [**object**](object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
|
|
1442
|
+
**requires_python** | **str**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
|
|
1443
|
+
**description_content_type** | **str**| A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. | [optional]
|
|
1444
|
+
**provides_extras** | [**object**](object.md)| A JSON list containing names of optional features provided by the package. | [optional]
|
|
1445
|
+
**dynamic** | [**object**](object.md)| A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. | [optional]
|
|
1446
|
+
**license_expression** | **str**| Text string that is a valid SPDX license expression. | [optional]
|
|
1447
|
+
**license_file** | [**object**](object.md)| A JSON list containing names of the paths to license-related files. | [optional]
|
|
1448
|
+
**sha256** | **str**| The SHA256 digest of this package. | [optional] [default to '']
|
|
1449
|
+
**metadata_sha256** | **str**| The SHA256 digest of the package's METADATA file. | [optional]
|
|
1450
|
+
**attestations** | [**object**](object.md)| A JSON list containing attestations for the package. | [optional]
|
|
1451
|
+
|
|
1452
|
+
### Return type
|
|
1453
|
+
|
|
1454
|
+
[**PythonPythonPackageContentResponse**](PythonPythonPackageContentResponse.md)
|
|
1455
|
+
|
|
1456
|
+
### Authorization
|
|
1457
|
+
|
|
1458
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1459
|
+
|
|
1460
|
+
### HTTP request headers
|
|
1461
|
+
|
|
1462
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1463
|
+
- **Accept**: application/json
|
|
1464
|
+
|
|
1465
|
+
### HTTP response details
|
|
1466
|
+
|
|
1467
|
+
| Status code | Description | Response headers |
|
|
1468
|
+
|-------------|-------------|------------------|
|
|
1469
|
+
**201** | | - |
|
|
1470
|
+
|
|
1471
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1472
|
+
|
|
1473
|
+
# pulpcore.client.pulp_python.ContentProvenanceApi
|
|
1474
|
+
|
|
1475
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1476
|
+
|
|
1477
|
+
Method | HTTP request | Description
|
|
1478
|
+
------------- | ------------- | -------------
|
|
1479
|
+
[**create**](ContentProvenanceApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | Create a package provenance
|
|
1480
|
+
[**list**](ContentProvenanceApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/python/provenance/ | List package provenances
|
|
1481
|
+
[**read**](ContentProvenanceApi.md#read) | **GET** {python_package_provenance_href} | Inspect a package provenance
|
|
1482
|
+
[**set_label**](ContentProvenanceApi.md#set_label) | **POST** {python_package_provenance_href}set_label/ | Set a label
|
|
1483
|
+
[**unset_label**](ContentProvenanceApi.md#unset_label) | **POST** {python_package_provenance_href}unset_label/ | Unset a label
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
# **create**
|
|
1487
|
+
> AsyncOperationResponse create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1488
|
+
|
|
1489
|
+
Create a package provenance
|
|
1490
|
+
|
|
1491
|
+
Trigger an asynchronous task to create content,optionally create new repository version.
|
|
1492
|
+
|
|
1493
|
+
### Example
|
|
1494
|
+
|
|
1495
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1496
|
+
* Basic Authentication (basicAuth):
|
|
1497
|
+
* Api Key Authentication (cookieAuth):
|
|
1498
|
+
|
|
1499
|
+
```python
|
|
1500
|
+
import pulpcore.client.pulp_python
|
|
1501
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
1502
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1503
|
+
from pprint import pprint
|
|
1504
|
+
|
|
1505
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1506
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1507
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1508
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1509
|
+
)
|
|
1510
|
+
|
|
1511
|
+
# The client must configure the authentication and authorization parameters
|
|
1512
|
+
# in accordance with the API server security policy.
|
|
1513
|
+
# Examples for each auth method are provided below, use the example that
|
|
1514
|
+
# satisfies your auth use case.
|
|
1515
|
+
|
|
1516
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1517
|
+
|
|
1518
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1519
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1520
|
+
username = os.environ["USERNAME"],
|
|
1521
|
+
password = os.environ["PASSWORD"]
|
|
1522
|
+
)
|
|
1523
|
+
|
|
1524
|
+
# Configure API key authorization: cookieAuth
|
|
1525
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1526
|
+
|
|
1527
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1528
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1529
|
+
|
|
1530
|
+
# Enter a context with an instance of the API client
|
|
1531
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1532
|
+
# Create an instance of the API class
|
|
1533
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1534
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1535
|
+
package = 'package_example' # str | The package that the provenance is for.
|
|
1536
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1537
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
1538
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
1539
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
1540
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
1541
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
1542
|
+
verify = True # bool | Verify each attestation in the provenance. (optional) (default to True)
|
|
1543
|
+
|
|
1544
|
+
try:
|
|
1545
|
+
# Create a package provenance
|
|
1546
|
+
api_response = api_instance.create(pulp_domain, package, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, file=file, upload=upload, file_url=file_url, verify=verify)
|
|
1547
|
+
print("The response of ContentProvenanceApi->create:\n")
|
|
1548
|
+
pprint(api_response)
|
|
1549
|
+
except Exception as e:
|
|
1550
|
+
print("Exception when calling ContentProvenanceApi->create: %s\n" % e)
|
|
1551
|
+
```
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
### Parameters
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
Name | Type | Description | Notes
|
|
1559
|
+
------------- | ------------- | ------------- | -------------
|
|
1560
|
+
**pulp_domain** | **str**| |
|
|
1561
|
+
**package** | **str**| The package that the provenance is for. |
|
|
1562
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1563
|
+
**repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional]
|
|
1564
|
+
**pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
1565
|
+
**file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional]
|
|
1566
|
+
**upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional]
|
|
1567
|
+
**file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional]
|
|
1568
|
+
**verify** | **bool**| Verify each attestation in the provenance. | [optional] [default to True]
|
|
1569
|
+
|
|
1570
|
+
### Return type
|
|
1571
|
+
|
|
1572
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
1573
|
+
|
|
1574
|
+
### Authorization
|
|
1575
|
+
|
|
1576
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1577
|
+
|
|
1578
|
+
### HTTP request headers
|
|
1579
|
+
|
|
1580
|
+
- **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
|
|
1581
|
+
- **Accept**: application/json
|
|
1582
|
+
|
|
1583
|
+
### HTTP response details
|
|
1584
|
+
|
|
1585
|
+
| Status code | Description | Response headers |
|
|
1586
|
+
|-------------|-------------|------------------|
|
|
1587
|
+
**202** | | - |
|
|
1588
|
+
|
|
1589
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1590
|
+
|
|
1591
|
+
# **list**
|
|
1592
|
+
> PaginatedpythonPackageProvenanceResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1593
|
+
|
|
1594
|
+
List package provenances
|
|
1595
|
+
|
|
1596
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1597
|
+
|
|
1598
|
+
### Example
|
|
1599
|
+
|
|
1600
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1601
|
+
* Basic Authentication (basicAuth):
|
|
1602
|
+
* Api Key Authentication (cookieAuth):
|
|
1603
|
+
|
|
1604
|
+
```python
|
|
1605
|
+
import pulpcore.client.pulp_python
|
|
1606
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
1607
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1608
|
+
from pprint import pprint
|
|
1609
|
+
|
|
1610
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1611
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1612
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1613
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1614
|
+
)
|
|
1615
|
+
|
|
1616
|
+
# The client must configure the authentication and authorization parameters
|
|
1617
|
+
# in accordance with the API server security policy.
|
|
1618
|
+
# Examples for each auth method are provided below, use the example that
|
|
1619
|
+
# satisfies your auth use case.
|
|
1620
|
+
|
|
1621
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1622
|
+
|
|
1623
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1624
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1625
|
+
username = os.environ["USERNAME"],
|
|
1626
|
+
password = os.environ["PASSWORD"]
|
|
1627
|
+
)
|
|
1628
|
+
|
|
1629
|
+
# Configure API key authorization: cookieAuth
|
|
1630
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1631
|
+
|
|
1632
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1633
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1634
|
+
|
|
1635
|
+
# Enter a context with an instance of the API client
|
|
1636
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1637
|
+
# Create an instance of the API class
|
|
1638
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1639
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
1640
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1641
|
+
limit = 56 # int | Number of results to return per page. (optional)
|
|
1642
|
+
offset = 56 # int | The initial index from which to return the results. (optional)
|
|
1643
|
+
ordering = ['ordering_example'] # List[str] | Ordering * `pk` - Pk * `-pk` - Pk (descending) (optional)
|
|
1644
|
+
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
|
|
1645
|
+
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1646
|
+
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1647
|
+
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
|
|
1648
|
+
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
|
|
1649
|
+
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
|
|
1650
|
+
repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1651
|
+
repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1652
|
+
repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)
|
|
1653
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1654
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1655
|
+
|
|
1656
|
+
try:
|
|
1657
|
+
# List package provenances
|
|
1658
|
+
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, offset=offset, ordering=ordering, orphaned_for=orphaned_for, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, fields=fields, exclude_fields=exclude_fields)
|
|
1659
|
+
print("The response of ContentProvenanceApi->list:\n")
|
|
1660
|
+
pprint(api_response)
|
|
1661
|
+
except Exception as e:
|
|
1662
|
+
print("Exception when calling ContentProvenanceApi->list: %s\n" % e)
|
|
1663
|
+
```
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
### Parameters
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
Name | Type | Description | Notes
|
|
1671
|
+
------------- | ------------- | ------------- | -------------
|
|
1672
|
+
**pulp_domain** | **str**| |
|
|
1673
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1674
|
+
**limit** | **int**| Number of results to return per page. | [optional]
|
|
1675
|
+
**offset** | **int**| The initial index from which to return the results. | [optional]
|
|
1676
|
+
**ordering** | [**List[str]**](str.md)| Ordering * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
1677
|
+
**orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
|
|
1678
|
+
**prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1679
|
+
**pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1680
|
+
**pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional]
|
|
1681
|
+
**pulp_label_select** | **str**| Filter labels by search string | [optional]
|
|
1682
|
+
**q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
1683
|
+
**repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1684
|
+
**repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1685
|
+
**repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional]
|
|
1686
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1687
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1688
|
+
|
|
1689
|
+
### Return type
|
|
1690
|
+
|
|
1691
|
+
[**PaginatedpythonPackageProvenanceResponseList**](PaginatedpythonPackageProvenanceResponseList.md)
|
|
1692
|
+
|
|
1693
|
+
### Authorization
|
|
1694
|
+
|
|
1695
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1696
|
+
|
|
1697
|
+
### HTTP request headers
|
|
1698
|
+
|
|
1699
|
+
- **Content-Type**: Not defined
|
|
1700
|
+
- **Accept**: application/json
|
|
1701
|
+
|
|
1702
|
+
### HTTP response details
|
|
1703
|
+
|
|
1704
|
+
| Status code | Description | Response headers |
|
|
1705
|
+
|-------------|-------------|------------------|
|
|
1706
|
+
**200** | | - |
|
|
1707
|
+
|
|
1708
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1709
|
+
|
|
1710
|
+
# **read**
|
|
1711
|
+
> PythonPackageProvenanceResponse read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1712
|
+
|
|
1713
|
+
Inspect a package provenance
|
|
1714
|
+
|
|
1715
|
+
PackageProvenance represents a PEP 740 provenance object for a Python package. Use ?minimal=true to get a human readable representation of the provenance.
|
|
1716
|
+
|
|
1717
|
+
### Example
|
|
1718
|
+
|
|
1719
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1720
|
+
* Basic Authentication (basicAuth):
|
|
1721
|
+
* Api Key Authentication (cookieAuth):
|
|
1722
|
+
|
|
1723
|
+
```python
|
|
1724
|
+
import pulpcore.client.pulp_python
|
|
1725
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
1726
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1727
|
+
from pprint import pprint
|
|
1728
|
+
|
|
1729
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1730
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1731
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1732
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1733
|
+
)
|
|
1734
|
+
|
|
1735
|
+
# The client must configure the authentication and authorization parameters
|
|
1736
|
+
# in accordance with the API server security policy.
|
|
1737
|
+
# Examples for each auth method are provided below, use the example that
|
|
1738
|
+
# satisfies your auth use case.
|
|
1739
|
+
|
|
1740
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1741
|
+
|
|
1742
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1743
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1744
|
+
username = os.environ["USERNAME"],
|
|
1745
|
+
password = os.environ["PASSWORD"]
|
|
1746
|
+
)
|
|
1747
|
+
|
|
1748
|
+
# Configure API key authorization: cookieAuth
|
|
1749
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1750
|
+
|
|
1751
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1752
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1753
|
+
|
|
1754
|
+
# Enter a context with an instance of the API client
|
|
1755
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1756
|
+
# Create an instance of the API class
|
|
1757
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1758
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1759
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1760
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
1761
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
1762
|
+
|
|
1763
|
+
try:
|
|
1764
|
+
# Inspect a package provenance
|
|
1765
|
+
api_response = api_instance.read(python_package_provenance_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
1766
|
+
print("The response of ContentProvenanceApi->read:\n")
|
|
1767
|
+
pprint(api_response)
|
|
1768
|
+
except Exception as e:
|
|
1769
|
+
print("Exception when calling ContentProvenanceApi->read: %s\n" % e)
|
|
1770
|
+
```
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
### Parameters
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
Name | Type | Description | Notes
|
|
1778
|
+
------------- | ------------- | ------------- | -------------
|
|
1779
|
+
**python_package_provenance_href** | **str**| |
|
|
1780
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1781
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
1782
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
1783
|
+
|
|
1784
|
+
### Return type
|
|
1785
|
+
|
|
1786
|
+
[**PythonPackageProvenanceResponse**](PythonPackageProvenanceResponse.md)
|
|
1787
|
+
|
|
1788
|
+
### Authorization
|
|
1789
|
+
|
|
1790
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
1791
|
+
|
|
1792
|
+
### HTTP request headers
|
|
1793
|
+
|
|
1794
|
+
- **Content-Type**: Not defined
|
|
1795
|
+
- **Accept**: application/json
|
|
1796
|
+
|
|
1797
|
+
### HTTP response details
|
|
1798
|
+
|
|
1799
|
+
| Status code | Description | Response headers |
|
|
1800
|
+
|-------------|-------------|------------------|
|
|
1801
|
+
**200** | | - |
|
|
1802
|
+
|
|
1803
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1804
|
+
|
|
1805
|
+
# **set_label**
|
|
1806
|
+
> SetLabelResponse set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1807
|
+
|
|
1808
|
+
Set a label
|
|
1809
|
+
|
|
1810
|
+
Set a single pulp_label on the object to a specific value or null.
|
|
1811
|
+
|
|
1812
|
+
### Example
|
|
1813
|
+
|
|
1814
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
1815
|
+
* Basic Authentication (basicAuth):
|
|
1816
|
+
* Api Key Authentication (cookieAuth):
|
|
1817
|
+
|
|
1818
|
+
```python
|
|
1819
|
+
import pulpcore.client.pulp_python
|
|
1820
|
+
from pulpcore.client.pulp_python.models.set_label import SetLabel
|
|
1821
|
+
from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
|
|
1822
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
1823
|
+
from pprint import pprint
|
|
1824
|
+
|
|
1825
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1826
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1827
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1828
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1829
|
+
)
|
|
1830
|
+
|
|
1831
|
+
# The client must configure the authentication and authorization parameters
|
|
1832
|
+
# in accordance with the API server security policy.
|
|
1833
|
+
# Examples for each auth method are provided below, use the example that
|
|
1834
|
+
# satisfies your auth use case.
|
|
1835
|
+
|
|
1836
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
1837
|
+
|
|
1838
|
+
# Configure HTTP basic authorization: basicAuth
|
|
1839
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1840
|
+
username = os.environ["USERNAME"],
|
|
1841
|
+
password = os.environ["PASSWORD"]
|
|
1842
|
+
)
|
|
1843
|
+
|
|
1844
|
+
# Configure API key authorization: cookieAuth
|
|
1845
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
1846
|
+
|
|
1847
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
1848
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
1849
|
+
|
|
1850
|
+
# Enter a context with an instance of the API client
|
|
1851
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1852
|
+
# Create an instance of the API class
|
|
1853
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1854
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1855
|
+
set_label = pulpcore.client.pulp_python.SetLabel() # SetLabel |
|
|
1856
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
1857
|
+
|
|
1858
|
+
try:
|
|
1859
|
+
# Set a label
|
|
1860
|
+
api_response = api_instance.set_label(python_package_provenance_href, set_label, x_task_diagnostics=x_task_diagnostics)
|
|
1861
|
+
print("The response of ContentProvenanceApi->set_label:\n")
|
|
1862
|
+
pprint(api_response)
|
|
1863
|
+
except Exception as e:
|
|
1864
|
+
print("Exception when calling ContentProvenanceApi->set_label: %s\n" % e)
|
|
1086
1865
|
```
|
|
1087
1866
|
|
|
1088
1867
|
|
|
@@ -1092,13 +1871,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1092
1871
|
|
|
1093
1872
|
Name | Type | Description | Notes
|
|
1094
1873
|
------------- | ------------- | ------------- | -------------
|
|
1095
|
-
**
|
|
1096
|
-
**
|
|
1874
|
+
**python_package_provenance_href** | **str**| |
|
|
1875
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
1097
1876
|
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
1098
1877
|
|
|
1099
1878
|
### Return type
|
|
1100
1879
|
|
|
1101
|
-
[**
|
|
1880
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
|
1102
1881
|
|
|
1103
1882
|
### Authorization
|
|
1104
1883
|
|
|
@@ -1117,12 +1896,12 @@ Name | Type | Description | Notes
|
|
|
1117
1896
|
|
|
1118
1897
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1119
1898
|
|
|
1120
|
-
# **
|
|
1121
|
-
>
|
|
1899
|
+
# **unset_label**
|
|
1900
|
+
> UnsetLabelResponse unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1122
1901
|
|
|
1123
|
-
|
|
1902
|
+
Unset a label
|
|
1124
1903
|
|
|
1125
|
-
|
|
1904
|
+
Unset a single pulp_label on the object.
|
|
1126
1905
|
|
|
1127
1906
|
### Example
|
|
1128
1907
|
|
|
@@ -1132,14 +1911,15 @@ Create a Python package.
|
|
|
1132
1911
|
|
|
1133
1912
|
```python
|
|
1134
1913
|
import pulpcore.client.pulp_python
|
|
1135
|
-
from pulpcore.client.pulp_python.models.
|
|
1914
|
+
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
1915
|
+
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
1136
1916
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1137
1917
|
from pprint import pprint
|
|
1138
1918
|
|
|
1139
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1919
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1140
1920
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1141
1921
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1142
|
-
host = "https://env-ephemeral-
|
|
1922
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1143
1923
|
)
|
|
1144
1924
|
|
|
1145
1925
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1164,48 +1944,18 @@ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
|
1164
1944
|
# Enter a context with an instance of the API client
|
|
1165
1945
|
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
1166
1946
|
# Create an instance of the API class
|
|
1167
|
-
api_instance = pulpcore.client.pulp_python.
|
|
1168
|
-
|
|
1947
|
+
api_instance = pulpcore.client.pulp_python.ContentProvenanceApi(api_client)
|
|
1948
|
+
python_package_provenance_href = 'python_package_provenance_href_example' # str |
|
|
1949
|
+
unset_label = pulpcore.client.pulp_python.UnsetLabel() # UnsetLabel |
|
|
1169
1950
|
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
1951
|
|
|
1202
1952
|
try:
|
|
1203
|
-
#
|
|
1204
|
-
api_response = api_instance.
|
|
1205
|
-
print("The response of
|
|
1953
|
+
# Unset a label
|
|
1954
|
+
api_response = api_instance.unset_label(python_package_provenance_href, unset_label, x_task_diagnostics=x_task_diagnostics)
|
|
1955
|
+
print("The response of ContentProvenanceApi->unset_label:\n")
|
|
1206
1956
|
pprint(api_response)
|
|
1207
1957
|
except Exception as e:
|
|
1208
|
-
print("Exception when calling
|
|
1958
|
+
print("Exception when calling ContentProvenanceApi->unset_label: %s\n" % e)
|
|
1209
1959
|
```
|
|
1210
1960
|
|
|
1211
1961
|
|
|
@@ -1215,43 +1965,13 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
1215
1965
|
|
|
1216
1966
|
Name | Type | Description | Notes
|
|
1217
1967
|
------------- | ------------- | ------------- | -------------
|
|
1218
|
-
**
|
|
1968
|
+
**python_package_provenance_href** | **str**| |
|
|
1969
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
1219
1970
|
**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
1971
|
|
|
1252
1972
|
### Return type
|
|
1253
1973
|
|
|
1254
|
-
[**
|
|
1974
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
|
1255
1975
|
|
|
1256
1976
|
### Authorization
|
|
1257
1977
|
|
|
@@ -1259,7 +1979,7 @@ Name | Type | Description | Notes
|
|
|
1259
1979
|
|
|
1260
1980
|
### HTTP request headers
|
|
1261
1981
|
|
|
1262
|
-
- **Content-Type**:
|
|
1982
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
1263
1983
|
- **Accept**: application/json
|
|
1264
1984
|
|
|
1265
1985
|
### HTTP response details
|
|
@@ -1304,7 +2024,7 @@ content_summary_response_from_dict = ContentSummaryResponse.from_dict(content_su
|
|
|
1304
2024
|
|
|
1305
2025
|
# pulpcore.client.pulp_python.DistributionsPypiApi
|
|
1306
2026
|
|
|
1307
|
-
All URIs are relative to *https://env-ephemeral-
|
|
2027
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
1308
2028
|
|
|
1309
2029
|
Method | HTTP request | Description
|
|
1310
2030
|
------------- | ------------- | -------------
|
|
@@ -1342,10 +2062,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
1342
2062
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1343
2063
|
from pprint import pprint
|
|
1344
2064
|
|
|
1345
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2065
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1346
2066
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1347
2067
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1348
|
-
host = "https://env-ephemeral-
|
|
2068
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1349
2069
|
)
|
|
1350
2070
|
|
|
1351
2071
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1436,10 +2156,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution import Python
|
|
|
1436
2156
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1437
2157
|
from pprint import pprint
|
|
1438
2158
|
|
|
1439
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2159
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1440
2160
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1441
2161
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1442
|
-
host = "https://env-ephemeral-
|
|
2162
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1443
2163
|
)
|
|
1444
2164
|
|
|
1445
2165
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1529,10 +2249,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
1529
2249
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1530
2250
|
from pprint import pprint
|
|
1531
2251
|
|
|
1532
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2252
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1533
2253
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1534
2254
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1535
|
-
host = "https://env-ephemeral-
|
|
2255
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1536
2256
|
)
|
|
1537
2257
|
|
|
1538
2258
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1620,10 +2340,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_resp
|
|
|
1620
2340
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1621
2341
|
from pprint import pprint
|
|
1622
2342
|
|
|
1623
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2343
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1624
2344
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1625
2345
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1626
|
-
host = "https://env-ephemeral-
|
|
2346
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1627
2347
|
)
|
|
1628
2348
|
|
|
1629
2349
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1765,10 +2485,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
1765
2485
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1766
2486
|
from pprint import pprint
|
|
1767
2487
|
|
|
1768
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2488
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1769
2489
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1770
2490
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1771
|
-
host = "https://env-ephemeral-
|
|
2491
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1772
2492
|
)
|
|
1773
2493
|
|
|
1774
2494
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1860,10 +2580,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
1860
2580
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1861
2581
|
from pprint import pprint
|
|
1862
2582
|
|
|
1863
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2583
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1864
2584
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1865
2585
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1866
|
-
host = "https://env-ephemeral-
|
|
2586
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1867
2587
|
)
|
|
1868
2588
|
|
|
1869
2589
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1956,10 +2676,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
1956
2676
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
1957
2677
|
from pprint import pprint
|
|
1958
2678
|
|
|
1959
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2679
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1960
2680
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1961
2681
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
1962
|
-
host = "https://env-ephemeral-
|
|
2682
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1963
2683
|
)
|
|
1964
2684
|
|
|
1965
2685
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2050,10 +2770,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2050
2770
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2051
2771
|
from pprint import pprint
|
|
2052
2772
|
|
|
2053
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2773
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2054
2774
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2055
2775
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2056
|
-
host = "https://env-ephemeral-
|
|
2776
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2057
2777
|
)
|
|
2058
2778
|
|
|
2059
2779
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2146,10 +2866,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
2146
2866
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2147
2867
|
from pprint import pprint
|
|
2148
2868
|
|
|
2149
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2869
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2150
2870
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2151
2871
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2152
|
-
host = "https://env-ephemeral-
|
|
2872
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2153
2873
|
)
|
|
2154
2874
|
|
|
2155
2875
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2240,10 +2960,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
2240
2960
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2241
2961
|
from pprint import pprint
|
|
2242
2962
|
|
|
2243
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2963
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2244
2964
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2245
2965
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2246
|
-
host = "https://env-ephemeral-
|
|
2966
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2247
2967
|
)
|
|
2248
2968
|
|
|
2249
2969
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2334,10 +3054,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
2334
3054
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2335
3055
|
from pprint import pprint
|
|
2336
3056
|
|
|
2337
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3057
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2338
3058
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2339
3059
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2340
|
-
host = "https://env-ephemeral-
|
|
3060
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2341
3061
|
)
|
|
2342
3062
|
|
|
2343
3063
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2428,10 +3148,10 @@ from pulpcore.client.pulp_python.models.python_python_distribution_response impo
|
|
|
2428
3148
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
2429
3149
|
from pprint import pprint
|
|
2430
3150
|
|
|
2431
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3151
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2432
3152
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2433
3153
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
2434
|
-
host = "https://env-ephemeral-
|
|
3154
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2435
3155
|
)
|
|
2436
3156
|
|
|
2437
3157
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2520,6 +3240,44 @@ Name | Type | Description | Notes
|
|
|
2520
3240
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2521
3241
|
|
|
2522
3242
|
|
|
3243
|
+
# FiletypeEnum
|
|
3244
|
+
|
|
3245
|
+
* `bdist_wheel` - bdist_wheel * `sdist` - sdist
|
|
3246
|
+
|
|
3247
|
+
## Enum
|
|
3248
|
+
|
|
3249
|
+
* `BDIST_WHEEL` (value: `'bdist_wheel'`)
|
|
3250
|
+
|
|
3251
|
+
* `SDIST` (value: `'sdist'`)
|
|
3252
|
+
|
|
3253
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
# MetadataVersionEnum
|
|
3257
|
+
|
|
3258
|
+
* `1.0` - 1.0 * `1.1` - 1.1 * `1.2` - 1.2 * `2.0` - 2.0 * `2.1` - 2.1 * `2.2` - 2.2 * `2.3` - 2.3 * `2.4` - 2.4
|
|
3259
|
+
|
|
3260
|
+
## Enum
|
|
3261
|
+
|
|
3262
|
+
* `ENUM_1_DOT_0` (value: `'1.0'`)
|
|
3263
|
+
|
|
3264
|
+
* `ENUM_1_DOT_1` (value: `'1.1'`)
|
|
3265
|
+
|
|
3266
|
+
* `ENUM_1_DOT_2` (value: `'1.2'`)
|
|
3267
|
+
|
|
3268
|
+
* `ENUM_2_DOT_0` (value: `'2.0'`)
|
|
3269
|
+
|
|
3270
|
+
* `ENUM_2_DOT_1` (value: `'2.1'`)
|
|
3271
|
+
|
|
3272
|
+
* `ENUM_2_DOT_2` (value: `'2.2'`)
|
|
3273
|
+
|
|
3274
|
+
* `ENUM_2_DOT_3` (value: `'2.3'`)
|
|
3275
|
+
|
|
3276
|
+
* `ENUM_2_DOT_4` (value: `'2.4'`)
|
|
3277
|
+
|
|
3278
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3279
|
+
|
|
3280
|
+
|
|
2523
3281
|
# MyPermissionsResponse
|
|
2524
3282
|
|
|
2525
3283
|
|
|
@@ -2732,6 +3490,38 @@ package_upload_task_response_from_dict = PackageUploadTaskResponse.from_dict(pac
|
|
|
2732
3490
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
2733
3491
|
|
|
2734
3492
|
|
|
3493
|
+
# PaginatedpythonPackageProvenanceResponseList
|
|
3494
|
+
|
|
3495
|
+
|
|
3496
|
+
## Properties
|
|
3497
|
+
|
|
3498
|
+
Name | Type | Description | Notes
|
|
3499
|
+
------------ | ------------- | ------------- | -------------
|
|
3500
|
+
**count** | **int** | |
|
|
3501
|
+
**next** | **str** | | [optional]
|
|
3502
|
+
**previous** | **str** | | [optional]
|
|
3503
|
+
**results** | [**List[PythonPackageProvenanceResponse]**](PythonPackageProvenanceResponse.md) | |
|
|
3504
|
+
|
|
3505
|
+
## Example
|
|
3506
|
+
|
|
3507
|
+
```python
|
|
3508
|
+
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
3509
|
+
|
|
3510
|
+
# TODO update the JSON string below
|
|
3511
|
+
json = "{}"
|
|
3512
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a JSON string
|
|
3513
|
+
paginatedpython_package_provenance_response_list_instance = PaginatedpythonPackageProvenanceResponseList.from_json(json)
|
|
3514
|
+
# print the JSON string representation of the object
|
|
3515
|
+
print(PaginatedpythonPackageProvenanceResponseList.to_json())
|
|
3516
|
+
|
|
3517
|
+
# convert the object into a dict
|
|
3518
|
+
paginatedpython_package_provenance_response_list_dict = paginatedpython_package_provenance_response_list_instance.to_dict()
|
|
3519
|
+
# create an instance of PaginatedpythonPackageProvenanceResponseList from a dict
|
|
3520
|
+
paginatedpython_package_provenance_response_list_from_dict = PaginatedpythonPackageProvenanceResponseList.from_dict(paginatedpython_package_provenance_response_list_dict)
|
|
3521
|
+
```
|
|
3522
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3523
|
+
|
|
3524
|
+
|
|
2735
3525
|
# PaginatedpythonPythonDistributionResponseList
|
|
2736
3526
|
|
|
2737
3527
|
|
|
@@ -2998,6 +3788,7 @@ Name | Type | Description | Notes
|
|
|
2998
3788
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
2999
3789
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
3000
3790
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
3791
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
3001
3792
|
|
|
3002
3793
|
## Example
|
|
3003
3794
|
|
|
@@ -3069,9 +3860,20 @@ patchedpython_python_repository_from_dict = PatchedpythonPythonRepository.from_d
|
|
|
3069
3860
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3070
3861
|
|
|
3071
3862
|
|
|
3863
|
+
# ProtocolVersionEnum
|
|
3864
|
+
|
|
3865
|
+
* `1` - 1
|
|
3866
|
+
|
|
3867
|
+
## Enum
|
|
3868
|
+
|
|
3869
|
+
* `NUMBER_1` (value: `1`)
|
|
3870
|
+
|
|
3871
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
3872
|
+
|
|
3873
|
+
|
|
3072
3874
|
# pulpcore.client.pulp_python.PublicationsPypiApi
|
|
3073
3875
|
|
|
3074
|
-
All URIs are relative to *https://env-ephemeral-
|
|
3876
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3075
3877
|
|
|
3076
3878
|
Method | HTTP request | Description
|
|
3077
3879
|
------------- | ------------- | -------------
|
|
@@ -3105,10 +3907,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3105
3907
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3106
3908
|
from pprint import pprint
|
|
3107
3909
|
|
|
3108
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
3910
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3109
3911
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3110
3912
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3111
|
-
host = "https://env-ephemeral-
|
|
3913
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3112
3914
|
)
|
|
3113
3915
|
|
|
3114
3916
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3199,10 +4001,10 @@ from pulpcore.client.pulp_python.models.python_python_publication import PythonP
|
|
|
3199
4001
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3200
4002
|
from pprint import pprint
|
|
3201
4003
|
|
|
3202
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4004
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3203
4005
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3204
4006
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3205
|
-
host = "https://env-ephemeral-
|
|
4007
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3206
4008
|
)
|
|
3207
4009
|
|
|
3208
4010
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3291,10 +4093,10 @@ import pulpcore.client.pulp_python
|
|
|
3291
4093
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3292
4094
|
from pprint import pprint
|
|
3293
4095
|
|
|
3294
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4096
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3295
4097
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3296
4098
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3297
|
-
host = "https://env-ephemeral-
|
|
4099
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3298
4100
|
)
|
|
3299
4101
|
|
|
3300
4102
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3380,10 +4182,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_publication_respo
|
|
|
3380
4182
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3381
4183
|
from pprint import pprint
|
|
3382
4184
|
|
|
3383
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4185
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3384
4186
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3385
4187
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3386
|
-
host = "https://env-ephemeral-
|
|
4188
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3387
4189
|
)
|
|
3388
4190
|
|
|
3389
4191
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3513,10 +4315,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
3513
4315
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3514
4316
|
from pprint import pprint
|
|
3515
4317
|
|
|
3516
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4318
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3517
4319
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3518
4320
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3519
|
-
host = "https://env-ephemeral-
|
|
4321
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3520
4322
|
)
|
|
3521
4323
|
|
|
3522
4324
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3608,10 +4410,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
3608
4410
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3609
4411
|
from pprint import pprint
|
|
3610
4412
|
|
|
3611
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4413
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3612
4414
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3613
4415
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3614
|
-
host = "https://env-ephemeral-
|
|
4416
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3615
4417
|
)
|
|
3616
4418
|
|
|
3617
4419
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3703,10 +4505,10 @@ from pulpcore.client.pulp_python.models.python_python_publication_response impor
|
|
|
3703
4505
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3704
4506
|
from pprint import pprint
|
|
3705
4507
|
|
|
3706
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4508
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3707
4509
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3708
4510
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3709
|
-
host = "https://env-ephemeral-
|
|
4511
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3710
4512
|
)
|
|
3711
4513
|
|
|
3712
4514
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3799,10 +4601,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
3799
4601
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3800
4602
|
from pprint import pprint
|
|
3801
4603
|
|
|
3802
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4604
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3803
4605
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3804
4606
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3805
|
-
host = "https://env-ephemeral-
|
|
4607
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3806
4608
|
)
|
|
3807
4609
|
|
|
3808
4610
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3875,7 +4677,7 @@ Name | Type | Description | Notes
|
|
|
3875
4677
|
|
|
3876
4678
|
# pulpcore.client.pulp_python.PypiMetadataApi
|
|
3877
4679
|
|
|
3878
|
-
All URIs are relative to *https://env-ephemeral-
|
|
4680
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
3879
4681
|
|
|
3880
4682
|
Method | HTTP request | Description
|
|
3881
4683
|
------------- | ------------- | -------------
|
|
@@ -3901,10 +4703,10 @@ from pulpcore.client.pulp_python.models.package_metadata_response import Package
|
|
|
3901
4703
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
3902
4704
|
from pprint import pprint
|
|
3903
4705
|
|
|
3904
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
4706
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
3905
4707
|
# See configuration.py for a list of all supported configuration parameters.
|
|
3906
4708
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
3907
|
-
host = "https://env-ephemeral-
|
|
4709
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
3908
4710
|
)
|
|
3909
4711
|
|
|
3910
4712
|
# The client must configure the authentication and authorization parameters
|
|
@@ -3981,6 +4783,44 @@ Name | Type | Description | Notes
|
|
|
3981
4783
|
|
|
3982
4784
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
3983
4785
|
|
|
4786
|
+
# PythonPackageProvenanceResponse
|
|
4787
|
+
|
|
4788
|
+
A Serializer for PackageProvenance.
|
|
4789
|
+
|
|
4790
|
+
## Properties
|
|
4791
|
+
|
|
4792
|
+
Name | Type | Description | Notes
|
|
4793
|
+
------------ | ------------- | ------------- | -------------
|
|
4794
|
+
**pulp_href** | **str** | | [optional] [readonly]
|
|
4795
|
+
**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
4796
|
+
**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly]
|
|
4797
|
+
**pulp_last_updated** | **datetime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
4798
|
+
**pulp_labels** | **Dict[str, Optional[str]]** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional]
|
|
4799
|
+
**vuln_report** | **str** | | [optional] [readonly]
|
|
4800
|
+
**package** | **str** | The package that the provenance is for. |
|
|
4801
|
+
**provenance** | **object** | | [optional] [readonly]
|
|
4802
|
+
**sha256** | **str** | | [optional] [readonly]
|
|
4803
|
+
|
|
4804
|
+
## Example
|
|
4805
|
+
|
|
4806
|
+
```python
|
|
4807
|
+
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
4808
|
+
|
|
4809
|
+
# TODO update the JSON string below
|
|
4810
|
+
json = "{}"
|
|
4811
|
+
# create an instance of PythonPackageProvenanceResponse from a JSON string
|
|
4812
|
+
python_package_provenance_response_instance = PythonPackageProvenanceResponse.from_json(json)
|
|
4813
|
+
# print the JSON string representation of the object
|
|
4814
|
+
print(PythonPackageProvenanceResponse.to_json())
|
|
4815
|
+
|
|
4816
|
+
# convert the object into a dict
|
|
4817
|
+
python_package_provenance_response_dict = python_package_provenance_response_instance.to_dict()
|
|
4818
|
+
# create an instance of PythonPackageProvenanceResponse from a dict
|
|
4819
|
+
python_package_provenance_response_from_dict = PythonPackageProvenanceResponse.from_dict(python_package_provenance_response_dict)
|
|
4820
|
+
```
|
|
4821
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
4822
|
+
|
|
4823
|
+
|
|
3984
4824
|
# PythonPythonDistribution
|
|
3985
4825
|
|
|
3986
4826
|
Serializer for Pulp distributions for the Python type.
|
|
@@ -4111,7 +4951,10 @@ Name | Type | Description | Notes
|
|
|
4111
4951
|
**filename** | **str** | The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype} | [optional] [readonly]
|
|
4112
4952
|
**packagetype** | **str** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
|
4113
4953
|
**python_version** | **str** | The tag that indicates which Python implementation or version the package requires. | [optional] [readonly]
|
|
4954
|
+
**size** | **int** | The size of the package in bytes. | [optional] [readonly]
|
|
4114
4955
|
**sha256** | **str** | The SHA256 digest of this package. | [optional] [default to '']
|
|
4956
|
+
**metadata_sha256** | **str** | The SHA256 digest of the package's METADATA file. | [optional]
|
|
4957
|
+
**provenance** | **str** | The created provenance object on upload. | [optional] [readonly]
|
|
4115
4958
|
|
|
4116
4959
|
## Example
|
|
4117
4960
|
|
|
@@ -4235,6 +5078,7 @@ Name | Type | Description | Notes
|
|
|
4235
5078
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4236
5079
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4237
5080
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5081
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4238
5082
|
|
|
4239
5083
|
## Example
|
|
4240
5084
|
|
|
@@ -4321,6 +5165,7 @@ Name | Type | Description | Notes
|
|
|
4321
5165
|
**package_types** | [**List[PackageTypesEnum]**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
|
|
4322
5166
|
**keep_latest_packages** | **int** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
|
|
4323
5167
|
**exclude_platforms** | [**List[ExcludePlatformsEnum]**](ExcludePlatformsEnum.md) | List of platforms to exclude syncing Python packages for. Possible valuesinclude: windows, macos, freebsd, and linux. | [optional]
|
|
5168
|
+
**provenance** | **bool** | Whether to sync available provenances for Python packages. | [optional] [default to False]
|
|
4324
5169
|
|
|
4325
5170
|
## Example
|
|
4326
5171
|
|
|
@@ -4420,7 +5265,7 @@ python_python_repository_response_from_dict = PythonPythonRepositoryResponse.fro
|
|
|
4420
5265
|
|
|
4421
5266
|
# pulpcore.client.pulp_python.RemotesPythonApi
|
|
4422
5267
|
|
|
4423
|
-
All URIs are relative to *https://env-ephemeral-
|
|
5268
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
4424
5269
|
|
|
4425
5270
|
Method | HTTP request | Description
|
|
4426
5271
|
------------- | ------------- | -------------
|
|
@@ -4459,10 +5304,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
4459
5304
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4460
5305
|
from pprint import pprint
|
|
4461
5306
|
|
|
4462
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5307
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4463
5308
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4464
5309
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4465
|
-
host = "https://env-ephemeral-
|
|
5310
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4466
5311
|
)
|
|
4467
5312
|
|
|
4468
5313
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4553,10 +5398,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4553
5398
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4554
5399
|
from pprint import pprint
|
|
4555
5400
|
|
|
4556
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5401
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4557
5402
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4558
5403
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4559
|
-
host = "https://env-ephemeral-
|
|
5404
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4560
5405
|
)
|
|
4561
5406
|
|
|
4562
5407
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4646,10 +5491,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
4646
5491
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4647
5492
|
from pprint import pprint
|
|
4648
5493
|
|
|
4649
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5494
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4650
5495
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4651
5496
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4652
|
-
host = "https://env-ephemeral-
|
|
5497
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4653
5498
|
)
|
|
4654
5499
|
|
|
4655
5500
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4737,10 +5582,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
4737
5582
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4738
5583
|
from pprint import pprint
|
|
4739
5584
|
|
|
4740
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5585
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4741
5586
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4742
5587
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4743
|
-
host = "https://env-ephemeral-
|
|
5588
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4744
5589
|
)
|
|
4745
5590
|
|
|
4746
5591
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4834,10 +5679,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_l
|
|
|
4834
5679
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4835
5680
|
from pprint import pprint
|
|
4836
5681
|
|
|
4837
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5682
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4838
5683
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4839
5684
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4840
|
-
host = "https://env-ephemeral-
|
|
5685
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4841
5686
|
)
|
|
4842
5687
|
|
|
4843
5688
|
# The client must configure the authentication and authorization parameters
|
|
@@ -4977,10 +5822,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
4977
5822
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
4978
5823
|
from pprint import pprint
|
|
4979
5824
|
|
|
4980
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5825
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
4981
5826
|
# See configuration.py for a list of all supported configuration parameters.
|
|
4982
5827
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
4983
|
-
host = "https://env-ephemeral-
|
|
5828
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
4984
5829
|
)
|
|
4985
5830
|
|
|
4986
5831
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5072,10 +5917,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
5072
5917
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5073
5918
|
from pprint import pprint
|
|
5074
5919
|
|
|
5075
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
5920
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5076
5921
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5077
5922
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5078
|
-
host = "https://env-ephemeral-
|
|
5923
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5079
5924
|
)
|
|
5080
5925
|
|
|
5081
5926
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5168,10 +6013,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5168
6013
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5169
6014
|
from pprint import pprint
|
|
5170
6015
|
|
|
5171
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6016
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5172
6017
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5173
6018
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5174
|
-
host = "https://env-ephemeral-
|
|
6019
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5175
6020
|
)
|
|
5176
6021
|
|
|
5177
6022
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5262,10 +6107,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5262
6107
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5263
6108
|
from pprint import pprint
|
|
5264
6109
|
|
|
5265
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6110
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5266
6111
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5267
6112
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5268
|
-
host = "https://env-ephemeral-
|
|
6113
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5269
6114
|
)
|
|
5270
6115
|
|
|
5271
6116
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5358,10 +6203,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5358
6203
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5359
6204
|
from pprint import pprint
|
|
5360
6205
|
|
|
5361
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6206
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5362
6207
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5363
6208
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5364
|
-
host = "https://env-ephemeral-
|
|
6209
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5365
6210
|
)
|
|
5366
6211
|
|
|
5367
6212
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5452,10 +6297,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
5452
6297
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5453
6298
|
from pprint import pprint
|
|
5454
6299
|
|
|
5455
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6300
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5456
6301
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5457
6302
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5458
|
-
host = "https://env-ephemeral-
|
|
6303
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5459
6304
|
)
|
|
5460
6305
|
|
|
5461
6306
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5546,10 +6391,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
5546
6391
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5547
6392
|
from pprint import pprint
|
|
5548
6393
|
|
|
5549
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6394
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5550
6395
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5551
6396
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5552
|
-
host = "https://env-ephemeral-
|
|
6397
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5553
6398
|
)
|
|
5554
6399
|
|
|
5555
6400
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5640,10 +6485,10 @@ from pulpcore.client.pulp_python.models.python_python_remote_response import Pyt
|
|
|
5640
6485
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5641
6486
|
from pprint import pprint
|
|
5642
6487
|
|
|
5643
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6488
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5644
6489
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5645
6490
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5646
|
-
host = "https://env-ephemeral-
|
|
6491
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5647
6492
|
)
|
|
5648
6493
|
|
|
5649
6494
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5746,7 +6591,7 @@ repair_from_dict = Repair.from_dict(repair_dict)
|
|
|
5746
6591
|
|
|
5747
6592
|
# pulpcore.client.pulp_python.RepositoriesPythonApi
|
|
5748
6593
|
|
|
5749
|
-
All URIs are relative to *https://env-ephemeral-
|
|
6594
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
5750
6595
|
|
|
5751
6596
|
Method | HTTP request | Description
|
|
5752
6597
|
------------- | ------------- | -------------
|
|
@@ -5787,10 +6632,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
5787
6632
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5788
6633
|
from pprint import pprint
|
|
5789
6634
|
|
|
5790
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6635
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5791
6636
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5792
6637
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5793
|
-
host = "https://env-ephemeral-
|
|
6638
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5794
6639
|
)
|
|
5795
6640
|
|
|
5796
6641
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5881,10 +6726,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
5881
6726
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5882
6727
|
from pprint import pprint
|
|
5883
6728
|
|
|
5884
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6729
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5885
6730
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5886
6731
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5887
|
-
host = "https://env-ephemeral-
|
|
6732
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5888
6733
|
)
|
|
5889
6734
|
|
|
5890
6735
|
# The client must configure the authentication and authorization parameters
|
|
@@ -5974,10 +6819,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
5974
6819
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
5975
6820
|
from pprint import pprint
|
|
5976
6821
|
|
|
5977
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6822
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
5978
6823
|
# See configuration.py for a list of all supported configuration parameters.
|
|
5979
6824
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
5980
|
-
host = "https://env-ephemeral-
|
|
6825
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
5981
6826
|
)
|
|
5982
6827
|
|
|
5983
6828
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6065,10 +6910,10 @@ from pulpcore.client.pulp_python.models.paginatedpython_python_repository_respon
|
|
|
6065
6910
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6066
6911
|
from pprint import pprint
|
|
6067
6912
|
|
|
6068
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
6913
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6069
6914
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6070
6915
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6071
|
-
host = "https://env-ephemeral-
|
|
6916
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6072
6917
|
)
|
|
6073
6918
|
|
|
6074
6919
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6216,10 +7061,10 @@ from pulpcore.client.pulp_python.models.object_roles_response import ObjectRoles
|
|
|
6216
7061
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6217
7062
|
from pprint import pprint
|
|
6218
7063
|
|
|
6219
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7064
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6220
7065
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6221
7066
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6222
|
-
host = "https://env-ephemeral-
|
|
7067
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6223
7068
|
)
|
|
6224
7069
|
|
|
6225
7070
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6312,10 +7157,10 @@ from pulpcore.client.pulp_python.models.repository_add_remove_content import Rep
|
|
|
6312
7157
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6313
7158
|
from pprint import pprint
|
|
6314
7159
|
|
|
6315
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7160
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6316
7161
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6317
7162
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6318
|
-
host = "https://env-ephemeral-
|
|
7163
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6319
7164
|
)
|
|
6320
7165
|
|
|
6321
7166
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6405,10 +7250,10 @@ from pulpcore.client.pulp_python.models.my_permissions_response import MyPermiss
|
|
|
6405
7250
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6406
7251
|
from pprint import pprint
|
|
6407
7252
|
|
|
6408
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7253
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6409
7254
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6410
7255
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6411
|
-
host = "https://env-ephemeral-
|
|
7256
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6412
7257
|
)
|
|
6413
7258
|
|
|
6414
7259
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6501,10 +7346,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6501
7346
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6502
7347
|
from pprint import pprint
|
|
6503
7348
|
|
|
6504
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7349
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6505
7350
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6506
7351
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6507
|
-
host = "https://env-ephemeral-
|
|
7352
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6508
7353
|
)
|
|
6509
7354
|
|
|
6510
7355
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6595,10 +7440,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
6595
7440
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6596
7441
|
from pprint import pprint
|
|
6597
7442
|
|
|
6598
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7443
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6599
7444
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6600
7445
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6601
|
-
host = "https://env-ephemeral-
|
|
7446
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6602
7447
|
)
|
|
6603
7448
|
|
|
6604
7449
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6691,10 +7536,10 @@ from pulpcore.client.pulp_python.models.nested_role_response import NestedRoleRe
|
|
|
6691
7536
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6692
7537
|
from pprint import pprint
|
|
6693
7538
|
|
|
6694
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7539
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6695
7540
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6696
7541
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6697
|
-
host = "https://env-ephemeral-
|
|
7542
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6698
7543
|
)
|
|
6699
7544
|
|
|
6700
7545
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6784,10 +7629,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
6784
7629
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6785
7630
|
from pprint import pprint
|
|
6786
7631
|
|
|
6787
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7632
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6788
7633
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6789
7634
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6790
|
-
host = "https://env-ephemeral-
|
|
7635
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6791
7636
|
)
|
|
6792
7637
|
|
|
6793
7638
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6876,10 +7721,10 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
6876
7721
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6877
7722
|
from pprint import pprint
|
|
6878
7723
|
|
|
6879
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7724
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6880
7725
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6881
7726
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6882
|
-
host = "https://env-ephemeral-
|
|
7727
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6883
7728
|
)
|
|
6884
7729
|
|
|
6885
7730
|
# The client must configure the authentication and authorization parameters
|
|
@@ -6970,10 +7815,10 @@ from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyn
|
|
|
6970
7815
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
6971
7816
|
from pprint import pprint
|
|
6972
7817
|
|
|
6973
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7818
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
6974
7819
|
# See configuration.py for a list of all supported configuration parameters.
|
|
6975
7820
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
6976
|
-
host = "https://env-ephemeral-
|
|
7821
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
6977
7822
|
)
|
|
6978
7823
|
|
|
6979
7824
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7064,10 +7909,10 @@ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelRe
|
|
|
7064
7909
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7065
7910
|
from pprint import pprint
|
|
7066
7911
|
|
|
7067
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
7912
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7068
7913
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7069
7914
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7070
|
-
host = "https://env-ephemeral-
|
|
7915
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7071
7916
|
)
|
|
7072
7917
|
|
|
7073
7918
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7158,10 +8003,10 @@ from pulpcore.client.pulp_python.models.python_python_repository_response import
|
|
|
7158
8003
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7159
8004
|
from pprint import pprint
|
|
7160
8005
|
|
|
7161
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8006
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7162
8007
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7163
8008
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7164
|
-
host = "https://env-ephemeral-
|
|
8009
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7165
8010
|
)
|
|
7166
8011
|
|
|
7167
8012
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7235,7 +8080,7 @@ Name | Type | Description | Notes
|
|
|
7235
8080
|
|
|
7236
8081
|
# pulpcore.client.pulp_python.RepositoriesPythonVersionsApi
|
|
7237
8082
|
|
|
7238
|
-
All URIs are relative to *https://env-ephemeral-
|
|
8083
|
+
All URIs are relative to *https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
7239
8084
|
|
|
7240
8085
|
Method | HTTP request | Description
|
|
7241
8086
|
------------- | ------------- | -------------
|
|
@@ -7243,6 +8088,7 @@ Method | HTTP request | Description
|
|
|
7243
8088
|
[**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
|
|
7244
8089
|
[**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
|
|
7245
8090
|
[**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
|
|
8091
|
+
[**scan**](RepositoriesPythonVersionsApi.md#scan) | **POST** {python_python_repository_version_href}scan/ | Generate vulnerability report
|
|
7246
8092
|
|
|
7247
8093
|
|
|
7248
8094
|
# **delete**
|
|
@@ -7264,10 +8110,10 @@ from pulpcore.client.pulp_python.models.async_operation_response import AsyncOpe
|
|
|
7264
8110
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7265
8111
|
from pprint import pprint
|
|
7266
8112
|
|
|
7267
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8113
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7268
8114
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7269
8115
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7270
|
-
host = "https://env-ephemeral-
|
|
8116
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7271
8117
|
)
|
|
7272
8118
|
|
|
7273
8119
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7355,10 +8201,10 @@ from pulpcore.client.pulp_python.models.paginated_repository_version_response_li
|
|
|
7355
8201
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7356
8202
|
from pprint import pprint
|
|
7357
8203
|
|
|
7358
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8204
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7359
8205
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7360
8206
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7361
|
-
host = "https://env-ephemeral-
|
|
8207
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7362
8208
|
)
|
|
7363
8209
|
|
|
7364
8210
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7492,10 +8338,10 @@ from pulpcore.client.pulp_python.models.repository_version_response import Repos
|
|
|
7492
8338
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7493
8339
|
from pprint import pprint
|
|
7494
8340
|
|
|
7495
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8341
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7496
8342
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7497
8343
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7498
|
-
host = "https://env-ephemeral-
|
|
8344
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7499
8345
|
)
|
|
7500
8346
|
|
|
7501
8347
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7588,10 +8434,10 @@ from pulpcore.client.pulp_python.models.repair import Repair
|
|
|
7588
8434
|
from pulpcore.client.pulp_python.rest import ApiException
|
|
7589
8435
|
from pprint import pprint
|
|
7590
8436
|
|
|
7591
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
8437
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
7592
8438
|
# See configuration.py for a list of all supported configuration parameters.
|
|
7593
8439
|
configuration = pulpcore.client.pulp_python.Configuration(
|
|
7594
|
-
host = "https://env-ephemeral-
|
|
8440
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
7595
8441
|
)
|
|
7596
8442
|
|
|
7597
8443
|
# The client must configure the authentication and authorization parameters
|
|
@@ -7661,6 +8507,97 @@ Name | Type | Description | Notes
|
|
|
7661
8507
|
|
|
7662
8508
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
7663
8509
|
|
|
8510
|
+
# **scan**
|
|
8511
|
+
> AsyncOperationResponse scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8512
|
+
|
|
8513
|
+
Generate vulnerability report
|
|
8514
|
+
|
|
8515
|
+
Scan a repository version for vulnerabilities.
|
|
8516
|
+
|
|
8517
|
+
### Example
|
|
8518
|
+
|
|
8519
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
8520
|
+
* Basic Authentication (basicAuth):
|
|
8521
|
+
* Api Key Authentication (cookieAuth):
|
|
8522
|
+
|
|
8523
|
+
```python
|
|
8524
|
+
import pulpcore.client.pulp_python
|
|
8525
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
8526
|
+
from pulpcore.client.pulp_python.rest import ApiException
|
|
8527
|
+
from pprint import pprint
|
|
8528
|
+
|
|
8529
|
+
# Defining the host is optional and defaults to https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
8530
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
8531
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8532
|
+
host = "https://env-ephemeral-am9igp.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
8533
|
+
)
|
|
8534
|
+
|
|
8535
|
+
# The client must configure the authentication and authorization parameters
|
|
8536
|
+
# in accordance with the API server security policy.
|
|
8537
|
+
# Examples for each auth method are provided below, use the example that
|
|
8538
|
+
# satisfies your auth use case.
|
|
8539
|
+
|
|
8540
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
8541
|
+
|
|
8542
|
+
# Configure HTTP basic authorization: basicAuth
|
|
8543
|
+
configuration = pulpcore.client.pulp_python.Configuration(
|
|
8544
|
+
username = os.environ["USERNAME"],
|
|
8545
|
+
password = os.environ["PASSWORD"]
|
|
8546
|
+
)
|
|
8547
|
+
|
|
8548
|
+
# Configure API key authorization: cookieAuth
|
|
8549
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
8550
|
+
|
|
8551
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
8552
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
8553
|
+
|
|
8554
|
+
# Enter a context with an instance of the API client
|
|
8555
|
+
with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
8556
|
+
# Create an instance of the API class
|
|
8557
|
+
api_instance = pulpcore.client.pulp_python.RepositoriesPythonVersionsApi(api_client)
|
|
8558
|
+
python_python_repository_version_href = 'python_python_repository_version_href_example' # str |
|
|
8559
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
8560
|
+
|
|
8561
|
+
try:
|
|
8562
|
+
# Generate vulnerability report
|
|
8563
|
+
api_response = api_instance.scan(python_python_repository_version_href, x_task_diagnostics=x_task_diagnostics)
|
|
8564
|
+
print("The response of RepositoriesPythonVersionsApi->scan:\n")
|
|
8565
|
+
pprint(api_response)
|
|
8566
|
+
except Exception as e:
|
|
8567
|
+
print("Exception when calling RepositoriesPythonVersionsApi->scan: %s\n" % e)
|
|
8568
|
+
```
|
|
8569
|
+
|
|
8570
|
+
|
|
8571
|
+
|
|
8572
|
+
### Parameters
|
|
8573
|
+
|
|
8574
|
+
|
|
8575
|
+
Name | Type | Description | Notes
|
|
8576
|
+
------------- | ------------- | ------------- | -------------
|
|
8577
|
+
**python_python_repository_version_href** | **str**| |
|
|
8578
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
8579
|
+
|
|
8580
|
+
### Return type
|
|
8581
|
+
|
|
8582
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
|
8583
|
+
|
|
8584
|
+
### Authorization
|
|
8585
|
+
|
|
8586
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
8587
|
+
|
|
8588
|
+
### HTTP request headers
|
|
8589
|
+
|
|
8590
|
+
- **Content-Type**: Not defined
|
|
8591
|
+
- **Accept**: application/json
|
|
8592
|
+
|
|
8593
|
+
### HTTP response details
|
|
8594
|
+
|
|
8595
|
+
| Status code | Description | Response headers |
|
|
8596
|
+
|-------------|-------------|------------------|
|
|
8597
|
+
**202** | | - |
|
|
8598
|
+
|
|
8599
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
8600
|
+
|
|
7664
8601
|
# RepositoryAddRemoveContent
|
|
7665
8602
|
|
|
7666
8603
|
Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|