crc-pulp-npm-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-npm-client might be problematic. Click here for more details.
- crc_pulp_npm_client-20250819.1/PKG-INFO +25 -0
- crc_pulp_npm_client-20250819.1/README.md +216 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/__init__.py +2 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/__init__.py +9 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/content_packages_api.py +1964 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/distributions_npm_api.py +2934 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/remotes_npm_api.py +2962 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/repositories_npm_api.py +3604 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api/repositories_npm_versions_api.py +1670 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api_client.py +798 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/api_response.py +21 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/configuration.py +628 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/exceptions.py +200 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/__init__.py +44 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/async_operation_response.py +88 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/content_summary_response.py +92 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_distribution.py +116 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_distribution_response.py +140 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_remote.py +205 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_remote_response.py +199 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_remote_response_hidden_fields_inner.py +90 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_repository.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_npm_repository_response.py +137 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/npm_package_response.py +113 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/paginated_repository_version_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/paginatednpm_npm_distribution_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/paginatednpm_npm_remote_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/paginatednpm_npm_repository_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/paginatednpm_package_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/patchednpm_npm_distribution.py +116 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/patchednpm_npm_remote.py +205 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/patchednpm_npm_repository.py +112 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/policy_enum.py +39 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/repair.py +88 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/repository_add_remove_content.py +93 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/repository_sync_url.py +90 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/repository_version_response.py +121 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/set_label.py +103 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/set_label_response.py +103 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/unset_label.py +96 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/models/unset_label_response.py +100 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/py.typed +0 -0
- crc_pulp_npm_client-20250819.1/crc-pulp_npm-client/rest.py +258 -0
- crc_pulp_npm_client-20250819.1/crc_pulp_npm_client.egg-info/PKG-INFO +25 -0
- crc_pulp_npm_client-20250819.1/crc_pulp_npm_client.egg-info/SOURCES.txt +123 -0
- crc_pulp_npm_client-20250819.1/crc_pulp_npm_client.egg-info/dependency_links.txt +1 -0
- crc_pulp_npm_client-20250819.1/crc_pulp_npm_client.egg-info/requires.txt +4 -0
- crc_pulp_npm_client-20250819.1/crc_pulp_npm_client.egg-info/top_level.txt +2 -0
- crc_pulp_npm_client-20250819.1/pyproject.toml +89 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/__init__.py +2 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/__init__.py +9 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/content_packages_api.py +1964 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/distributions_npm_api.py +2934 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/remotes_npm_api.py +2962 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/repositories_npm_api.py +3604 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api/repositories_npm_versions_api.py +1670 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api_client.py +798 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/api_response.py +21 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/configuration.py +628 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/exceptions.py +200 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/__init__.py +44 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/async_operation_response.py +88 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/content_summary_response.py +92 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_distribution.py +116 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_distribution_response.py +140 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_remote.py +205 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_remote_response.py +199 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_remote_response_hidden_fields_inner.py +90 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_repository.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_npm_repository_response.py +137 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/npm_package_response.py +113 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/paginated_repository_version_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/paginatednpm_npm_distribution_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/paginatednpm_npm_remote_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/paginatednpm_npm_repository_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/paginatednpm_package_response_list.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/patchednpm_npm_distribution.py +116 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/patchednpm_npm_remote.py +205 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/patchednpm_npm_repository.py +112 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/policy_enum.py +39 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/repair.py +88 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/repository_add_remove_content.py +93 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/repository_sync_url.py +90 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/repository_version_response.py +121 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/set_label.py +103 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/set_label_response.py +103 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/unset_label.py +96 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/models/unset_label_response.py +100 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/py.typed +0 -0
- crc_pulp_npm_client-20250819.1/services-pulp_npm-client/rest.py +258 -0
- crc_pulp_npm_client-20250819.1/setup.cfg +7 -0
- crc_pulp_npm_client-20250819.1/setup.py +52 -0
- crc_pulp_npm_client-20250819.1/test/test_async_operation_response.py +53 -0
- crc_pulp_npm_client-20250819.1/test/test_content_packages_api.py +67 -0
- crc_pulp_npm_client-20250819.1/test/test_content_summary_response.py +69 -0
- crc_pulp_npm_client-20250819.1/test/test_distributions_npm_api.py +88 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_distribution.py +62 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_distribution_response.py +68 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_remote.py +78 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_remote_response.py +82 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_remote_response_hidden_fields_inner.py +55 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_repository.py +59 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_npm_repository_response.py +65 -0
- crc_pulp_npm_client-20250819.1/test/test_npm_package_response.py +65 -0
- crc_pulp_npm_client-20250819.1/test/test_paginated_repository_version_response_list.py +77 -0
- crc_pulp_npm_client-20250819.1/test/test_paginatednpm_npm_distribution_response_list.py +91 -0
- crc_pulp_npm_client-20250819.1/test/test_paginatednpm_npm_remote_response_list.py +119 -0
- crc_pulp_npm_client-20250819.1/test/test_paginatednpm_npm_repository_response_list.py +87 -0
- crc_pulp_npm_client-20250819.1/test/test_paginatednpm_package_response_list.py +83 -0
- crc_pulp_npm_client-20250819.1/test/test_patchednpm_npm_distribution.py +60 -0
- crc_pulp_npm_client-20250819.1/test/test_patchednpm_npm_remote.py +76 -0
- crc_pulp_npm_client-20250819.1/test/test_patchednpm_npm_repository.py +58 -0
- crc_pulp_npm_client-20250819.1/test/test_policy_enum.py +34 -0
- crc_pulp_npm_client-20250819.1/test/test_remotes_npm_api.py +88 -0
- crc_pulp_npm_client-20250819.1/test/test_repair.py +52 -0
- crc_pulp_npm_client-20250819.1/test/test_repositories_npm_api.py +102 -0
- crc_pulp_npm_client-20250819.1/test/test_repositories_npm_versions_api.py +59 -0
- crc_pulp_npm_client-20250819.1/test/test_repository_add_remove_content.py +58 -0
- crc_pulp_npm_client-20250819.1/test/test_repository_sync_url.py +53 -0
- crc_pulp_npm_client-20250819.1/test/test_repository_version_response.py +68 -0
- crc_pulp_npm_client-20250819.1/test/test_set_label.py +55 -0
- crc_pulp_npm_client-20250819.1/test/test_set_label_response.py +55 -0
- crc_pulp_npm_client-20250819.1/test/test_unset_label.py +53 -0
- crc_pulp_npm_client-20250819.1/test/test_unset_label_response.py +54 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: crc-pulp_npm-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,216 @@
|
|
|
1
|
+
# crc-pulp_npm-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_npm-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_npm-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_npm-client
|
|
56
|
+
from crc-pulp_npm-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_npm-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_npm-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_npm-client.ApiClient(configuration) as api_client:
|
|
87
|
+
# Create an instance of the API class
|
|
88
|
+
api_instance = crc-pulp_npm-client.ContentPackagesApi(api_client)
|
|
89
|
+
pulp_domain = 'pulp_domain_example' # str |
|
|
90
|
+
relative_path = 'relative_path_example' # str |
|
|
91
|
+
name = 'name_example' # str |
|
|
92
|
+
version = 'version_example' # str |
|
|
93
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
94
|
+
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
95
|
+
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
96
|
+
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
97
|
+
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
98
|
+
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
99
|
+
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
100
|
+
|
|
101
|
+
try:
|
|
102
|
+
# Create a package
|
|
103
|
+
api_response = api_instance.create(pulp_domain, relative_path, name, version, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url)
|
|
104
|
+
print("The response of ContentPackagesApi->create:\n")
|
|
105
|
+
pprint(api_response)
|
|
106
|
+
except ApiException as e:
|
|
107
|
+
print("Exception when calling ContentPackagesApi->create: %s\n" % e)
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Documentation for API Endpoints
|
|
112
|
+
|
|
113
|
+
All URIs are relative to *https://env-ephemeral-pkrsh0.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
114
|
+
|
|
115
|
+
Class | Method | HTTP request | Description
|
|
116
|
+
------------ | ------------- | ------------- | -------------
|
|
117
|
+
*ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/npm/packages/ | Create a package
|
|
118
|
+
*ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/npm/packages/ | List packages
|
|
119
|
+
*ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {npm_package_href} | Inspect a package
|
|
120
|
+
*ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {npm_package_href}set_label/ | Set a label
|
|
121
|
+
*ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {npm_package_href}unset_label/ | Unset a label
|
|
122
|
+
*DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/distributions/npm/npm/ | Create a npm distribution
|
|
123
|
+
*DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_npm_distribution_href} | Delete a npm distribution
|
|
124
|
+
*DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/distributions/npm/npm/ | List npm distributions
|
|
125
|
+
*DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_npm_distribution_href} | Update a npm distribution
|
|
126
|
+
*DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_npm_distribution_href} | Inspect a npm distribution
|
|
127
|
+
*DistributionsNpmApi* | [**set_label**](docs/DistributionsNpmApi.md#set_label) | **POST** {npm_npm_distribution_href}set_label/ | Set a label
|
|
128
|
+
*DistributionsNpmApi* | [**unset_label**](docs/DistributionsNpmApi.md#unset_label) | **POST** {npm_npm_distribution_href}unset_label/ | Unset a label
|
|
129
|
+
*DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_npm_distribution_href} | Update a npm distribution
|
|
130
|
+
*RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/remotes/npm/npm/ | Create a npm remote
|
|
131
|
+
*RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_npm_remote_href} | Delete a npm remote
|
|
132
|
+
*RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/remotes/npm/npm/ | List npm remotes
|
|
133
|
+
*RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_npm_remote_href} | Update a npm remote
|
|
134
|
+
*RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_npm_remote_href} | Inspect a npm remote
|
|
135
|
+
*RemotesNpmApi* | [**set_label**](docs/RemotesNpmApi.md#set_label) | **POST** {npm_npm_remote_href}set_label/ | Set a label
|
|
136
|
+
*RemotesNpmApi* | [**unset_label**](docs/RemotesNpmApi.md#unset_label) | **POST** {npm_npm_remote_href}unset_label/ | Unset a label
|
|
137
|
+
*RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_npm_remote_href} | Update a npm remote
|
|
138
|
+
*RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/repositories/npm/npm/ | Create a npm repository
|
|
139
|
+
*RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_npm_repository_href} | Delete a npm repository
|
|
140
|
+
*RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/repositories/npm/npm/ | List npm repositorys
|
|
141
|
+
*RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_npm_repository_href}modify/ | Modify Repository Content
|
|
142
|
+
*RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_npm_repository_href} | Update a npm repository
|
|
143
|
+
*RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_npm_repository_href} | Inspect a npm repository
|
|
144
|
+
*RepositoriesNpmApi* | [**set_label**](docs/RepositoriesNpmApi.md#set_label) | **POST** {npm_npm_repository_href}set_label/ | Set a label
|
|
145
|
+
*RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_npm_repository_href}sync/ | Sync from remote
|
|
146
|
+
*RepositoriesNpmApi* | [**unset_label**](docs/RepositoriesNpmApi.md#unset_label) | **POST** {npm_npm_repository_href}unset_label/ | Unset a label
|
|
147
|
+
*RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_npm_repository_href} | Update a npm repository
|
|
148
|
+
*RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_npm_repository_version_href} | Delete a repository version
|
|
149
|
+
*RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_npm_repository_href}versions/ | List repository versions
|
|
150
|
+
*RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_npm_repository_version_href} | Inspect a repository version
|
|
151
|
+
*RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_npm_repository_version_href}repair/ |
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## Documentation For Models
|
|
155
|
+
|
|
156
|
+
- [AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
157
|
+
- [ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
|
158
|
+
- [NpmNpmDistribution](docs/NpmNpmDistribution.md)
|
|
159
|
+
- [NpmNpmDistributionResponse](docs/NpmNpmDistributionResponse.md)
|
|
160
|
+
- [NpmNpmRemote](docs/NpmNpmRemote.md)
|
|
161
|
+
- [NpmNpmRemoteResponse](docs/NpmNpmRemoteResponse.md)
|
|
162
|
+
- [NpmNpmRemoteResponseHiddenFieldsInner](docs/NpmNpmRemoteResponseHiddenFieldsInner.md)
|
|
163
|
+
- [NpmNpmRepository](docs/NpmNpmRepository.md)
|
|
164
|
+
- [NpmNpmRepositoryResponse](docs/NpmNpmRepositoryResponse.md)
|
|
165
|
+
- [NpmPackageResponse](docs/NpmPackageResponse.md)
|
|
166
|
+
- [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
|
167
|
+
- [PaginatednpmNpmDistributionResponseList](docs/PaginatednpmNpmDistributionResponseList.md)
|
|
168
|
+
- [PaginatednpmNpmRemoteResponseList](docs/PaginatednpmNpmRemoteResponseList.md)
|
|
169
|
+
- [PaginatednpmNpmRepositoryResponseList](docs/PaginatednpmNpmRepositoryResponseList.md)
|
|
170
|
+
- [PaginatednpmPackageResponseList](docs/PaginatednpmPackageResponseList.md)
|
|
171
|
+
- [PatchednpmNpmDistribution](docs/PatchednpmNpmDistribution.md)
|
|
172
|
+
- [PatchednpmNpmRemote](docs/PatchednpmNpmRemote.md)
|
|
173
|
+
- [PatchednpmNpmRepository](docs/PatchednpmNpmRepository.md)
|
|
174
|
+
- [PolicyEnum](docs/PolicyEnum.md)
|
|
175
|
+
- [Repair](docs/Repair.md)
|
|
176
|
+
- [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
|
|
177
|
+
- [RepositorySyncURL](docs/RepositorySyncURL.md)
|
|
178
|
+
- [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
|
179
|
+
- [SetLabel](docs/SetLabel.md)
|
|
180
|
+
- [SetLabelResponse](docs/SetLabelResponse.md)
|
|
181
|
+
- [UnsetLabel](docs/UnsetLabel.md)
|
|
182
|
+
- [UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
<a id="documentation-for-authorization"></a>
|
|
186
|
+
## Documentation For Authorization
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
Authentication schemes defined for the API:
|
|
190
|
+
<a id="basicAuth"></a>
|
|
191
|
+
### basicAuth
|
|
192
|
+
|
|
193
|
+
- **Type**: HTTP basic authentication
|
|
194
|
+
|
|
195
|
+
<a id="cookieAuth"></a>
|
|
196
|
+
### cookieAuth
|
|
197
|
+
|
|
198
|
+
- **Type**: API key
|
|
199
|
+
- **API key parameter name**: sessionid
|
|
200
|
+
- **Location**:
|
|
201
|
+
|
|
202
|
+
<a id="json_header_remote_authentication"></a>
|
|
203
|
+
### json_header_remote_authentication
|
|
204
|
+
|
|
205
|
+
- **Type**: OAuth
|
|
206
|
+
- **Flow**: application
|
|
207
|
+
- **Authorization URL**:
|
|
208
|
+
- **Scopes**:
|
|
209
|
+
- **api.console**: grant_access_to_pulp
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
## Author
|
|
213
|
+
|
|
214
|
+
pulp-list@redhat.com
|
|
215
|
+
|
|
216
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# flake8: noqa
|
|
2
|
+
|
|
3
|
+
# import apis into api package
|
|
4
|
+
from crc-pulp_npm-client.api.content_packages_api import ContentPackagesApi
|
|
5
|
+
from crc-pulp_npm-client.api.distributions_npm_api import DistributionsNpmApi
|
|
6
|
+
from crc-pulp_npm-client.api.remotes_npm_api import RemotesNpmApi
|
|
7
|
+
from crc-pulp_npm-client.api.repositories_npm_api import RepositoriesNpmApi
|
|
8
|
+
from crc-pulp_npm-client.api.repositories_npm_versions_api import RepositoriesNpmVersionsApi
|
|
9
|
+
|