crc-pulp-file-client 20250819.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of crc-pulp-file-client might be problematic. Click here for more details.
- crc_pulp_file_client-20250819.1/PKG-INFO +25 -0
- crc_pulp_file_client-20250819.1/README.md +251 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/__init__.py +2 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/__init__.py +11 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/acs_file_api.py +3689 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/content_files_api.py +2088 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/distributions_file_api.py +4186 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/publications_file_api.py +2881 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/remotes_file_api.py +4214 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/repositories_file_api.py +4856 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api/repositories_file_versions_api.py +1670 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api_client.py +798 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/api_response.py +21 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/configuration.py +628 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/exceptions.py +200 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/__init__.py +56 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/async_operation_response.py +88 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/content_summary_response.py +92 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_alternate_content_source.py +101 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_alternate_content_source_response.py +116 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_content_response.py +133 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_distribution.py +118 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_distribution_response.py +142 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_publication.py +100 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_publication_response.py +120 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_remote.py +205 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_remote_response.py +199 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_remote_response_hidden_fields_inner.py +90 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_repository.py +121 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/file_file_repository_response.py +146 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/my_permissions_response.py +88 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/nested_role.py +93 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/nested_role_response.py +92 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/object_roles_response.py +96 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginated_repository_version_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_content_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_distribution_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_publication_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_remote_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/paginatedfile_file_repository_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/patchedfile_file_alternate_content_source.py +101 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/patchedfile_file_distribution.py +118 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/patchedfile_file_remote.py +205 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/patchedfile_file_repository.py +121 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/policy_enum.py +39 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/repair.py +88 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/repository_add_remove_content.py +93 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/repository_sync_url.py +90 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/repository_version_response.py +121 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/set_label.py +103 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/set_label_response.py +103 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/task_group_operation_response.py +88 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/unset_label.py +96 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/models/unset_label_response.py +100 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/py.typed +0 -0
- crc_pulp_file_client-20250819.1/crc-pulp_file-client/rest.py +258 -0
- crc_pulp_file_client-20250819.1/crc_pulp_file_client.egg-info/PKG-INFO +25 -0
- crc_pulp_file_client-20250819.1/crc_pulp_file_client.egg-info/SOURCES.txt +165 -0
- crc_pulp_file_client-20250819.1/crc_pulp_file_client.egg-info/dependency_links.txt +1 -0
- crc_pulp_file_client-20250819.1/crc_pulp_file_client.egg-info/requires.txt +4 -0
- crc_pulp_file_client-20250819.1/crc_pulp_file_client.egg-info/top_level.txt +2 -0
- crc_pulp_file_client-20250819.1/pyproject.toml +89 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/__init__.py +2 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/__init__.py +11 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/acs_file_api.py +3689 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/content_files_api.py +2088 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/distributions_file_api.py +4186 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/publications_file_api.py +2881 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/remotes_file_api.py +4214 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/repositories_file_api.py +4856 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api/repositories_file_versions_api.py +1670 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api_client.py +798 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/api_response.py +21 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/configuration.py +628 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/exceptions.py +200 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/__init__.py +56 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/async_operation_response.py +88 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/content_summary_response.py +92 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_alternate_content_source.py +101 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_alternate_content_source_response.py +116 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_content_response.py +133 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_distribution.py +118 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_distribution_response.py +142 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_publication.py +100 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_publication_response.py +120 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_remote.py +205 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_remote_response.py +199 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_remote_response_hidden_fields_inner.py +90 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_repository.py +121 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/file_file_repository_response.py +146 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/my_permissions_response.py +88 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/nested_role.py +93 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/nested_role_response.py +92 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/object_roles_response.py +96 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginated_repository_version_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_alternate_content_source_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_content_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_distribution_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_publication_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_remote_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/paginatedfile_file_repository_response_list.py +112 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/patchedfile_file_alternate_content_source.py +101 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/patchedfile_file_distribution.py +118 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/patchedfile_file_remote.py +205 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/patchedfile_file_repository.py +121 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/policy_enum.py +39 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/repair.py +88 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/repository_add_remove_content.py +93 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/repository_sync_url.py +90 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/repository_version_response.py +121 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/set_label.py +103 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/set_label_response.py +103 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/task_group_operation_response.py +88 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/unset_label.py +96 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/models/unset_label_response.py +100 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/py.typed +0 -0
- crc_pulp_file_client-20250819.1/services-pulp_file-client/rest.py +258 -0
- crc_pulp_file_client-20250819.1/setup.cfg +7 -0
- crc_pulp_file_client-20250819.1/setup.py +52 -0
- crc_pulp_file_client-20250819.1/test/test_acs_file_api.py +109 -0
- crc_pulp_file_client-20250819.1/test/test_async_operation_response.py +53 -0
- crc_pulp_file_client-20250819.1/test/test_content_files_api.py +67 -0
- crc_pulp_file_client-20250819.1/test/test_content_summary_response.py +69 -0
- crc_pulp_file_client-20250819.1/test/test_distributions_file_api.py +116 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_alternate_content_source.py +59 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_alternate_content_source_response.py +63 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_content_response.py +67 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_distribution.py +63 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_distribution_response.py +69 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_publication.py +55 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_publication_response.py +62 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_remote.py +78 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_remote_response.py +82 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_remote_response_hidden_fields_inner.py +55 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_repository.py +61 -0
- crc_pulp_file_client-20250819.1/test/test_file_file_repository_response.py +67 -0
- crc_pulp_file_client-20250819.1/test/test_my_permissions_response.py +57 -0
- crc_pulp_file_client-20250819.1/test/test_nested_role.py +59 -0
- crc_pulp_file_client-20250819.1/test/test_nested_role_response.py +59 -0
- crc_pulp_file_client-20250819.1/test/test_object_roles_response.py +71 -0
- crc_pulp_file_client-20250819.1/test/test_paginated_repository_version_response_list.py +77 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_alternate_content_source_response_list.py +81 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_content_response_list.py +91 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_distribution_response_list.py +93 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_publication_response_list.py +83 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_remote_response_list.py +119 -0
- crc_pulp_file_client-20250819.1/test/test_paginatedfile_file_repository_response_list.py +91 -0
- crc_pulp_file_client-20250819.1/test/test_patchedfile_file_alternate_content_source.py +57 -0
- crc_pulp_file_client-20250819.1/test/test_patchedfile_file_distribution.py +61 -0
- crc_pulp_file_client-20250819.1/test/test_patchedfile_file_remote.py +76 -0
- crc_pulp_file_client-20250819.1/test/test_patchedfile_file_repository.py +60 -0
- crc_pulp_file_client-20250819.1/test/test_policy_enum.py +34 -0
- crc_pulp_file_client-20250819.1/test/test_publications_file_api.py +88 -0
- crc_pulp_file_client-20250819.1/test/test_remotes_file_api.py +116 -0
- crc_pulp_file_client-20250819.1/test/test_repair.py +52 -0
- crc_pulp_file_client-20250819.1/test/test_repositories_file_api.py +130 -0
- crc_pulp_file_client-20250819.1/test/test_repositories_file_versions_api.py +59 -0
- crc_pulp_file_client-20250819.1/test/test_repository_add_remove_content.py +58 -0
- crc_pulp_file_client-20250819.1/test/test_repository_sync_url.py +53 -0
- crc_pulp_file_client-20250819.1/test/test_repository_version_response.py +68 -0
- crc_pulp_file_client-20250819.1/test/test_set_label.py +55 -0
- crc_pulp_file_client-20250819.1/test/test_set_label_response.py +55 -0
- crc_pulp_file_client-20250819.1/test/test_task_group_operation_response.py +53 -0
- crc_pulp_file_client-20250819.1/test/test_unset_label.py +53 -0
- crc_pulp_file_client-20250819.1/test/test_unset_label_response.py +54 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: crc-pulp_file-client
|
|
3
|
+
Version: 20250819.1
|
|
4
|
+
Summary: Pulp 3 API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: Pulp Team
|
|
7
|
+
Author-email: pulp-list@redhat.com
|
|
8
|
+
License: GPLv2+
|
|
9
|
+
Keywords: pulp,pulpcore,client,Pulp 3 API
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
Requires-Dist: urllib3<3.0.0,>=1.25.3
|
|
12
|
+
Requires-Dist: python-dateutil<2.10.0,>=2.8.1
|
|
13
|
+
Requires-Dist: pydantic>=2
|
|
14
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
15
|
+
Dynamic: author
|
|
16
|
+
Dynamic: author-email
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: keywords
|
|
20
|
+
Dynamic: license
|
|
21
|
+
Dynamic: requires-dist
|
|
22
|
+
Dynamic: summary
|
|
23
|
+
|
|
24
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
25
|
+
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# crc-pulp_file-client
|
|
2
|
+
Fetch, Upload, Organize, and Distribute Software Packages
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: v3
|
|
7
|
+
- Package version: 20250819.1
|
|
8
|
+
- Generator version: 7.10.0
|
|
9
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
|
+
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
11
|
+
|
|
12
|
+
## Requirements.
|
|
13
|
+
|
|
14
|
+
Python 3.8+
|
|
15
|
+
|
|
16
|
+
## Installation & Usage
|
|
17
|
+
### pip install
|
|
18
|
+
|
|
19
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
23
|
+
```
|
|
24
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
25
|
+
|
|
26
|
+
Then import the package:
|
|
27
|
+
```python
|
|
28
|
+
import crc-pulp_file-client
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Setuptools
|
|
32
|
+
|
|
33
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
python setup.py install --user
|
|
37
|
+
```
|
|
38
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
39
|
+
|
|
40
|
+
Then import the package:
|
|
41
|
+
```python
|
|
42
|
+
import crc-pulp_file-client
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Tests
|
|
46
|
+
|
|
47
|
+
Execute `pytest` to run the tests.
|
|
48
|
+
|
|
49
|
+
## Getting Started
|
|
50
|
+
|
|
51
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
|
|
55
|
+
import crc-pulp_file-client
|
|
56
|
+
from crc-pulp_file-client.rest import ApiException
|
|
57
|
+
from pprint import pprint
|
|
58
|
+
|
|
59
|
+
# Defining the host is optional and defaults to https://env-ephemeral-pkrsh0.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
60
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
61
|
+
configuration = crc-pulp_file-client.Configuration(
|
|
62
|
+
host = "https://env-ephemeral-pkrsh0.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
# The client must configure the authentication and authorization parameters
|
|
66
|
+
# in accordance with the API server security policy.
|
|
67
|
+
# Examples for each auth method are provided below, use the example that
|
|
68
|
+
# satisfies your auth use case.
|
|
69
|
+
|
|
70
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
71
|
+
|
|
72
|
+
# Configure HTTP basic authorization: basicAuth
|
|
73
|
+
configuration = crc-pulp_file-client.Configuration(
|
|
74
|
+
username = os.environ["USERNAME"],
|
|
75
|
+
password = os.environ["PASSWORD"]
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
# Configure API key authorization: cookieAuth
|
|
79
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
80
|
+
|
|
81
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
82
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
# Enter a context with an instance of the API client
|
|
86
|
+
with crc-pulp_file-client.ApiClient(configuration) as api_client:
|
|
87
|
+
# Create an instance of the API class
|
|
88
|
+
api_instance = crc-pulp_file-client.AcsFileApi(api_client)
|
|
89
|
+
file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str |
|
|
90
|
+
nested_role = crc-pulp_file-client.NestedRole() # NestedRole |
|
|
91
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
92
|
+
|
|
93
|
+
try:
|
|
94
|
+
# Add a role
|
|
95
|
+
api_response = api_instance.add_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)
|
|
96
|
+
print("The response of AcsFileApi->add_role:\n")
|
|
97
|
+
pprint(api_response)
|
|
98
|
+
except ApiException as e:
|
|
99
|
+
print("Exception when calling AcsFileApi->add_role: %s\n" % e)
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Documentation for API Endpoints
|
|
104
|
+
|
|
105
|
+
All URIs are relative to *https://env-ephemeral-pkrsh0.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
106
|
+
|
|
107
|
+
Class | Method | HTTP request | Description
|
|
108
|
+
------------ | ------------- | ------------- | -------------
|
|
109
|
+
*AcsFileApi* | [**add_role**](docs/AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ | Add a role
|
|
110
|
+
*AcsFileApi* | [**create**](docs/AcsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | Create a file alternate content source
|
|
111
|
+
*AcsFileApi* | [**delete**](docs/AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
|
|
112
|
+
*AcsFileApi* | [**list**](docs/AcsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | List file alternate content sources
|
|
113
|
+
*AcsFileApi* | [**list_roles**](docs/AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ | List roles
|
|
114
|
+
*AcsFileApi* | [**my_permissions**](docs/AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ | List user permissions
|
|
115
|
+
*AcsFileApi* | [**partial_update**](docs/AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
|
|
116
|
+
*AcsFileApi* | [**read**](docs/AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
|
|
117
|
+
*AcsFileApi* | [**refresh**](docs/AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ | Refresh metadata
|
|
118
|
+
*AcsFileApi* | [**remove_role**](docs/AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ | Remove a role
|
|
119
|
+
*AcsFileApi* | [**update**](docs/AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source
|
|
120
|
+
*ContentFilesApi* | [**create**](docs/ContentFilesApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | Create a file content
|
|
121
|
+
*ContentFilesApi* | [**list**](docs/ContentFilesApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | List file contents
|
|
122
|
+
*ContentFilesApi* | [**read**](docs/ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
|
|
123
|
+
*ContentFilesApi* | [**set_label**](docs/ContentFilesApi.md#set_label) | **POST** {file_file_content_href}set_label/ | Set a label
|
|
124
|
+
*ContentFilesApi* | [**unset_label**](docs/ContentFilesApi.md#unset_label) | **POST** {file_file_content_href}unset_label/ | Unset a label
|
|
125
|
+
*DistributionsFileApi* | [**add_role**](docs/DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ | Add a role
|
|
126
|
+
*DistributionsFileApi* | [**create**](docs/DistributionsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | Create a file distribution
|
|
127
|
+
*DistributionsFileApi* | [**delete**](docs/DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
|
|
128
|
+
*DistributionsFileApi* | [**list**](docs/DistributionsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | List file distributions
|
|
129
|
+
*DistributionsFileApi* | [**list_roles**](docs/DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ | List roles
|
|
130
|
+
*DistributionsFileApi* | [**my_permissions**](docs/DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ | List user permissions
|
|
131
|
+
*DistributionsFileApi* | [**partial_update**](docs/DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
|
|
132
|
+
*DistributionsFileApi* | [**read**](docs/DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
|
|
133
|
+
*DistributionsFileApi* | [**remove_role**](docs/DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ | Remove a role
|
|
134
|
+
*DistributionsFileApi* | [**set_label**](docs/DistributionsFileApi.md#set_label) | **POST** {file_file_distribution_href}set_label/ | Set a label
|
|
135
|
+
*DistributionsFileApi* | [**unset_label**](docs/DistributionsFileApi.md#unset_label) | **POST** {file_file_distribution_href}unset_label/ | Unset a label
|
|
136
|
+
*DistributionsFileApi* | [**update**](docs/DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution
|
|
137
|
+
*PublicationsFileApi* | [**add_role**](docs/PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ | Add a role
|
|
138
|
+
*PublicationsFileApi* | [**create**](docs/PublicationsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | Create a file publication
|
|
139
|
+
*PublicationsFileApi* | [**delete**](docs/PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
|
|
140
|
+
*PublicationsFileApi* | [**list**](docs/PublicationsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | List file publications
|
|
141
|
+
*PublicationsFileApi* | [**list_roles**](docs/PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ | List roles
|
|
142
|
+
*PublicationsFileApi* | [**my_permissions**](docs/PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ | List user permissions
|
|
143
|
+
*PublicationsFileApi* | [**read**](docs/PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
|
|
144
|
+
*PublicationsFileApi* | [**remove_role**](docs/PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ | Remove a role
|
|
145
|
+
*RemotesFileApi* | [**add_role**](docs/RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ | Add a role
|
|
146
|
+
*RemotesFileApi* | [**create**](docs/RemotesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | Create a file remote
|
|
147
|
+
*RemotesFileApi* | [**delete**](docs/RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote
|
|
148
|
+
*RemotesFileApi* | [**list**](docs/RemotesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | List file remotes
|
|
149
|
+
*RemotesFileApi* | [**list_roles**](docs/RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ | List roles
|
|
150
|
+
*RemotesFileApi* | [**my_permissions**](docs/RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ | List user permissions
|
|
151
|
+
*RemotesFileApi* | [**partial_update**](docs/RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote
|
|
152
|
+
*RemotesFileApi* | [**read**](docs/RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote
|
|
153
|
+
*RemotesFileApi* | [**remove_role**](docs/RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ | Remove a role
|
|
154
|
+
*RemotesFileApi* | [**set_label**](docs/RemotesFileApi.md#set_label) | **POST** {file_file_remote_href}set_label/ | Set a label
|
|
155
|
+
*RemotesFileApi* | [**unset_label**](docs/RemotesFileApi.md#unset_label) | **POST** {file_file_remote_href}unset_label/ | Unset a label
|
|
156
|
+
*RemotesFileApi* | [**update**](docs/RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote
|
|
157
|
+
*RepositoriesFileApi* | [**add_role**](docs/RepositoriesFileApi.md#add_role) | **POST** {file_file_repository_href}add_role/ | Add a role
|
|
158
|
+
*RepositoriesFileApi* | [**create**](docs/RepositoriesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | Create a file repository
|
|
159
|
+
*RepositoriesFileApi* | [**delete**](docs/RepositoriesFileApi.md#delete) | **DELETE** {file_file_repository_href} | Delete a file repository
|
|
160
|
+
*RepositoriesFileApi* | [**list**](docs/RepositoriesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | List file repositorys
|
|
161
|
+
*RepositoriesFileApi* | [**list_roles**](docs/RepositoriesFileApi.md#list_roles) | **GET** {file_file_repository_href}list_roles/ | List roles
|
|
162
|
+
*RepositoriesFileApi* | [**modify**](docs/RepositoriesFileApi.md#modify) | **POST** {file_file_repository_href}modify/ | Modify Repository Content
|
|
163
|
+
*RepositoriesFileApi* | [**my_permissions**](docs/RepositoriesFileApi.md#my_permissions) | **GET** {file_file_repository_href}my_permissions/ | List user permissions
|
|
164
|
+
*RepositoriesFileApi* | [**partial_update**](docs/RepositoriesFileApi.md#partial_update) | **PATCH** {file_file_repository_href} | Update a file repository
|
|
165
|
+
*RepositoriesFileApi* | [**read**](docs/RepositoriesFileApi.md#read) | **GET** {file_file_repository_href} | Inspect a file repository
|
|
166
|
+
*RepositoriesFileApi* | [**remove_role**](docs/RepositoriesFileApi.md#remove_role) | **POST** {file_file_repository_href}remove_role/ | Remove a role
|
|
167
|
+
*RepositoriesFileApi* | [**set_label**](docs/RepositoriesFileApi.md#set_label) | **POST** {file_file_repository_href}set_label/ | Set a label
|
|
168
|
+
*RepositoriesFileApi* | [**sync**](docs/RepositoriesFileApi.md#sync) | **POST** {file_file_repository_href}sync/ | Sync from a remote
|
|
169
|
+
*RepositoriesFileApi* | [**unset_label**](docs/RepositoriesFileApi.md#unset_label) | **POST** {file_file_repository_href}unset_label/ | Unset a label
|
|
170
|
+
*RepositoriesFileApi* | [**update**](docs/RepositoriesFileApi.md#update) | **PUT** {file_file_repository_href} | Update a file repository
|
|
171
|
+
*RepositoriesFileVersionsApi* | [**delete**](docs/RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version
|
|
172
|
+
*RepositoriesFileVersionsApi* | [**list**](docs/RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions
|
|
173
|
+
*RepositoriesFileVersionsApi* | [**read**](docs/RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version
|
|
174
|
+
*RepositoriesFileVersionsApi* | [**repair**](docs/RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ |
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
## Documentation For Models
|
|
178
|
+
|
|
179
|
+
- [AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
180
|
+
- [ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
181
|
+
- [FileFileAlternateContentSource](docs/FileFileAlternateContentSource.md)
|
|
182
|
+
- [FileFileAlternateContentSourceResponse](docs/FileFileAlternateContentSourceResponse.md)
|
|
183
|
+
- [FileFileContentResponse](docs/FileFileContentResponse.md)
|
|
184
|
+
- [FileFileDistribution](docs/FileFileDistribution.md)
|
|
185
|
+
- [FileFileDistributionResponse](docs/FileFileDistributionResponse.md)
|
|
186
|
+
- [FileFilePublication](docs/FileFilePublication.md)
|
|
187
|
+
- [FileFilePublicationResponse](docs/FileFilePublicationResponse.md)
|
|
188
|
+
- [FileFileRemote](docs/FileFileRemote.md)
|
|
189
|
+
- [FileFileRemoteResponse](docs/FileFileRemoteResponse.md)
|
|
190
|
+
- [FileFileRemoteResponseHiddenFieldsInner](docs/FileFileRemoteResponseHiddenFieldsInner.md)
|
|
191
|
+
- [FileFileRepository](docs/FileFileRepository.md)
|
|
192
|
+
- [FileFileRepositoryResponse](docs/FileFileRepositoryResponse.md)
|
|
193
|
+
- [MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
|
194
|
+
- [NestedRole](docs/NestedRole.md)
|
|
195
|
+
- [NestedRoleResponse](docs/NestedRoleResponse.md)
|
|
196
|
+
- [ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
|
197
|
+
- [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
198
|
+
- [PaginatedfileFileAlternateContentSourceResponseList](docs/PaginatedfileFileAlternateContentSourceResponseList.md)
|
|
199
|
+
- [PaginatedfileFileContentResponseList](docs/PaginatedfileFileContentResponseList.md)
|
|
200
|
+
- [PaginatedfileFileDistributionResponseList](docs/PaginatedfileFileDistributionResponseList.md)
|
|
201
|
+
- [PaginatedfileFilePublicationResponseList](docs/PaginatedfileFilePublicationResponseList.md)
|
|
202
|
+
- [PaginatedfileFileRemoteResponseList](docs/PaginatedfileFileRemoteResponseList.md)
|
|
203
|
+
- [PaginatedfileFileRepositoryResponseList](docs/PaginatedfileFileRepositoryResponseList.md)
|
|
204
|
+
- [PatchedfileFileAlternateContentSource](docs/PatchedfileFileAlternateContentSource.md)
|
|
205
|
+
- [PatchedfileFileDistribution](docs/PatchedfileFileDistribution.md)
|
|
206
|
+
- [PatchedfileFileRemote](docs/PatchedfileFileRemote.md)
|
|
207
|
+
- [PatchedfileFileRepository](docs/PatchedfileFileRepository.md)
|
|
208
|
+
- [PolicyEnum](docs/PolicyEnum.md)
|
|
209
|
+
- [Repair](docs/Repair.md)
|
|
210
|
+
- [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
211
|
+
- [RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
212
|
+
- [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
213
|
+
- [SetLabel](docs/SetLabel.md)
|
|
214
|
+
- [SetLabelResponse](docs/SetLabelResponse.md)
|
|
215
|
+
- [TaskGroupOperationResponse](docs/TaskGroupOperationResponse.md)
|
|
216
|
+
- [UnsetLabel](docs/UnsetLabel.md)
|
|
217
|
+
- [UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
<a id="documentation-for-authorization"></a>
|
|
221
|
+
## Documentation For Authorization
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
Authentication schemes defined for the API:
|
|
225
|
+
<a id="basicAuth"></a>
|
|
226
|
+
### basicAuth
|
|
227
|
+
|
|
228
|
+
- **Type**: HTTP basic authentication
|
|
229
|
+
|
|
230
|
+
<a id="cookieAuth"></a>
|
|
231
|
+
### cookieAuth
|
|
232
|
+
|
|
233
|
+
- **Type**: API key
|
|
234
|
+
- **API key parameter name**: sessionid
|
|
235
|
+
- **Location**:
|
|
236
|
+
|
|
237
|
+
<a id="json_header_remote_authentication"></a>
|
|
238
|
+
### json_header_remote_authentication
|
|
239
|
+
|
|
240
|
+
- **Type**: OAuth
|
|
241
|
+
- **Flow**: application
|
|
242
|
+
- **Authorization URL**:
|
|
243
|
+
- **Scopes**:
|
|
244
|
+
- **api.console**: grant_access_to_pulp
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
## Author
|
|
248
|
+
|
|
249
|
+
pulp-list@redhat.com
|
|
250
|
+
|
|
251
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from crc-pulp_file-client.api.acs_file_api import AcsFileApi
|
|
5
|
+
from crc-pulp_file-client.api.content_files_api import ContentFilesApi
|
|
6
|
+
from crc-pulp_file-client.api.distributions_file_api import DistributionsFileApi
|
|
7
|
+
from crc-pulp_file-client.api.publications_file_api import PublicationsFileApi
|
|
8
|
+
from crc-pulp_file-client.api.remotes_file_api import RemotesFileApi
|
|
9
|
+
from crc-pulp_file-client.api.repositories_file_api import RepositoriesFileApi
|
|
10
|
+
from crc-pulp_file-client.api.repositories_file_versions_api import RepositoriesFileVersionsApi
|
|
11
|
+
|