pulpcore.client.pulp_maven.ApiMavenApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| get | GET /api/pulp/maven/{pulp_domain}/{name}/{path} | |
| put | PUT /api/pulp/maven/{pulp_domain}/{name}/{path} |
get
get(name, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Responds to GET requests about manifests by reference
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ApiMavenApi(api_client)
name = 'name_example' # str |
path = 'path_example' # str |
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
api_instance.get(name, path, pulp_domain, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
except Exception as e:
print("Exception when calling ApiMavenApi->get: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | ||
| path | str | ||
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
put
put(name, path, pulp_domain, x_task_diagnostics=x_task_diagnostics)
ViewSet for interacting with maven deploy API
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ApiMavenApi(api_client)
name = 'name_example' # str |
path = 'path_example' # str |
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
api_instance.put(name, path, pulp_domain, x_task_diagnostics=x_task_diagnostics)
except Exception as e:
print("Exception when calling ApiMavenApi->put: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | ||
| path | str | ||
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | No response body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AsyncOperationResponse
Serializer for asynchronous operations.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| task | str | The href of the task. |
Example
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
# TODO update the JSON string below
json = "{}"
# create an instance of AsyncOperationResponse from a JSON string
async_operation_response_instance = AsyncOperationResponse.from_json(json)
# print the JSON string representation of the object
print(AsyncOperationResponse.to_json())
# convert the object into a dict
async_operation_response_dict = async_operation_response_instance.to_dict()
# create an instance of AsyncOperationResponse from a dict
async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_operation_response_dict)
[Back to Model list] [Back to API list] [Back to README]
pulpcore.client.pulp_maven.ContentArtifactApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| create | POST /api/pulp/{pulp_domain}/api/v3/content/maven/artifact/ | Create a maven artifact |
| list | GET /api/pulp/{pulp_domain}/api/v3/content/maven/artifact/ | List maven artifacts |
| read | GET {maven_maven_artifact_href} | Inspect a maven artifact |
| set_label | POST {maven_maven_artifact_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_artifact_href}unset_label/ | Unset a label |
| upload | POST /api/pulp/{pulp_domain}/api/v3/content/maven/artifact/upload/ | Upload a Maven artifact synchronously. |
create
AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
Create a maven artifact
Trigger an asynchronous task to create content,optionally create new repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
downloader_config = pulpcore.client.pulp_maven.RemoteNetworkConfig() # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. (optional)
try:
# Create a maven artifact
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
print("The response of ContentArtifactApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->create: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| relative_path | str | Path where the artifact is located relative to distributions base_path | |
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| repository | str | A URI of a repository the new content unit should be associated with. | [optional] |
| overwrite | bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| artifact | str | Artifact file representing the physical content | [optional] |
| file | bytearray | An uploaded file that may be turned into the content unit. | [optional] |
| upload | str | An uncommitted upload that may be turned into the content unit. | [optional] |
| file_url | str | A url that Pulp can download and turn into the content unit. | [optional] |
| downloader_config | RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedmavenMavenArtifactResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, filename=filename, group_id=group_id, 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, version=version, fields=fields, exclude_fields=exclude_fields)
List maven artifacts
A ViewSet for MavenArtifact.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_artifact_response_list import PaginatedmavenMavenArtifactResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
artifact_id = 'artifact_id_example' # str | Filter results where artifact_id matches value (optional)
filename = 'filename_example' # str | Filter results where filename matches value (optional)
group_id = 'group_id_example' # str | Filter results where group_id matches value (optional)
limit = 56 # int | Number of results to return per page. (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
repository_version = 'repository_version_example' # str | (optional)
repository_version_added = 'repository_version_added_example' # str | (optional)
repository_version_removed = 'repository_version_removed_example' # str | (optional)
version = 'version_example' # str | Filter results where version matches value (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven artifacts
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, filename=filename, group_id=group_id, 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, version=version, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentArtifactApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| artifact_id | str | Filter results where artifact_id matches value | [optional] |
| filename | str | Filter results where filename matches value | [optional] |
| group_id | str | Filter results where group_id matches value | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| orphaned_for | float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| repository_version | str | [optional] | |
| repository_version_added | str | [optional] | |
| repository_version_removed | str | [optional] | |
| version | str | Filter results where version matches value | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenArtifactResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenArtifactResponse read(maven_maven_artifact_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven artifact
A ViewSet for MavenArtifact.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_artifact_response import MavenMavenArtifactResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven artifact
api_response = api_instance.read(maven_maven_artifact_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentArtifactApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_artifact_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_artifact_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_artifact_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentArtifactApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_artifact_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_artifact_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
maven_maven_artifact_href = 'maven_maven_artifact_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_artifact_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentArtifactApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_artifact_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload
MavenMavenArtifactResponse upload(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
Upload a Maven artifact synchronously.
Synchronously upload a Maven artifact.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_artifact_response import MavenMavenArtifactResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
downloader_config = pulpcore.client.pulp_maven.RemoteNetworkConfig() # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. (optional)
try:
# Upload a Maven artifact synchronously.
api_response = api_instance.upload(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
print("The response of ContentArtifactApi->upload:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentArtifactApi->upload: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| relative_path | str | Path where the artifact is located relative to distributions base_path | |
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| repository | str | A URI of a repository the new content unit should be associated with. | [optional] |
| overwrite | bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| artifact | str | Artifact file representing the physical content | [optional] |
| file | bytearray | An uploaded file that may be turned into the content unit. | [optional] |
| upload | str | An uncommitted upload that may be turned into the content unit. | [optional] |
| file_url | str | A url that Pulp can download and turn into the content unit. | [optional] |
| downloader_config | RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
pulpcore.client.pulp_maven.ContentMetadataApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| create | POST /api/pulp/{pulp_domain}/api/v3/content/maven/metadata/ | Create a maven metadata |
| list | GET /api/pulp/{pulp_domain}/api/v3/content/maven/metadata/ | List maven metadatas |
| read | GET {maven_maven_metadata_href} | Inspect a maven metadata |
| set_label | POST {maven_maven_metadata_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_metadata_href}unset_label/ | Unset a label |
| upload | POST /api/pulp/{pulp_domain}/api/v3/content/maven/metadata/upload/ | Upload a Maven metadata file synchronously. |
create
AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
Create a maven metadata
Trigger an asynchronous task to create content,optionally create new repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
downloader_config = pulpcore.client.pulp_maven.RemoteNetworkConfig() # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. (optional)
try:
# Create a maven metadata
api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
print("The response of ContentMetadataApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->create: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| relative_path | str | Path where the artifact is located relative to distributions base_path | |
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| repository | str | A URI of a repository the new content unit should be associated with. | [optional] |
| overwrite | bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| artifact | str | Artifact file representing the physical content | [optional] |
| file | bytearray | An uploaded file that may be turned into the content unit. | [optional] |
| upload | str | An uncommitted upload that may be turned into the content unit. | [optional] |
| file_url | str | A url that Pulp can download and turn into the content unit. | [optional] |
| downloader_config | RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedmavenMavenMetadataResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, filename=filename, group_id=group_id, 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, version=version, fields=fields, exclude_fields=exclude_fields)
List maven metadatas
A ViewSet for MavenMetadata.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_metadata_response_list import PaginatedmavenMavenMetadataResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
artifact_id = 'artifact_id_example' # str | Filter results where artifact_id matches value (optional)
filename = 'filename_example' # str | Filter results where filename matches value (optional)
group_id = 'group_id_example' # str | Filter results where group_id matches value (optional)
limit = 56 # int | Number of results to return per page. (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
repository_version = 'repository_version_example' # str | (optional)
repository_version_added = 'repository_version_added_example' # str | (optional)
repository_version_removed = 'repository_version_removed_example' # str | (optional)
version = 'version_example' # str | Filter results where version matches value (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven metadatas
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, filename=filename, group_id=group_id, 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, version=version, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentMetadataApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| artifact_id | str | Filter results where artifact_id matches value | [optional] |
| filename | str | Filter results where filename matches value | [optional] |
| group_id | str | Filter results where group_id matches value | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| orphaned_for | float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| repository_version | str | [optional] | |
| repository_version_added | str | [optional] | |
| repository_version_removed | str | [optional] | |
| version | str | Filter results where version matches value | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenMetadataResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenMetadataResponse read(maven_maven_metadata_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven metadata
A ViewSet for MavenMetadata.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_metadata_response import MavenMavenMetadataResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
maven_maven_metadata_href = 'maven_maven_metadata_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven metadata
api_response = api_instance.read(maven_maven_metadata_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentMetadataApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_metadata_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_metadata_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
maven_maven_metadata_href = 'maven_maven_metadata_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_metadata_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentMetadataApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_metadata_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_metadata_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
maven_maven_metadata_href = 'maven_maven_metadata_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_metadata_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentMetadataApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_metadata_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload
MavenMavenMetadataResponse upload(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
Upload a Maven metadata file synchronously.
Synchronously upload a Maven metadata file.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_metadata_response import MavenMavenMetadataResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentMetadataApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
downloader_config = pulpcore.client.pulp_maven.RemoteNetworkConfig() # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. (optional)
try:
# Upload a Maven metadata file synchronously.
api_response = api_instance.upload(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
print("The response of ContentMetadataApi->upload:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentMetadataApi->upload: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| relative_path | str | Path where the artifact is located relative to distributions base_path | |
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| repository | str | A URI of a repository the new content unit should be associated with. | [optional] |
| overwrite | bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| artifact | str | Artifact file representing the physical content | [optional] |
| file | bytearray | An uploaded file that may be turned into the content unit. | [optional] |
| upload | str | An uncommitted upload that may be turned into the content unit. | [optional] |
| file_url | str | A url that Pulp can download and turn into the content unit. | [optional] |
| downloader_config | RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: multipart/form-data, application/x-www-form-urlencoded
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
pulpcore.client.pulp_maven.ContentPackageApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| list | GET /api/pulp/{pulp_domain}/api/v3/content/maven/package/ | List maven packages |
| read | GET {maven_maven_package_href} | Inspect a maven package |
| set_label | POST {maven_maven_package_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_package_href}unset_label/ | Unset a label |
list
PaginatedmavenMavenPackageResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, group_id=group_id, limit=limit, name=name, offset=offset, ordering=ordering, orphaned_for=orphaned_for, packaging=packaging, 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, version=version, fields=fields, exclude_fields=exclude_fields)
List maven packages
A read-only ViewSet for MavenPackage. MavenPackage represents a logical Maven package at the GAV (groupId, artifactId, version) level. Packages are automatically created when artifacts are added to a repository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_package_response_list import PaginatedmavenMavenPackageResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentPackageApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
artifact_id = 'artifact_id_example' # str | Filter results where artifact_id matches value (optional)
group_id = 'group_id_example' # str | Filter results where group_id matches value (optional)
limit = 56 # int | Number of results to return per page. (optional)
name = 'name_example' # str | Filter results where name matches value (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `packaging` - Packaging * `-packaging` - Packaging (descending) * `url` - Url * `-url` - Url (descending) * `licenses` - Licenses * `-licenses` - Licenses (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `scm_url` - Scm url * `-scm_url` - Scm url (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)
packaging = 'packaging_example' # str | Filter results where packaging matches value (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
repository_version = 'repository_version_example' # str | (optional)
repository_version_added = 'repository_version_added_example' # str | (optional)
repository_version_removed = 'repository_version_removed_example' # str | (optional)
version = 'version_example' # str | Filter results where version matches value (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven packages
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, artifact_id=artifact_id, group_id=group_id, limit=limit, name=name, offset=offset, ordering=ordering, orphaned_for=orphaned_for, packaging=packaging, 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, version=version, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentPackageApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentPackageApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| artifact_id | str | Filter results where artifact_id matches value | [optional] |
| group_id | str | Filter results where group_id matches value | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| name | str | Filter results where name matches value | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `packaging` - Packaging * `-packaging` - Packaging (descending) * `url` - Url * `-url` - Url (descending) * `licenses` - Licenses * `-licenses` - Licenses (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `scm_url` - Scm url * `-scm_url` - Scm url (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| orphaned_for | float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
| packaging | str | Filter results where packaging matches value | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| repository_version | str | [optional] | |
| repository_version_added | str | [optional] | |
| repository_version_removed | str | [optional] | |
| version | str | Filter results where version matches value | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenPackageResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenPackageResponse read(maven_maven_package_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven package
A read-only ViewSet for MavenPackage. MavenPackage represents a logical Maven package at the GAV (groupId, artifactId, version) level. Packages are automatically created when artifacts are added to a repository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_package_response import MavenMavenPackageResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentPackageApi(api_client)
maven_maven_package_href = 'maven_maven_package_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven package
api_response = api_instance.read(maven_maven_package_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of ContentPackageApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentPackageApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_package_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_package_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentPackageApi(api_client)
maven_maven_package_href = 'maven_maven_package_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_package_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentPackageApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentPackageApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_package_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_package_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentPackageApi(api_client)
maven_maven_package_href = 'maven_maven_package_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_package_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of ContentPackageApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ContentPackageApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_package_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContentSummaryResponse
Serializer for the RepositoryVersion content summary
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| added | Dict[str, object] | ||
| removed | Dict[str, object] | ||
| present | Dict[str, object] |
Example
from pulpcore.client.pulp_maven.models.content_summary_response import ContentSummaryResponse
# TODO update the JSON string below
json = "{}"
# create an instance of ContentSummaryResponse from a JSON string
content_summary_response_instance = ContentSummaryResponse.from_json(json)
# print the JSON string representation of the object
print(ContentSummaryResponse.to_json())
# convert the object into a dict
content_summary_response_dict = content_summary_response_instance.to_dict()
# create an instance of ContentSummaryResponse from a dict
content_summary_response_from_dict = ContentSummaryResponse.from_dict(content_summary_response_dict)
[Back to Model list] [Back to API list] [Back to README]
pulpcore.client.pulp_maven.DistributionsMavenApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| add_role | POST {maven_maven_distribution_href}add_role/ | Add a role |
| create | POST /api/pulp/{pulp_domain}/api/v3/distributions/maven/maven/ | Create a maven distribution |
| delete | DELETE {maven_maven_distribution_href} | Delete a maven distribution |
| list | GET /api/pulp/{pulp_domain}/api/v3/distributions/maven/maven/ | List maven distributions |
| list_roles | GET {maven_maven_distribution_href}list_roles/ | List roles |
| my_permissions | GET {maven_maven_distribution_href}my_permissions/ | List user permissions |
| partial_update | PATCH {maven_maven_distribution_href} | Update a maven distribution |
| read | GET {maven_maven_distribution_href} | Inspect a maven distribution |
| remove_role | POST {maven_maven_distribution_href}remove_role/ | Remove a role |
| set_label | POST {maven_maven_distribution_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_distribution_href}unset_label/ | Unset a label |
| update | PUT {maven_maven_distribution_href} | Update a maven distribution |
add_role
NestedRoleResponse add_role(maven_maven_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Add a role
Add a role for this object to users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Add a role
api_response = api_instance.add_role(maven_maven_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->add_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->add_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create
AsyncOperationResponse create(pulp_domain, maven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
Create a maven distribution
Trigger an asynchronous create task
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.models.maven_maven_distribution import MavenMavenDistribution
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
maven_maven_distribution = pulpcore.client.pulp_maven.MavenMavenDistribution() # MavenMavenDistribution |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Create a maven distribution
api_response = api_instance.create(pulp_domain, maven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->create: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| maven_maven_distribution | MavenMavenDistribution | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete
AsyncOperationResponse delete(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics)
Delete a maven distribution
Trigger an asynchronous delete task
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Delete a maven distribution
api_response = api_instance.delete(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->delete: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedmavenMavenDistributionResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, base_path=base_path, base_path__contains=base_path__contains, base_path__icontains=base_path__icontains, base_path__in=base_path__in, checkpoint=checkpoint, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, 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=repository, repository__in=repository__in, with_content=with_content, fields=fields, exclude_fields=exclude_fields)
List maven distributions
ViewSet for Maven Distributions.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_distribution_response_list import PaginatedmavenMavenDistributionResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
base_path = 'base_path_example' # str | Filter results where base_path matches value (optional)
base_path__contains = 'base_path__contains_example' # str | Filter results where base_path contains value (optional)
base_path__icontains = 'base_path__icontains_example' # str | Filter results where base_path contains value (optional)
base_path__in = ['base_path__in_example'] # List[str] | Filter results where base_path is in a comma-separated list of values (optional)
checkpoint = True # bool | Filter results where checkpoint matches value (optional)
limit = 56 # int | Number of results to return per page. (optional)
name = 'name_example' # str | Filter results where name matches value (optional)
name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)
name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)
name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)
name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)
name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)
name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
repository = 'repository_example' # str | (optional)
repository__in = ['repository__in_example'] # List[str] | (optional)
with_content = 'with_content_example' # str | Filter distributions based on the content served by them (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven distributions
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, base_path=base_path, base_path__contains=base_path__contains, base_path__icontains=base_path__icontains, base_path__in=base_path__in, checkpoint=checkpoint, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, 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=repository, repository__in=repository__in, with_content=with_content, fields=fields, exclude_fields=exclude_fields)
print("The response of DistributionsMavenApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| base_path | str | Filter results where base_path matches value | [optional] |
| base_path__contains | str | Filter results where base_path contains value | [optional] |
| base_path__icontains | str | Filter results where base_path contains value | [optional] |
| base_path__in | List[str] | Filter results where base_path is in a comma-separated list of values | [optional] |
| checkpoint | bool | Filter results where checkpoint matches value | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| name | str | Filter results where name matches value | [optional] |
| name__contains | str | Filter results where name contains value | [optional] |
| name__icontains | str | Filter results where name contains value | [optional] |
| name__iexact | str | Filter results where name matches value | [optional] |
| name__in | List[str] | Filter results where name is in a comma-separated list of values | [optional] |
| name__iregex | str | Filter results where name matches regex value | [optional] |
| name__istartswith | str | Filter results where name starts with value | [optional] |
| name__regex | str | Filter results where name matches regex value | [optional] |
| name__startswith | str | Filter results where name starts with value | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| repository | str | [optional] | |
| repository__in | List[str] | [optional] | |
| with_content | str | Filter distributions based on the content served by them | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenDistributionResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list_roles
ObjectRolesResponse list_roles(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List roles
List roles assigned to this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List roles
api_response = api_instance.list_roles(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of DistributionsMavenApi->list_roles:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->list_roles: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
my_permissions
MyPermissionsResponse my_permissions(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List user permissions
List permissions available to the current user on this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List user permissions
api_response = api_instance.my_permissions(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of DistributionsMavenApi->my_permissions:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->my_permissions: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
partial_update
MavenMavenDistributionResponse partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
Update a maven distribution
Update the entity partially and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_distribution_response import MavenMavenDistributionResponse
from pulpcore.client.pulp_maven.models.patchedmaven_maven_distribution import PatchedmavenMavenDistribution
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
patchedmaven_maven_distribution = pulpcore.client.pulp_maven.PatchedmavenMavenDistribution() # PatchedmavenMavenDistribution |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven distribution
api_response = api_instance.partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->partial_update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| patchedmaven_maven_distribution | PatchedmavenMavenDistribution | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
MavenMavenDistributionResponse
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenDistributionResponse read(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven distribution
ViewSet for Maven Distributions.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_distribution_response import MavenMavenDistributionResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven distribution
api_response = api_instance.read(maven_maven_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of DistributionsMavenApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
MavenMavenDistributionResponse
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_role
NestedRoleResponse remove_role(maven_maven_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Remove a role
Remove a role for this object from users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Remove a role
api_response = api_instance.remove_role(maven_maven_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->remove_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->remove_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_distribution_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_distribution_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update
MavenMavenDistributionResponse update(maven_maven_distribution_href, maven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
Update a maven distribution
Update the entity and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_distribution import MavenMavenDistribution
from pulpcore.client.pulp_maven.models.maven_maven_distribution_response import MavenMavenDistributionResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.DistributionsMavenApi(api_client)
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # str |
maven_maven_distribution = pulpcore.client.pulp_maven.MavenMavenDistribution() # MavenMavenDistribution |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven distribution
api_response = api_instance.update(maven_maven_distribution_href, maven_maven_distribution, x_task_diagnostics=x_task_diagnostics)
print("The response of DistributionsMavenApi->update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling DistributionsMavenApi->update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_distribution_href | str | ||
| maven_maven_distribution | MavenMavenDistribution | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
MavenMavenDistributionResponse
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MavenMavenArtifactResponse
A Serializer for MavenArtifact.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| vuln_report | str | [optional] [readonly] | |
| artifact | str | Artifact file representing the physical content | [optional] |
| group_id | str | Group Id of the artifact's package. | [optional] [readonly] |
| artifact_id | str | Artifact Id of the artifact's package. | [optional] [readonly] |
| version | str | Version of the artifact's package. | [optional] [readonly] |
| filename | str | Filename of the artifact. | [optional] [readonly] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_artifact_response import MavenMavenArtifactResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenArtifactResponse from a JSON string
maven_maven_artifact_response_instance = MavenMavenArtifactResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenArtifactResponse.to_json())
# convert the object into a dict
maven_maven_artifact_response_dict = maven_maven_artifact_response_instance.to_dict()
# create an instance of MavenMavenArtifactResponse from a dict
maven_maven_artifact_response_from_dict = MavenMavenArtifactResponse.from_dict(maven_maven_artifact_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenDistribution
Serializer for Maven Distributions.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| base_path | str | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") | |
| content_guard | str | An optional content-guard. | [optional] |
| hidden | bool | Whether this distribution should be shown in the content app. | [optional] [default to False] |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| name | str | A unique name. Ex, `rawhide` and `stable`. | |
| repository | str | The latest RepositoryVersion for this Repository will be served. | [optional] |
| repository_version | str | RepositoryVersion to be served | [optional] |
| remote | str | Remote that can be used to fetch content when using pull-through caching. | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_distribution import MavenMavenDistribution
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenDistribution from a JSON string
maven_maven_distribution_instance = MavenMavenDistribution.from_json(json)
# print the JSON string representation of the object
print(MavenMavenDistribution.to_json())
# convert the object into a dict
maven_maven_distribution_dict = maven_maven_distribution_instance.to_dict()
# create an instance of MavenMavenDistribution from a dict
maven_maven_distribution_from_dict = MavenMavenDistribution.from_dict(maven_maven_distribution_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenDistributionResponse
Serializer for Maven Distributions.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| base_path | str | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") | |
| base_url | str | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] |
| content_guard | str | An optional content-guard. | [optional] |
| content_guard_prn | str | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional] [readonly] |
| no_content_change_since | str | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly] |
| hidden | bool | Whether this distribution should be shown in the content app. | [optional] [default to False] |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| name | str | A unique name. Ex, `rawhide` and `stable`. | |
| repository | str | The latest RepositoryVersion for this Repository will be served. | [optional] |
| repository_version | str | RepositoryVersion to be served | [optional] |
| remote | str | Remote that can be used to fetch content when using pull-through caching. | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_distribution_response import MavenMavenDistributionResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenDistributionResponse from a JSON string
maven_maven_distribution_response_instance = MavenMavenDistributionResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenDistributionResponse.to_json())
# convert the object into a dict
maven_maven_distribution_response_dict = maven_maven_distribution_response_instance.to_dict()
# create an instance of MavenMavenDistributionResponse from a dict
maven_maven_distribution_response_from_dict = MavenMavenDistributionResponse.from_dict(maven_maven_distribution_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenMetadataResponse
A Serializer for MavenMetadata.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| vuln_report | str | [optional] [readonly] | |
| artifact | str | Artifact file representing the physical content | [optional] |
| group_id | str | Group Id of the metadata's package. | [optional] [readonly] |
| artifact_id | str | Artifact Id of the metadata's package. | [optional] [readonly] |
| version | str | Version of the metadata's package. | [optional] [readonly] |
| filename | str | Filename of the metadata. | [optional] [readonly] |
| sha256 | str | SHA256 digest of the metadata. | [optional] [readonly] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_metadata_response import MavenMavenMetadataResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenMetadataResponse from a JSON string
maven_maven_metadata_response_instance = MavenMavenMetadataResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenMetadataResponse.to_json())
# convert the object into a dict
maven_maven_metadata_response_dict = maven_maven_metadata_response_instance.to_dict()
# create an instance of MavenMavenMetadataResponse from a dict
maven_maven_metadata_response_from_dict = MavenMavenMetadataResponse.from_dict(maven_maven_metadata_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenPackageResponse
A read-only Serializer for MavenPackage.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| pulp_labels | Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
| vuln_report | str | [optional] [readonly] | |
| group_id | str | Group Id of the package. | [optional] [readonly] |
| artifact_id | str | Artifact Id of the package. | [optional] [readonly] |
| version | str | Version of the package. | [optional] [readonly] |
| name | str | Human-readable name from the POM. | [optional] [readonly] |
| description | str | Description from the POM. | [optional] [readonly] |
| packaging | str | Packaging type (jar, war, pom, etc). | [optional] [readonly] |
| url | str | Project URL from the POM. | [optional] [readonly] |
| licenses | object | License information from the POM. | [optional] [readonly] |
| dependencies | object | Dependency list from the POM. | [optional] [readonly] |
| scm_url | str | Source control URL from the POM. | [optional] [readonly] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_package_response import MavenMavenPackageResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenPackageResponse from a JSON string
maven_maven_package_response_instance = MavenMavenPackageResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenPackageResponse.to_json())
# convert the object into a dict
maven_maven_package_response_dict = maven_maven_package_response_instance.to_dict()
# create an instance of MavenMavenPackageResponse from a dict
maven_maven_package_response_from_dict = MavenMavenPackageResponse.from_dict(maven_maven_package_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenRemote
A Serializer for MavenRemote. Add any new fields if defined on MavenRemote. Similar to the example above, in MavenArtifactSerializer. Additional validators can be added to the parent validators list For example:: class Meta: validators = platform.RemoteSerializer.Meta.validators + [myValidator1, myValidator2]
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | A unique name for this remote. | |
| url | str | The URL of an external content source. | |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| policy | PolicyEnum | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
| ca_cert | str | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
| client_cert | str | A PEM encoded client certificate used for authentication. | [optional] |
| client_key | str | A PEM encoded private key used for authentication. | [optional] |
| tls_validation | bool | If True, TLS peer validation must be performed. | [optional] |
| proxy_url | str | The proxy URL. Format: scheme://host:port | [optional] |
| proxy_username | str | The username to authenticte to the proxy. | [optional] |
| proxy_password | str | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| username | str | The username to be used for authentication when syncing. | [optional] |
| password | str | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| max_retries | int | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
| total_timeout | float | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| connect_timeout | float | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_connect_timeout | float | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_read_timeout | float | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| headers | List[object] | Headers for aiohttp.Clientsession | [optional] |
| download_concurrency | int | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
| rate_limit | int | Limits requests per second for each concurrent downloader | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_remote import MavenMavenRemote
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenRemote from a JSON string
maven_maven_remote_instance = MavenMavenRemote.from_json(json)
# print the JSON string representation of the object
print(MavenMavenRemote.to_json())
# convert the object into a dict
maven_maven_remote_dict = maven_maven_remote_instance.to_dict()
# create an instance of MavenMavenRemote from a dict
maven_maven_remote_from_dict = MavenMavenRemote.from_dict(maven_maven_remote_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenRemoteResponseHiddenFieldsInner
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | ||
| is_set | bool |
Example
from pulpcore.client.pulp_maven.models.maven_maven_remote_response_hidden_fields_inner import MavenMavenRemoteResponseHiddenFieldsInner
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenRemoteResponseHiddenFieldsInner from a JSON string
maven_maven_remote_response_hidden_fields_inner_instance = MavenMavenRemoteResponseHiddenFieldsInner.from_json(json)
# print the JSON string representation of the object
print(MavenMavenRemoteResponseHiddenFieldsInner.to_json())
# convert the object into a dict
maven_maven_remote_response_hidden_fields_inner_dict = maven_maven_remote_response_hidden_fields_inner_instance.to_dict()
# create an instance of MavenMavenRemoteResponseHiddenFieldsInner from a dict
maven_maven_remote_response_hidden_fields_inner_from_dict = MavenMavenRemoteResponseHiddenFieldsInner.from_dict(maven_maven_remote_response_hidden_fields_inner_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenRemoteResponse
A Serializer for MavenRemote. Add any new fields if defined on MavenRemote. Similar to the example above, in MavenArtifactSerializer. Additional validators can be added to the parent validators list For example:: class Meta: validators = platform.RemoteSerializer.Meta.validators + [myValidator1, myValidator2]
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| pulp_last_updated | datetime | Timestamp of the most recent update of the remote. | [optional] [readonly] |
| name | str | A unique name for this remote. | |
| url | str | The URL of an external content source. | |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| policy | PolicyEnum | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
| hidden_fields | List[MavenMavenRemoteResponseHiddenFieldsInner] | List of hidden (write only) fields | [optional] [readonly] |
| ca_cert | str | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
| client_cert | str | A PEM encoded client certificate used for authentication. | [optional] |
| tls_validation | bool | If True, TLS peer validation must be performed. | [optional] |
| proxy_url | str | The proxy URL. Format: scheme://host:port | [optional] |
| max_retries | int | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
| total_timeout | float | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| connect_timeout | float | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_connect_timeout | float | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_read_timeout | float | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| headers | List[object] | Headers for aiohttp.Clientsession | [optional] |
| download_concurrency | int | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
| rate_limit | int | Limits requests per second for each concurrent downloader | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenRemoteResponse from a JSON string
maven_maven_remote_response_instance = MavenMavenRemoteResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenRemoteResponse.to_json())
# convert the object into a dict
maven_maven_remote_response_dict = maven_maven_remote_response_instance.to_dict()
# create an instance of MavenMavenRemoteResponse from a dict
maven_maven_remote_response_from_dict = MavenMavenRemoteResponse.from_dict(maven_maven_remote_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenRepository
Serializer for Maven Repositories.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| name | str | A unique name for this repository. | |
| description | str | An optional description. | [optional] |
| retain_repo_versions | int | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
| retain_checkpoints | int | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
| remote | str | An optional remote to use by default when syncing. | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_repository import MavenMavenRepository
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenRepository from a JSON string
maven_maven_repository_instance = MavenMavenRepository.from_json(json)
# print the JSON string representation of the object
print(MavenMavenRepository.to_json())
# convert the object into a dict
maven_maven_repository_dict = maven_maven_repository_instance.to_dict()
# create an instance of MavenMavenRepository from a dict
maven_maven_repository_from_dict = MavenMavenRepository.from_dict(maven_maven_repository_dict)
[Back to Model list] [Back to API list] [Back to README]
MavenMavenRepositoryResponse
Serializer for Maven Repositories.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| versions_href | str | [optional] [readonly] | |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| latest_version_href | str | [optional] [readonly] | |
| name | str | A unique name for this repository. | |
| description | str | An optional description. | [optional] |
| retain_repo_versions | int | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
| retain_checkpoints | int | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
| remote | str | An optional remote to use by default when syncing. | [optional] |
Example
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MavenMavenRepositoryResponse from a JSON string
maven_maven_repository_response_instance = MavenMavenRepositoryResponse.from_json(json)
# print the JSON string representation of the object
print(MavenMavenRepositoryResponse.to_json())
# convert the object into a dict
maven_maven_repository_response_dict = maven_maven_repository_response_instance.to_dict()
# create an instance of MavenMavenRepositoryResponse from a dict
maven_maven_repository_response_from_dict = MavenMavenRepositoryResponse.from_dict(maven_maven_repository_response_dict)
[Back to Model list] [Back to API list] [Back to README]
MyPermissionsResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| permissions | List[str] |
Example
from pulpcore.client.pulp_maven.models.my_permissions_response import MyPermissionsResponse
# TODO update the JSON string below
json = "{}"
# create an instance of MyPermissionsResponse from a JSON string
my_permissions_response_instance = MyPermissionsResponse.from_json(json)
# print the JSON string representation of the object
print(MyPermissionsResponse.to_json())
# convert the object into a dict
my_permissions_response_dict = my_permissions_response_instance.to_dict()
# create an instance of MyPermissionsResponse from a dict
my_permissions_response_from_dict = MyPermissionsResponse.from_dict(my_permissions_response_dict)
[Back to Model list] [Back to API list] [Back to README]
NestedRole
Serializer to add/remove object roles to/from users/groups. This is used in conjunction with pulpcore.app.viewsets.base.RolesMixin and requires the underlying object to be passed as content_object in the context.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| users | List[str] | [optional] [default to []] | |
| groups | List[str] | [optional] [default to []] | |
| role | str |
Example
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
# TODO update the JSON string below
json = "{}"
# create an instance of NestedRole from a JSON string
nested_role_instance = NestedRole.from_json(json)
# print the JSON string representation of the object
print(NestedRole.to_json())
# convert the object into a dict
nested_role_dict = nested_role_instance.to_dict()
# create an instance of NestedRole from a dict
nested_role_from_dict = NestedRole.from_dict(nested_role_dict)
[Back to Model list] [Back to API list] [Back to README]
NestedRoleResponse
Serializer to add/remove object roles to/from users/groups. This is used in conjunction with pulpcore.app.viewsets.base.RolesMixin and requires the underlying object to be passed as content_object in the context.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| users | List[str] | [optional] [default to []] | |
| groups | List[str] | [optional] [default to []] | |
| role | str |
Example
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
# TODO update the JSON string below
json = "{}"
# create an instance of NestedRoleResponse from a JSON string
nested_role_response_instance = NestedRoleResponse.from_json(json)
# print the JSON string representation of the object
print(NestedRoleResponse.to_json())
# convert the object into a dict
nested_role_response_dict = nested_role_response_instance.to_dict()
# create an instance of NestedRoleResponse from a dict
nested_role_response_from_dict = NestedRoleResponse.from_dict(nested_role_response_dict)
[Back to Model list] [Back to API list] [Back to README]
ObjectRolesResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| roles | List[NestedRoleResponse] |
Example
from pulpcore.client.pulp_maven.models.object_roles_response import ObjectRolesResponse
# TODO update the JSON string below
json = "{}"
# create an instance of ObjectRolesResponse from a JSON string
object_roles_response_instance = ObjectRolesResponse.from_json(json)
# print the JSON string representation of the object
print(ObjectRolesResponse.to_json())
# convert the object into a dict
object_roles_response_dict = object_roles_response_instance.to_dict()
# create an instance of ObjectRolesResponse from a dict
object_roles_response_from_dict = ObjectRolesResponse.from_dict(object_roles_response_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenArtifactResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenArtifactResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_artifact_response_list import PaginatedmavenMavenArtifactResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenArtifactResponseList from a JSON string
paginatedmaven_maven_artifact_response_list_instance = PaginatedmavenMavenArtifactResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenArtifactResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_artifact_response_list_dict = paginatedmaven_maven_artifact_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenArtifactResponseList from a dict
paginatedmaven_maven_artifact_response_list_from_dict = PaginatedmavenMavenArtifactResponseList.from_dict(paginatedmaven_maven_artifact_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenDistributionResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenDistributionResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_distribution_response_list import PaginatedmavenMavenDistributionResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenDistributionResponseList from a JSON string
paginatedmaven_maven_distribution_response_list_instance = PaginatedmavenMavenDistributionResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenDistributionResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_distribution_response_list_dict = paginatedmaven_maven_distribution_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenDistributionResponseList from a dict
paginatedmaven_maven_distribution_response_list_from_dict = PaginatedmavenMavenDistributionResponseList.from_dict(paginatedmaven_maven_distribution_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenMetadataResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenMetadataResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_metadata_response_list import PaginatedmavenMavenMetadataResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenMetadataResponseList from a JSON string
paginatedmaven_maven_metadata_response_list_instance = PaginatedmavenMavenMetadataResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenMetadataResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_metadata_response_list_dict = paginatedmaven_maven_metadata_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenMetadataResponseList from a dict
paginatedmaven_maven_metadata_response_list_from_dict = PaginatedmavenMavenMetadataResponseList.from_dict(paginatedmaven_maven_metadata_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenPackageResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenPackageResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_package_response_list import PaginatedmavenMavenPackageResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenPackageResponseList from a JSON string
paginatedmaven_maven_package_response_list_instance = PaginatedmavenMavenPackageResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenPackageResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_package_response_list_dict = paginatedmaven_maven_package_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenPackageResponseList from a dict
paginatedmaven_maven_package_response_list_from_dict = PaginatedmavenMavenPackageResponseList.from_dict(paginatedmaven_maven_package_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenRemoteResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenRemoteResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_remote_response_list import PaginatedmavenMavenRemoteResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenRemoteResponseList from a JSON string
paginatedmaven_maven_remote_response_list_instance = PaginatedmavenMavenRemoteResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenRemoteResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_remote_response_list_dict = paginatedmaven_maven_remote_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenRemoteResponseList from a dict
paginatedmaven_maven_remote_response_list_from_dict = PaginatedmavenMavenRemoteResponseList.from_dict(paginatedmaven_maven_remote_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedmavenMavenRepositoryResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[MavenMavenRepositoryResponse] |
Example
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_repository_response_list import PaginatedmavenMavenRepositoryResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedmavenMavenRepositoryResponseList from a JSON string
paginatedmaven_maven_repository_response_list_instance = PaginatedmavenMavenRepositoryResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedmavenMavenRepositoryResponseList.to_json())
# convert the object into a dict
paginatedmaven_maven_repository_response_list_dict = paginatedmaven_maven_repository_response_list_instance.to_dict()
# create an instance of PaginatedmavenMavenRepositoryResponseList from a dict
paginatedmaven_maven_repository_response_list_from_dict = PaginatedmavenMavenRepositoryResponseList.from_dict(paginatedmaven_maven_repository_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PaginatedRepositoryVersionResponseList
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| count | int | ||
| next | str | [optional] | |
| previous | str | [optional] | |
| results | List[RepositoryVersionResponse] |
Example
from pulpcore.client.pulp_maven.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedRepositoryVersionResponseList from a JSON string
paginated_repository_version_response_list_instance = PaginatedRepositoryVersionResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedRepositoryVersionResponseList.to_json())
# convert the object into a dict
paginated_repository_version_response_list_dict = paginated_repository_version_response_list_instance.to_dict()
# create an instance of PaginatedRepositoryVersionResponseList from a dict
paginated_repository_version_response_list_from_dict = PaginatedRepositoryVersionResponseList.from_dict(paginated_repository_version_response_list_dict)
[Back to Model list] [Back to API list] [Back to README]
PatchedmavenMavenDistribution
Serializer for Maven Distributions.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| base_path | str | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. "foo" and "foo/bar") | [optional] |
| content_guard | str | An optional content-guard. | [optional] |
| hidden | bool | Whether this distribution should be shown in the content app. | [optional] [default to False] |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| name | str | A unique name. Ex, `rawhide` and `stable`. | [optional] |
| repository | str | The latest RepositoryVersion for this Repository will be served. | [optional] |
| repository_version | str | RepositoryVersion to be served | [optional] |
| remote | str | Remote that can be used to fetch content when using pull-through caching. | [optional] |
Example
from pulpcore.client.pulp_maven.models.patchedmaven_maven_distribution import PatchedmavenMavenDistribution
# TODO update the JSON string below
json = "{}"
# create an instance of PatchedmavenMavenDistribution from a JSON string
patchedmaven_maven_distribution_instance = PatchedmavenMavenDistribution.from_json(json)
# print the JSON string representation of the object
print(PatchedmavenMavenDistribution.to_json())
# convert the object into a dict
patchedmaven_maven_distribution_dict = patchedmaven_maven_distribution_instance.to_dict()
# create an instance of PatchedmavenMavenDistribution from a dict
patchedmaven_maven_distribution_from_dict = PatchedmavenMavenDistribution.from_dict(patchedmaven_maven_distribution_dict)
[Back to Model list] [Back to API list] [Back to README]
PatchedmavenMavenRemote
A Serializer for MavenRemote. Add any new fields if defined on MavenRemote. Similar to the example above, in MavenArtifactSerializer. Additional validators can be added to the parent validators list For example:: class Meta: validators = platform.RemoteSerializer.Meta.validators + [myValidator1, myValidator2]
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | A unique name for this remote. | [optional] |
| url | str | The URL of an external content source. | [optional] |
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| policy | PolicyEnum | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
| ca_cert | str | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
| client_cert | str | A PEM encoded client certificate used for authentication. | [optional] |
| client_key | str | A PEM encoded private key used for authentication. | [optional] |
| tls_validation | bool | If True, TLS peer validation must be performed. | [optional] |
| proxy_url | str | The proxy URL. Format: scheme://host:port | [optional] |
| proxy_username | str | The username to authenticte to the proxy. | [optional] |
| proxy_password | str | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| username | str | The username to be used for authentication when syncing. | [optional] |
| password | str | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| max_retries | int | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
| total_timeout | float | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| connect_timeout | float | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_connect_timeout | float | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_read_timeout | float | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| headers | List[object] | Headers for aiohttp.Clientsession | [optional] |
| download_concurrency | int | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
| rate_limit | int | Limits requests per second for each concurrent downloader | [optional] |
Example
from pulpcore.client.pulp_maven.models.patchedmaven_maven_remote import PatchedmavenMavenRemote
# TODO update the JSON string below
json = "{}"
# create an instance of PatchedmavenMavenRemote from a JSON string
patchedmaven_maven_remote_instance = PatchedmavenMavenRemote.from_json(json)
# print the JSON string representation of the object
print(PatchedmavenMavenRemote.to_json())
# convert the object into a dict
patchedmaven_maven_remote_dict = patchedmaven_maven_remote_instance.to_dict()
# create an instance of PatchedmavenMavenRemote from a dict
patchedmaven_maven_remote_from_dict = PatchedmavenMavenRemote.from_dict(patchedmaven_maven_remote_dict)
[Back to Model list] [Back to API list] [Back to README]
PatchedmavenMavenRepository
Serializer for Maven Repositories.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_labels | Dict[str, Optional[str]] | [optional] | |
| name | str | A unique name for this repository. | [optional] |
| description | str | An optional description. | [optional] |
| retain_repo_versions | int | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
| retain_checkpoints | int | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
| remote | str | An optional remote to use by default when syncing. | [optional] |
Example
from pulpcore.client.pulp_maven.models.patchedmaven_maven_repository import PatchedmavenMavenRepository
# TODO update the JSON string below
json = "{}"
# create an instance of PatchedmavenMavenRepository from a JSON string
patchedmaven_maven_repository_instance = PatchedmavenMavenRepository.from_json(json)
# print the JSON string representation of the object
print(PatchedmavenMavenRepository.to_json())
# convert the object into a dict
patchedmaven_maven_repository_dict = patchedmaven_maven_repository_instance.to_dict()
# create an instance of PatchedmavenMavenRepository from a dict
patchedmaven_maven_repository_from_dict = PatchedmavenMavenRepository.from_dict(patchedmaven_maven_repository_dict)
[Back to Model list] [Back to API list] [Back to README]
PolicyEnum
immediate- When syncing, download all metadata and content now.
Enum
IMMEDIATE(value:'immediate')
[Back to Model list] [Back to API list] [Back to README]
RemoteNetworkConfig
Shared network configuration fields and validation logic used by both RemoteSerializer and UploadSerializerFieldsMixin.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ca_cert | str | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
| client_cert | str | A PEM encoded client certificate used for authentication. | [optional] |
| client_key | str | A PEM encoded private key used for authentication. | [optional] |
| tls_validation | bool | If True, TLS peer validation must be performed. | [optional] |
| proxy_url | str | The proxy URL. Format: scheme://host:port | [optional] |
| proxy_username | str | The username to authenticte to the proxy. | [optional] |
| proxy_password | str | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| username | str | The username to be used for authentication when syncing. | [optional] |
| password | str | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
| max_retries | int | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
| total_timeout | float | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| connect_timeout | float | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_connect_timeout | float | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_read_timeout | float | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| headers | List[object] | Headers for aiohttp.Clientsession | [optional] |
| download_concurrency | int | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
| rate_limit | int | Limits requests per second for each concurrent downloader | [optional] |
Example
from pulpcore.client.pulp_maven.models.remote_network_config import RemoteNetworkConfig
# TODO update the JSON string below
json = "{}"
# create an instance of RemoteNetworkConfig from a JSON string
remote_network_config_instance = RemoteNetworkConfig.from_json(json)
# print the JSON string representation of the object
print(RemoteNetworkConfig.to_json())
# convert the object into a dict
remote_network_config_dict = remote_network_config_instance.to_dict()
# create an instance of RemoteNetworkConfig from a dict
remote_network_config_from_dict = RemoteNetworkConfig.from_dict(remote_network_config_dict)
[Back to Model list] [Back to API list] [Back to README]
RemoteNetworkConfigResponse
Shared network configuration fields and validation logic used by both RemoteSerializer and UploadSerializerFieldsMixin.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ca_cert | str | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
| client_cert | str | A PEM encoded client certificate used for authentication. | [optional] |
| tls_validation | bool | If True, TLS peer validation must be performed. | [optional] |
| proxy_url | str | The proxy URL. Format: scheme://host:port | [optional] |
| max_retries | int | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
| total_timeout | float | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| connect_timeout | float | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_connect_timeout | float | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| sock_read_timeout | float | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
| headers | List[object] | Headers for aiohttp.Clientsession | [optional] |
| download_concurrency | int | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
| rate_limit | int | Limits requests per second for each concurrent downloader | [optional] |
Example
from pulpcore.client.pulp_maven.models.remote_network_config_response import RemoteNetworkConfigResponse
# TODO update the JSON string below
json = "{}"
# create an instance of RemoteNetworkConfigResponse from a JSON string
remote_network_config_response_instance = RemoteNetworkConfigResponse.from_json(json)
# print the JSON string representation of the object
print(RemoteNetworkConfigResponse.to_json())
# convert the object into a dict
remote_network_config_response_dict = remote_network_config_response_instance.to_dict()
# create an instance of RemoteNetworkConfigResponse from a dict
remote_network_config_response_from_dict = RemoteNetworkConfigResponse.from_dict(remote_network_config_response_dict)
[Back to Model list] [Back to API list] [Back to README]
pulpcore.client.pulp_maven.RemotesMavenApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| add_role | POST {maven_maven_remote_href}add_role/ | Add a role |
| create | POST /api/pulp/{pulp_domain}/api/v3/remotes/maven/maven/ | Create a maven remote |
| delete | DELETE {maven_maven_remote_href} | Delete a maven remote |
| list | GET /api/pulp/{pulp_domain}/api/v3/remotes/maven/maven/ | List maven remotes |
| list_roles | GET {maven_maven_remote_href}list_roles/ | List roles |
| my_permissions | GET {maven_maven_remote_href}my_permissions/ | List user permissions |
| partial_update | PATCH {maven_maven_remote_href} | Update a maven remote |
| read | GET {maven_maven_remote_href} | Inspect a maven remote |
| remove_role | POST {maven_maven_remote_href}remove_role/ | Remove a role |
| set_label | POST {maven_maven_remote_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_remote_href}unset_label/ | Unset a label |
| update | PUT {maven_maven_remote_href} | Update a maven remote |
add_role
NestedRoleResponse add_role(maven_maven_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Add a role
Add a role for this object to users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Add a role
api_response = api_instance.add_role(maven_maven_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->add_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->add_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create
MavenMavenRemoteResponse create(pulp_domain, maven_maven_remote, x_task_diagnostics=x_task_diagnostics)
Create a maven remote
A ViewSet for MavenRemote.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_remote import MavenMavenRemote
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
maven_maven_remote = pulpcore.client.pulp_maven.MavenMavenRemote() # MavenMavenRemote |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Create a maven remote
api_response = api_instance.create(pulp_domain, maven_maven_remote, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->create: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| maven_maven_remote | MavenMavenRemote | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete
AsyncOperationResponse delete(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics)
Delete a maven remote
Trigger an asynchronous delete task
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Delete a maven remote
api_response = api_instance.delete(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->delete: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedmavenMavenRemoteResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, pulp_last_updated=pulp_last_updated, pulp_last_updated__gt=pulp_last_updated__gt, pulp_last_updated__gte=pulp_last_updated__gte, pulp_last_updated__isnull=pulp_last_updated__isnull, pulp_last_updated__lt=pulp_last_updated__lt, pulp_last_updated__lte=pulp_last_updated__lte, pulp_last_updated__range=pulp_last_updated__range, q=q, fields=fields, exclude_fields=exclude_fields)
List maven remotes
A ViewSet for MavenRemote.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_remote_response_list import PaginatedmavenMavenRemoteResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
limit = 56 # int | Number of results to return per page. (optional)
name = 'name_example' # str | Filter results where name matches value (optional)
name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)
name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)
name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)
name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)
name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)
name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
pulp_last_updated = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated matches value (optional)
pulp_last_updated__gt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is greater than value (optional)
pulp_last_updated__gte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is greater than or equal to value (optional)
pulp_last_updated__isnull = True # bool | Filter results where pulp_last_updated has a null value (optional)
pulp_last_updated__lt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is less than value (optional)
pulp_last_updated__lte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is less than or equal to value (optional)
pulp_last_updated__range = ['2013-10-20T19:20:30+01:00'] # List[datetime] | Filter results where pulp_last_updated is between two comma separated values (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven remotes
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, pulp_last_updated=pulp_last_updated, pulp_last_updated__gt=pulp_last_updated__gt, pulp_last_updated__gte=pulp_last_updated__gte, pulp_last_updated__isnull=pulp_last_updated__isnull, pulp_last_updated__lt=pulp_last_updated__lt, pulp_last_updated__lte=pulp_last_updated__lte, pulp_last_updated__range=pulp_last_updated__range, q=q, fields=fields, exclude_fields=exclude_fields)
print("The response of RemotesMavenApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| name | str | Filter results where name matches value | [optional] |
| name__contains | str | Filter results where name contains value | [optional] |
| name__icontains | str | Filter results where name contains value | [optional] |
| name__iexact | str | Filter results where name matches value | [optional] |
| name__in | List[str] | Filter results where name is in a comma-separated list of values | [optional] |
| name__iregex | str | Filter results where name matches regex value | [optional] |
| name__istartswith | str | Filter results where name starts with value | [optional] |
| name__regex | str | Filter results where name matches regex value | [optional] |
| name__startswith | str | Filter results where name starts with value | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| pulp_last_updated | datetime | Filter results where pulp_last_updated matches value | [optional] |
| pulp_last_updated__gt | datetime | Filter results where pulp_last_updated is greater than value | [optional] |
| pulp_last_updated__gte | datetime | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
| pulp_last_updated__isnull | bool | Filter results where pulp_last_updated has a null value | [optional] |
| pulp_last_updated__lt | datetime | Filter results where pulp_last_updated is less than value | [optional] |
| pulp_last_updated__lte | datetime | Filter results where pulp_last_updated is less than or equal to value | [optional] |
| pulp_last_updated__range | List[datetime] | Filter results where pulp_last_updated is between two comma separated values | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenRemoteResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list_roles
ObjectRolesResponse list_roles(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List roles
List roles assigned to this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List roles
api_response = api_instance.list_roles(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RemotesMavenApi->list_roles:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->list_roles: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
my_permissions
MyPermissionsResponse my_permissions(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List user permissions
List permissions available to the current user on this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List user permissions
api_response = api_instance.my_permissions(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RemotesMavenApi->my_permissions:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->my_permissions: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
partial_update
MavenMavenRemoteResponse partial_update(maven_maven_remote_href, patchedmaven_maven_remote, x_task_diagnostics=x_task_diagnostics)
Update a maven remote
Update the entity partially and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
from pulpcore.client.pulp_maven.models.patchedmaven_maven_remote import PatchedmavenMavenRemote
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
patchedmaven_maven_remote = pulpcore.client.pulp_maven.PatchedmavenMavenRemote() # PatchedmavenMavenRemote |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven remote
api_response = api_instance.partial_update(maven_maven_remote_href, patchedmaven_maven_remote, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->partial_update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| patchedmaven_maven_remote | PatchedmavenMavenRemote | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenRemoteResponse read(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven remote
A ViewSet for MavenRemote.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven remote
api_response = api_instance.read(maven_maven_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RemotesMavenApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_role
NestedRoleResponse remove_role(maven_maven_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Remove a role
Remove a role for this object from users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Remove a role
api_response = api_instance.remove_role(maven_maven_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->remove_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->remove_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_remote_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_remote_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update
MavenMavenRemoteResponse update(maven_maven_remote_href, maven_maven_remote, x_task_diagnostics=x_task_diagnostics)
Update a maven remote
Update the entity and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_remote import MavenMavenRemote
from pulpcore.client.pulp_maven.models.maven_maven_remote_response import MavenMavenRemoteResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RemotesMavenApi(api_client)
maven_maven_remote_href = 'maven_maven_remote_href_example' # str |
maven_maven_remote = pulpcore.client.pulp_maven.MavenMavenRemote() # MavenMavenRemote |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven remote
api_response = api_instance.update(maven_maven_remote_href, maven_maven_remote, x_task_diagnostics=x_task_diagnostics)
print("The response of RemotesMavenApi->update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RemotesMavenApi->update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_remote_href | str | ||
| maven_maven_remote | MavenMavenRemote | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Repair
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| verify_checksums | bool | Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default | [optional] [default to True] |
Example
from pulpcore.client.pulp_maven.models.repair import Repair
# TODO update the JSON string below
json = "{}"
# create an instance of Repair from a JSON string
repair_instance = Repair.from_json(json)
# print the JSON string representation of the object
print(Repair.to_json())
# convert the object into a dict
repair_dict = repair_instance.to_dict()
# create an instance of Repair from a dict
repair_from_dict = Repair.from_dict(repair_dict)
[Back to Model list] [Back to API list] [Back to README]
pulpcore.client.pulp_maven.RepositoriesMavenApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| add_cached_content | POST {maven_maven_repository_href}add_cached_content/ | Add cached content |
| add_role | POST {maven_maven_repository_href}add_role/ | Add a role |
| create | POST /api/pulp/{pulp_domain}/api/v3/repositories/maven/maven/ | Create a maven repository |
| delete | DELETE {maven_maven_repository_href} | Delete a maven repository |
| list | GET /api/pulp/{pulp_domain}/api/v3/repositories/maven/maven/ | List maven repositorys |
| list_roles | GET {maven_maven_repository_href}list_roles/ | List roles |
| modify | POST {maven_maven_repository_href}modify/ | Modify Repository Content |
| my_permissions | GET {maven_maven_repository_href}my_permissions/ | List user permissions |
| partial_update | PATCH {maven_maven_repository_href} | Update a maven repository |
| read | GET {maven_maven_repository_href} | Inspect a maven repository |
| remove_role | POST {maven_maven_repository_href}remove_role/ | Remove a role |
| repair_metadata | POST {maven_maven_repository_href}repair_metadata/ | Repair metadata |
| set_label | POST {maven_maven_repository_href}set_label/ | Set a label |
| unset_label | POST {maven_maven_repository_href}unset_label/ | Unset a label |
| update | PUT {maven_maven_repository_href} | Update a maven repository |
add_cached_content
AsyncOperationResponse add_cached_content(maven_maven_repository_href, repository_add_cached_content, x_task_diagnostics=x_task_diagnostics)
Add cached content
Trigger an asynchronous task to add cached content to a repository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.models.repository_add_cached_content import RepositoryAddCachedContent
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
repository_add_cached_content = pulpcore.client.pulp_maven.RepositoryAddCachedContent() # RepositoryAddCachedContent |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Add cached content
api_response = api_instance.add_cached_content(maven_maven_repository_href, repository_add_cached_content, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->add_cached_content:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->add_cached_content: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| repository_add_cached_content | RepositoryAddCachedContent | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
add_role
NestedRoleResponse add_role(maven_maven_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Add a role
Add a role for this object to users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Add a role
api_response = api_instance.add_role(maven_maven_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->add_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->add_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create
MavenMavenRepositoryResponse create(pulp_domain, maven_maven_repository, x_task_diagnostics=x_task_diagnostics)
Create a maven repository
A ViewSet for MavenRepository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_repository import MavenMavenRepository
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
maven_maven_repository = pulpcore.client.pulp_maven.MavenMavenRepository() # MavenMavenRepository |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Create a maven repository
api_response = api_instance.create(pulp_domain, maven_maven_repository, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->create: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| maven_maven_repository | MavenMavenRepository | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete
AsyncOperationResponse delete(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics)
Delete a maven repository
Trigger an asynchronous delete task
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Delete a maven repository
api_response = api_instance.delete(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->delete: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedmavenMavenRepositoryResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, latest_with_content=latest_with_content, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, remote=remote, retain_checkpoints=retain_checkpoints, retain_checkpoints__gt=retain_checkpoints__gt, retain_checkpoints__gte=retain_checkpoints__gte, retain_checkpoints__isnull=retain_checkpoints__isnull, retain_checkpoints__lt=retain_checkpoints__lt, retain_checkpoints__lte=retain_checkpoints__lte, retain_checkpoints__ne=retain_checkpoints__ne, retain_checkpoints__range=retain_checkpoints__range, retain_repo_versions=retain_repo_versions, retain_repo_versions__gt=retain_repo_versions__gt, retain_repo_versions__gte=retain_repo_versions__gte, retain_repo_versions__isnull=retain_repo_versions__isnull, retain_repo_versions__lt=retain_repo_versions__lt, retain_repo_versions__lte=retain_repo_versions__lte, retain_repo_versions__ne=retain_repo_versions__ne, retain_repo_versions__range=retain_repo_versions__range, with_content=with_content, fields=fields, exclude_fields=exclude_fields)
List maven repositorys
A ViewSet for MavenRepository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginatedmaven_maven_repository_response_list import PaginatedmavenMavenRepositoryResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
pulp_domain = 'pulp_domain_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
latest_with_content = 'latest_with_content_example' # str | Content Unit referenced by HREF/PRN (optional)
limit = 56 # int | Number of results to return per page. (optional)
name = 'name_example' # str | Filter results where name matches value (optional)
name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)
name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)
name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)
name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)
name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)
name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)
name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)
name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
remote = 'remote_example' # str | (optional)
retain_checkpoints = 56 # int | Filter results where retain_checkpoints matches value (optional)
retain_checkpoints__gt = 56 # int | Filter results where retain_checkpoints is greater than value (optional)
retain_checkpoints__gte = 56 # int | Filter results where retain_checkpoints is greater than or equal to value (optional)
retain_checkpoints__isnull = True # bool | Filter results where retain_checkpoints has a null value (optional)
retain_checkpoints__lt = 56 # int | Filter results where retain_checkpoints is less than value (optional)
retain_checkpoints__lte = 56 # int | Filter results where retain_checkpoints is less than or equal to value (optional)
retain_checkpoints__ne = 56 # int | Filter results where retain_checkpoints not equal to value (optional)
retain_checkpoints__range = [56] # List[int] | Filter results where retain_checkpoints is between two comma separated values (optional)
retain_repo_versions = 56 # int | Filter results where retain_repo_versions matches value (optional)
retain_repo_versions__gt = 56 # int | Filter results where retain_repo_versions is greater than value (optional)
retain_repo_versions__gte = 56 # int | Filter results where retain_repo_versions is greater than or equal to value (optional)
retain_repo_versions__isnull = True # bool | Filter results where retain_repo_versions has a null value (optional)
retain_repo_versions__lt = 56 # int | Filter results where retain_repo_versions is less than value (optional)
retain_repo_versions__lte = 56 # int | Filter results where retain_repo_versions is less than or equal to value (optional)
retain_repo_versions__ne = 56 # int | Filter results where retain_repo_versions not equal to value (optional)
retain_repo_versions__range = [56] # List[int] | Filter results where retain_repo_versions is between two comma separated values (optional)
with_content = 'with_content_example' # str | Content Unit referenced by HREF/PRN (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List maven repositorys
api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, latest_with_content=latest_with_content, limit=limit, name=name, name__contains=name__contains, name__icontains=name__icontains, name__iexact=name__iexact, name__in=name__in, name__iregex=name__iregex, name__istartswith=name__istartswith, name__regex=name__regex, name__startswith=name__startswith, offset=offset, ordering=ordering, prn__in=prn__in, pulp_href__in=pulp_href__in, pulp_id__in=pulp_id__in, pulp_label_select=pulp_label_select, q=q, remote=remote, retain_checkpoints=retain_checkpoints, retain_checkpoints__gt=retain_checkpoints__gt, retain_checkpoints__gte=retain_checkpoints__gte, retain_checkpoints__isnull=retain_checkpoints__isnull, retain_checkpoints__lt=retain_checkpoints__lt, retain_checkpoints__lte=retain_checkpoints__lte, retain_checkpoints__ne=retain_checkpoints__ne, retain_checkpoints__range=retain_checkpoints__range, retain_repo_versions=retain_repo_versions, retain_repo_versions__gt=retain_repo_versions__gt, retain_repo_versions__gte=retain_repo_versions__gte, retain_repo_versions__isnull=retain_repo_versions__isnull, retain_repo_versions__lt=retain_repo_versions__lt, retain_repo_versions__lte=retain_repo_versions__lte, retain_repo_versions__ne=retain_repo_versions__ne, retain_repo_versions__range=retain_repo_versions__range, with_content=with_content, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_domain | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| latest_with_content | str | Content Unit referenced by HREF/PRN | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| name | str | Filter results where name matches value | [optional] |
| name__contains | str | Filter results where name contains value | [optional] |
| name__icontains | str | Filter results where name contains value | [optional] |
| name__iexact | str | Filter results where name matches value | [optional] |
| name__in | List[str] | Filter results where name is in a comma-separated list of values | [optional] |
| name__iregex | str | Filter results where name matches regex value | [optional] |
| name__istartswith | str | Filter results where name starts with value | [optional] |
| name__regex | str | Filter results where name matches regex value | [optional] |
| name__startswith | str | Filter results where name starts with value | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_id__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_label_select | str | Filter labels by search string | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| remote | str | [optional] | |
| retain_checkpoints | int | Filter results where retain_checkpoints matches value | [optional] |
| retain_checkpoints__gt | int | Filter results where retain_checkpoints is greater than value | [optional] |
| retain_checkpoints__gte | int | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
| retain_checkpoints__isnull | bool | Filter results where retain_checkpoints has a null value | [optional] |
| retain_checkpoints__lt | int | Filter results where retain_checkpoints is less than value | [optional] |
| retain_checkpoints__lte | int | Filter results where retain_checkpoints is less than or equal to value | [optional] |
| retain_checkpoints__ne | int | Filter results where retain_checkpoints not equal to value | [optional] |
| retain_checkpoints__range | List[int] | Filter results where retain_checkpoints is between two comma separated values | [optional] |
| retain_repo_versions | int | Filter results where retain_repo_versions matches value | [optional] |
| retain_repo_versions__gt | int | Filter results where retain_repo_versions is greater than value | [optional] |
| retain_repo_versions__gte | int | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
| retain_repo_versions__isnull | bool | Filter results where retain_repo_versions has a null value | [optional] |
| retain_repo_versions__lt | int | Filter results where retain_repo_versions is less than value | [optional] |
| retain_repo_versions__lte | int | Filter results where retain_repo_versions is less than or equal to value | [optional] |
| retain_repo_versions__ne | int | Filter results where retain_repo_versions not equal to value | [optional] |
| retain_repo_versions__range | List[int] | Filter results where retain_repo_versions is between two comma separated values | [optional] |
| with_content | str | Content Unit referenced by HREF/PRN | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedmavenMavenRepositoryResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list_roles
ObjectRolesResponse list_roles(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List roles
List roles assigned to this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List roles
api_response = api_instance.list_roles(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenApi->list_roles:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->list_roles: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
modify
AsyncOperationResponse modify(maven_maven_repository_href, repository_add_remove_content, x_task_diagnostics=x_task_diagnostics)
Modify Repository Content
Trigger an asynchronous task to create a new repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.models.repository_add_remove_content import RepositoryAddRemoveContent
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
repository_add_remove_content = pulpcore.client.pulp_maven.RepositoryAddRemoveContent() # RepositoryAddRemoveContent |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Modify Repository Content
api_response = api_instance.modify(maven_maven_repository_href, repository_add_remove_content, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->modify:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->modify: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| repository_add_remove_content | RepositoryAddRemoveContent | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
my_permissions
MyPermissionsResponse my_permissions(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
List user permissions
List permissions available to the current user on this object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List user permissions
api_response = api_instance.my_permissions(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenApi->my_permissions:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->my_permissions: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
partial_update
MavenMavenRepositoryResponse partial_update(maven_maven_repository_href, patchedmaven_maven_repository, x_task_diagnostics=x_task_diagnostics)
Update a maven repository
Update the entity partially and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
from pulpcore.client.pulp_maven.models.patchedmaven_maven_repository import PatchedmavenMavenRepository
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
patchedmaven_maven_repository = pulpcore.client.pulp_maven.PatchedmavenMavenRepository() # PatchedmavenMavenRepository |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven repository
api_response = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->partial_update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| patchedmaven_maven_repository | PatchedmavenMavenRepository | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
MavenMavenRepositoryResponse read(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a maven repository
A ViewSet for MavenRepository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a maven repository
api_response = api_instance.read(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
remove_role
NestedRoleResponse remove_role(maven_maven_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
Remove a role
Remove a role for this object from users/groups.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.nested_role import NestedRole
from pulpcore.client.pulp_maven.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
nested_role = pulpcore.client.pulp_maven.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Remove a role
api_response = api_instance.remove_role(maven_maven_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->remove_role:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->remove_role: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| nested_role | NestedRole | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repair_metadata
AsyncOperationResponse repair_metadata(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics)
Repair metadata
Trigger an asynchronous task to regenerate all maven-metadata.xml files and their checksums for every artifact in the repository.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Repair metadata
api_response = api_instance.repair_metadata(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->repair_metadata:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->repair_metadata: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_label
SetLabelResponse set_label(maven_maven_repository_href, set_label, x_task_diagnostics=x_task_diagnostics)
Set a label
Set a single pulp_label on the object to a specific value or null.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.set_label import SetLabel
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
set_label = pulpcore.client.pulp_maven.SetLabel() # SetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Set a label
api_response = api_instance.set_label(maven_maven_repository_href, set_label, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->set_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->set_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| set_label | SetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
unset_label
UnsetLabelResponse unset_label(maven_maven_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)
Unset a label
Unset a single pulp_label on the object.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
unset_label = pulpcore.client.pulp_maven.UnsetLabel() # UnsetLabel |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Unset a label
api_response = api_instance.unset_label(maven_maven_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->unset_label:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->unset_label: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| unset_label | UnsetLabel | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 201 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
update
MavenMavenRepositoryResponse update(maven_maven_repository_href, maven_maven_repository, x_task_diagnostics=x_task_diagnostics)
Update a maven repository
Update the entity and trigger an asynchronous task if necessary
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.maven_maven_repository import MavenMavenRepository
from pulpcore.client.pulp_maven.models.maven_maven_repository_response import MavenMavenRepositoryResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
maven_maven_repository = pulpcore.client.pulp_maven.MavenMavenRepository() # MavenMavenRepository |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Update a maven repository
api_response = api_instance.update(maven_maven_repository_href, maven_maven_repository, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenApi->update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenApi->update: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| maven_maven_repository | MavenMavenRepository | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
pulpcore.client.pulp_maven.RepositoriesMavenVersionsApi
All URIs are relative to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
| Method | HTTP request | Description |
|---|---|---|
| delete | DELETE {maven_maven_repository_version_href} | Delete a repository version |
| list | GET {maven_maven_repository_href}versions/ | List repository versions |
| read | GET {maven_maven_repository_version_href} | Inspect a repository version |
| repair | POST {maven_maven_repository_version_href}repair/ |
delete
AsyncOperationResponse delete(maven_maven_repository_version_href, x_task_diagnostics=x_task_diagnostics)
Delete a repository version
Trigger an asynchronous task to delete a repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenVersionsApi(api_client)
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Delete a repository version
api_response = api_instance.delete(maven_maven_repository_version_href, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenVersionsApi->delete:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenVersionsApi->delete: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_version_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list
PaginatedRepositoryVersionResponseList list(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, content=content, content__in=content__in, limit=limit, number=number, number__gt=number__gt, number__gte=number__gte, number__lt=number__lt, number__lte=number__lte, number__range=number__range, offset=offset, ordering=ordering, prn__in=prn__in, pulp_created=pulp_created, pulp_created__gt=pulp_created__gt, pulp_created__gte=pulp_created__gte, pulp_created__isnull=pulp_created__isnull, pulp_created__lt=pulp_created__lt, pulp_created__lte=pulp_created__lte, pulp_created__range=pulp_created__range, pulp_href__in=pulp_href__in, q=q, fields=fields, exclude_fields=exclude_fields)
List repository versions
MavenRepositoryVersion represents a single Maven repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenVersionsApi(api_client)
maven_maven_repository_href = 'maven_maven_repository_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
content = 'content_example' # str | Content Unit referenced by HREF/PRN (optional)
content__in = ['content__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
limit = 56 # int | Number of results to return per page. (optional)
number = 56 # int | Filter results where number matches value (optional)
number__gt = 56 # int | Filter results where number is greater than value (optional)
number__gte = 56 # int | Filter results where number is greater than or equal to value (optional)
number__lt = 56 # int | Filter results where number is less than value (optional)
number__lte = 56 # int | Filter results where number is less than or equal to value (optional)
number__range = [56] # List[int] | Filter results where number is between two comma separated values (optional)
offset = 56 # int | The initial index from which to return the results. (optional)
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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)
prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
pulp_created = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created matches value (optional)
pulp_created__gt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than value (optional)
pulp_created__gte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than or equal to value (optional)
pulp_created__isnull = True # bool | Filter results where pulp_created has a null value (optional)
pulp_created__lt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than value (optional)
pulp_created__lte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than or equal to value (optional)
pulp_created__range = ['2013-10-20T19:20:30+01:00'] # List[datetime] | Filter results where pulp_created is between two comma separated values (optional)
pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)
q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# List repository versions
api_response = api_instance.list(maven_maven_repository_href, x_task_diagnostics=x_task_diagnostics, content=content, content__in=content__in, limit=limit, number=number, number__gt=number__gt, number__gte=number__gte, number__lt=number__lt, number__lte=number__lte, number__range=number__range, offset=offset, ordering=ordering, prn__in=prn__in, pulp_created=pulp_created, pulp_created__gt=pulp_created__gt, pulp_created__gte=pulp_created__gte, pulp_created__isnull=pulp_created__isnull, pulp_created__lt=pulp_created__lt, pulp_created__lte=pulp_created__lte, pulp_created__range=pulp_created__range, pulp_href__in=pulp_href__in, q=q, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenVersionsApi->list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenVersionsApi->list: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| content | str | Content Unit referenced by HREF/PRN | [optional] |
| content__in | List[str] | Multiple values may be separated by commas. | [optional] |
| limit | int | Number of results to return per page. | [optional] |
| number | int | Filter results where number matches value | [optional] |
| number__gt | int | Filter results where number is greater than value | [optional] |
| number__gte | int | Filter results where number is greater than or equal to value | [optional] |
| number__lt | int | Filter results where number is less than value | [optional] |
| number__lte | int | Filter results where number is less than or equal to value | [optional] |
| number__range | List[int] | Filter results where number is between two comma separated values | [optional] |
| offset | int | The initial index from which to return the results. | [optional] |
| ordering | 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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
| prn__in | List[str] | Multiple values may be separated by commas. | [optional] |
| pulp_created | datetime | Filter results where pulp_created matches value | [optional] |
| pulp_created__gt | datetime | Filter results where pulp_created is greater than value | [optional] |
| pulp_created__gte | datetime | Filter results where pulp_created is greater than or equal to value | [optional] |
| pulp_created__isnull | bool | Filter results where pulp_created has a null value | [optional] |
| pulp_created__lt | datetime | Filter results where pulp_created is less than value | [optional] |
| pulp_created__lte | datetime | Filter results where pulp_created is less than or equal to value | [optional] |
| pulp_created__range | List[datetime] | Filter results where pulp_created is between two comma separated values | [optional] |
| pulp_href__in | List[str] | Multiple values may be separated by commas. | [optional] |
| q | str | Filter results by using NOT, AND and OR operations on other filters | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
PaginatedRepositoryVersionResponseList
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
read
RepositoryVersionResponse read(maven_maven_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
Inspect a repository version
MavenRepositoryVersion represents a single Maven repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.repository_version_response import RepositoryVersionResponse
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenVersionsApi(api_client)
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # str |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
try:
# Inspect a repository version
api_response = api_instance.read(maven_maven_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
print("The response of RepositoriesMavenVersionsApi->read:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenVersionsApi->read: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_version_href | str | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
| fields | List[str] | A list of fields to include in the response. | [optional] |
| exclude_fields | List[str] | A list of fields to exclude from the response. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repair
AsyncOperationResponse repair(maven_maven_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)
Trigger an asynchronous task to repair a repository version.
Example
- Basic Authentication (basicAuth):
- Api Key Authentication (cookieAuth):
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_maven.models.repair import Repair
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "https://env-ephemeral-gmfnba.apps.crc-eph.r9lp.p1.openshiftapps.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.RepositoriesMavenVersionsApi(api_client)
maven_maven_repository_version_href = 'maven_maven_repository_version_href_example' # str |
repair = pulpcore.client.pulp_maven.Repair() # Repair |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
api_response = api_instance.repair(maven_maven_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)
print("The response of RepositoriesMavenVersionsApi->repair:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling RepositoriesMavenVersionsApi->repair: %s\n" % e)
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| maven_maven_repository_version_href | str | ||
| repair | Repair | ||
| x_task_diagnostics | List[str] | List of profilers to use on tasks. | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json, application/x-www-form-urlencoded, multipart/form-data
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 202 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RepositoryAddCachedContent
A mixin for validating unknown serializers' fields.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| remote | str | A remote to use to identify content that was cached. This will override a remote set on repository. | [optional] |
Example
from pulpcore.client.pulp_maven.models.repository_add_cached_content import RepositoryAddCachedContent
# TODO update the JSON string below
json = "{}"
# create an instance of RepositoryAddCachedContent from a JSON string
repository_add_cached_content_instance = RepositoryAddCachedContent.from_json(json)
# print the JSON string representation of the object
print(RepositoryAddCachedContent.to_json())
# convert the object into a dict
repository_add_cached_content_dict = repository_add_cached_content_instance.to_dict()
# create an instance of RepositoryAddCachedContent from a dict
repository_add_cached_content_from_dict = RepositoryAddCachedContent.from_dict(repository_add_cached_content_dict)
[Back to Model list] [Back to API list] [Back to README]
RepositoryAddRemoveContent
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.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| add_content_units | List[str] | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
| remove_content_units | List[str] | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
| base_version | str | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
| overwrite | bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional] [default to True] |
Example
from pulpcore.client.pulp_maven.models.repository_add_remove_content import RepositoryAddRemoveContent
# TODO update the JSON string below
json = "{}"
# create an instance of RepositoryAddRemoveContent from a JSON string
repository_add_remove_content_instance = RepositoryAddRemoveContent.from_json(json)
# print the JSON string representation of the object
print(RepositoryAddRemoveContent.to_json())
# convert the object into a dict
repository_add_remove_content_dict = repository_add_remove_content_instance.to_dict()
# create an instance of RepositoryAddRemoveContent from a dict
repository_add_remove_content_from_dict = RepositoryAddRemoveContent.from_dict(repository_add_remove_content_dict)
[Back to Model list] [Back to API list] [Back to README]
RepositoryVersionResponse
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.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| pulp_href | str | [optional] [readonly] | |
| prn | str | The Pulp Resource Name (PRN). | [optional] [readonly] |
| pulp_created | datetime | Timestamp of creation. | [optional] [readonly] |
| 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] |
| number | int | [optional] [readonly] | |
| repository | str | [optional] [readonly] | |
| base_version | str | A repository version whose content was used as the initial set of content for this repository version | [optional] |
| content_summary | ContentSummaryResponse | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly] |
| vuln_report | str | [optional] [readonly] |
Example
from pulpcore.client.pulp_maven.models.repository_version_response import RepositoryVersionResponse
# TODO update the JSON string below
json = "{}"
# create an instance of RepositoryVersionResponse from a JSON string
repository_version_response_instance = RepositoryVersionResponse.from_json(json)
# print the JSON string representation of the object
print(RepositoryVersionResponse.to_json())
# convert the object into a dict
repository_version_response_dict = repository_version_response_instance.to_dict()
# create an instance of RepositoryVersionResponse from a dict
repository_version_response_from_dict = RepositoryVersionResponse.from_dict(repository_version_response_dict)
[Back to Model list] [Back to API list] [Back to README]
SetLabel
Serializer for synchronously setting a label.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str | ||
| value | str |
Example
from pulpcore.client.pulp_maven.models.set_label import SetLabel
# TODO update the JSON string below
json = "{}"
# create an instance of SetLabel from a JSON string
set_label_instance = SetLabel.from_json(json)
# print the JSON string representation of the object
print(SetLabel.to_json())
# convert the object into a dict
set_label_dict = set_label_instance.to_dict()
# create an instance of SetLabel from a dict
set_label_from_dict = SetLabel.from_dict(set_label_dict)
[Back to Model list] [Back to API list] [Back to README]
SetLabelResponse
Serializer for synchronously setting a label.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str | ||
| value | str |
Example
from pulpcore.client.pulp_maven.models.set_label_response import SetLabelResponse
# TODO update the JSON string below
json = "{}"
# create an instance of SetLabelResponse from a JSON string
set_label_response_instance = SetLabelResponse.from_json(json)
# print the JSON string representation of the object
print(SetLabelResponse.to_json())
# convert the object into a dict
set_label_response_dict = set_label_response_instance.to_dict()
# create an instance of SetLabelResponse from a dict
set_label_response_from_dict = SetLabelResponse.from_dict(set_label_response_dict)
[Back to Model list] [Back to API list] [Back to README]
UnsetLabel
Serializer for synchronously UNsetting a label.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str |
Example
from pulpcore.client.pulp_maven.models.unset_label import UnsetLabel
# TODO update the JSON string below
json = "{}"
# create an instance of UnsetLabel from a JSON string
unset_label_instance = UnsetLabel.from_json(json)
# print the JSON string representation of the object
print(UnsetLabel.to_json())
# convert the object into a dict
unset_label_dict = unset_label_instance.to_dict()
# create an instance of UnsetLabel from a dict
unset_label_from_dict = UnsetLabel.from_dict(unset_label_dict)
[Back to Model list] [Back to API list] [Back to README]
UnsetLabelResponse
Serializer for synchronously UNsetting a label.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| key | str | ||
| value | str | [optional] [readonly] |
Example
from pulpcore.client.pulp_maven.models.unset_label_response import UnsetLabelResponse
# TODO update the JSON string below
json = "{}"
# create an instance of UnsetLabelResponse from a JSON string
unset_label_response_instance = UnsetLabelResponse.from_json(json)
# print the JSON string representation of the object
print(UnsetLabelResponse.to_json())
# convert the object into a dict
unset_label_response_dict = unset_label_response_instance.to_dict()
# create an instance of UnsetLabelResponse from a dict
unset_label_response_from_dict = UnsetLabelResponse.from_dict(unset_label_response_dict)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crc_pulp_maven_client-20260810.1.tar.gz.
File metadata
- Download URL: crc_pulp_maven_client-20260810.1.tar.gz
- Upload date:
- Size: 132.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a6f4329904dc5044d5725ccde2dcff2069ce9bf8ee2cc43e9a96e06b26e1ba
|
|
| MD5 |
2be1cb2690b4bc023d732265871070b8
|
|
| BLAKE2b-256 |
e4ffc0f0949a06e626e2ee66ae39ba82b4aaba34b4b5af3af0b325ad7cf21365
|
File details
Details for the file crc_pulp_maven_client-20260810.1-py3-none-any.whl.
File metadata
- Download URL: crc_pulp_maven_client-20260810.1-py3-none-any.whl
- Upload date:
- Size: 164.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d4ba5f3012c1492a1ba911c0121ae89e0207bf077fe53633a659d8f15d07e7e
|
|
| MD5 |
ce772e883ac85bae644dc65010bada6f
|
|
| BLAKE2b-256 |
1b0fc8eb0fa77dcd7bd7389d7fcd319e88b2821c991e7936c903e2790d38d2db
|