crc-pulp-file-client


Namecrc-pulp-file-client JSON
Version 20251030.1 PyPI version JSON
download
home_pageNone
SummaryPulp 3 API
upload_time2025-10-30 12:27:58
maintainerNone
docs_urlNone
authorPulp Team
requires_pythonNone
licenseGPLv2+
keywords pulp pulpcore client pulp 3 api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pulpcore.client.pulp_file.AcsFileApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_role**](AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ | Add a role
[**create**](AcsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | Create a file alternate content source
[**delete**](AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source
[**list**](AcsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | List file alternate content sources
[**list_roles**](AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ | List roles
[**my_permissions**](AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ | List user permissions
[**partial_update**](AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source
[**read**](AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source
[**refresh**](AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ | Refresh metadata
[**remove_role**](AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ | Remove a role
[**update**](AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source


# **add_role**
> NestedRoleResponse add_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Add a role

Add a role for this object to users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->add_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->add_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create**
> FileFileAlternateContentSourceResponse create(pulp_domain, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)

Create a file alternate content source

Alternate Content Source ViewSet for File

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    pulp_domain = 'pulp_domain_example' # str | 
    file_file_alternate_content_source = pulpcore.client.pulp_file.FileFileAlternateContentSource() # FileFileAlternateContentSource | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a file alternate content source
        api_response = api_instance.create(pulp_domain, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->create: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete**
> AsyncOperationResponse delete(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)

Delete a file alternate content source

Trigger an asynchronous delete ACS task

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Delete a file alternate content source
        api_response = api_instance.delete(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->delete:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFileAlternateContentSourceResponseList 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, q=q, fields=fields, exclude_fields=exclude_fields)

List file alternate content sources

Alternate Content Source ViewSet for File

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_alternate_content_source_response_list import PaginatedfileFileAlternateContentSourceResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(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) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (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)
    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 file alternate content sources
        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, q=q, fields=fields, exclude_fields=exclude_fields)
        print("The response of AcsFileApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| 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]**](str.md)| 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] 
 **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| 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]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFileAlternateContentSourceResponseList**](PaginatedfileFileAlternateContentSourceResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_roles**
> ObjectRolesResponse list_roles(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

List roles

List roles assigned to this object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_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(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of AcsFileApi->list_roles:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->list_roles: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**ObjectRolesResponse**](ObjectRolesResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **my_permissions**
> MyPermissionsResponse my_permissions(file_file_alternate_content_source_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_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(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of AcsFileApi->my_permissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->my_permissions: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**MyPermissionsResponse**](MyPermissionsResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **partial_update**
> FileFileAlternateContentSourceResponse partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)

Update a file alternate content source

Update the entity partially and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
from pulpcore.client.pulp_file.models.patchedfile_file_alternate_content_source import PatchedfileFileAlternateContentSource
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    patchedfile_file_alternate_content_source = pulpcore.client.pulp_file.PatchedfileFileAlternateContentSource() # PatchedfileFileAlternateContentSource | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file alternate content source
        api_response = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->partial_update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->partial_update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **patchedfile_file_alternate_content_source** | [**PatchedfileFileAlternateContentSource**](PatchedfileFileAlternateContentSource.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFileAlternateContentSourceResponse read(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file alternate content source

Alternate Content Source ViewSet for File

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_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 file alternate content source
        api_response = api_instance.read(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of AcsFileApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **refresh**
> TaskGroupOperationResponse refresh(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)

Refresh metadata

Trigger an asynchronous task to create Alternate Content Source content.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.task_group_operation_response import TaskGroupOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Refresh metadata
        api_response = api_instance.refresh(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->refresh:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->refresh: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**TaskGroupOperationResponse**](TaskGroupOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **remove_role**
> NestedRoleResponse remove_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Remove a role

Remove a role for this object from users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->remove_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->remove_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update**
> FileFileAlternateContentSourceResponse update(file_file_alternate_content_source_href, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)

Update a file alternate content source

Update the entity and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)
    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | 
    file_file_alternate_content_source = pulpcore.client.pulp_file.FileFileAlternateContentSource() # FileFileAlternateContentSource | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file alternate content source
        api_response = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)
        print("The response of AcsFileApi->update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AcsFileApi->update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_alternate_content_source_href** | **str**|  | 
 **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# AsyncOperationResponse

Serializer for asynchronous operations.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**task** | **str** | The href of the task. | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# pulpcore.client.pulp_file.ContentFilesApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create**](ContentFilesApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | Create a file content
[**list**](ContentFilesApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | List file contents
[**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content
[**set_label**](ContentFilesApi.md#set_label) | **POST** {file_file_content_href}set_label/ | Set a label
[**unset_label**](ContentFilesApi.md#unset_label) | **POST** {file_file_content_href}unset_label/ | Unset a label


# **create**
> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url)

Create a file content

Trigger an asynchronous task to create content,optionally create new repository version.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.ContentFilesApi(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)
    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)

    try:
        # Create a file content
        api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url)
        print("The response of ContentFilesApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ContentFilesApi->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]**](str.md)| List of profilers to use on tasks. | [optional] 
 **repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional] 
 **pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| 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] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFileContentResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, digest=digest, 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, relative_path=relative_path, relative_path__contains=relative_path__contains, relative_path__icontains=relative_path__icontains, relative_path__iexact=relative_path__iexact, relative_path__in=relative_path__in, relative_path__iregex=relative_path__iregex, relative_path__istartswith=relative_path__istartswith, relative_path__regex=relative_path__regex, relative_path__startswith=relative_path__startswith, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, sha256=sha256, fields=fields, exclude_fields=exclude_fields)

List file contents

 FileContent represents a single file and its metadata, which can be added and removed from repositories.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_content_response_list import PaginatedfileFileContentResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.ContentFilesApi(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)
    digest = 'digest_example' # str | Filter results where digest 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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (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)
    relative_path = 'relative_path_example' # str | Filter results where relative_path matches value (optional)
    relative_path__contains = 'relative_path__contains_example' # str | Filter results where relative_path contains value (optional)
    relative_path__icontains = 'relative_path__icontains_example' # str | Filter results where relative_path contains value (optional)
    relative_path__iexact = 'relative_path__iexact_example' # str | Filter results where relative_path matches value (optional)
    relative_path__in = ['relative_path__in_example'] # List[str] | Filter results where relative_path is in a comma-separated list of values (optional)
    relative_path__iregex = 'relative_path__iregex_example' # str | Filter results where relative_path matches regex value (optional)
    relative_path__istartswith = 'relative_path__istartswith_example' # str | Filter results where relative_path starts with value (optional)
    relative_path__regex = 'relative_path__regex_example' # str | Filter results where relative_path matches regex value (optional)
    relative_path__startswith = 'relative_path__startswith_example' # str | Filter results where relative_path starts with value (optional)
    repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)
    repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)
    repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)
    sha256 = 'sha256_example' # str |  (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 file contents
        api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, digest=digest, 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, relative_path=relative_path, relative_path__contains=relative_path__contains, relative_path__icontains=relative_path__icontains, relative_path__iexact=relative_path__iexact, relative_path__in=relative_path__in, relative_path__iregex=relative_path__iregex, relative_path__istartswith=relative_path__istartswith, relative_path__regex=relative_path__regex, relative_path__startswith=relative_path__startswith, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, sha256=sha256, fields=fields, exclude_fields=exclude_fields)
        print("The response of ContentFilesApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ContentFilesApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **digest** | **str**| Filter results where digest 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (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]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| 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] 
 **relative_path** | **str**| Filter results where relative_path matches value | [optional] 
 **relative_path__contains** | **str**| Filter results where relative_path contains value | [optional] 
 **relative_path__icontains** | **str**| Filter results where relative_path contains value | [optional] 
 **relative_path__iexact** | **str**| Filter results where relative_path matches value | [optional] 
 **relative_path__in** | [**List[str]**](str.md)| Filter results where relative_path is in a comma-separated list of values | [optional] 
 **relative_path__iregex** | **str**| Filter results where relative_path matches regex value | [optional] 
 **relative_path__istartswith** | **str**| Filter results where relative_path starts with value | [optional] 
 **relative_path__regex** | **str**| Filter results where relative_path matches regex value | [optional] 
 **relative_path__startswith** | **str**| Filter results where relative_path starts with value | [optional] 
 **repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional] 
 **repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional] 
 **repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional] 
 **sha256** | **str**|  | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFileContentResponseList**](PaginatedfileFileContentResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFileContentResponse read(file_file_content_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file content

 FileContent represents a single file and its metadata, which can be added and removed from repositories.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_content_response import FileFileContentResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)
    file_file_content_href = 'file_file_content_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 file content
        api_response = api_instance.read(file_file_content_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of ContentFilesApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ContentFilesApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_content_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFileContentResponse**](FileFileContentResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **set_label**
> SetLabelResponse set_label(file_file_content_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.set_label import SetLabel
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)
    file_file_content_href = 'file_file_content_href_example' # str | 
    set_label = pulpcore.client.pulp_file.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(file_file_content_href, set_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of ContentFilesApi->set_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ContentFilesApi->set_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_content_href** | **str**|  | 
 **set_label** | [**SetLabel**](SetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**SetLabelResponse**](SetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **unset_label**
> UnsetLabelResponse unset_label(file_file_content_href, unset_label, x_task_diagnostics=x_task_diagnostics)

Unset a label

Unset a single pulp_label on the object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)
    file_file_content_href = 'file_file_content_href_example' # str | 
    unset_label = pulpcore.client.pulp_file.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(file_file_content_href, unset_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of ContentFilesApi->unset_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ContentFilesApi->unset_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_content_href** | **str**|  | 
 **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**UnsetLabelResponse**](UnsetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# 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

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# pulpcore.client.pulp_file.DistributionsFileApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_role**](DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ | Add a role
[**create**](DistributionsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | Create a file distribution
[**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution
[**list**](DistributionsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | List file distributions
[**list_roles**](DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ | List roles
[**my_permissions**](DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ | List user permissions
[**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution
[**read**](DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution
[**remove_role**](DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ | Remove a role
[**set_label**](DistributionsFileApi.md#set_label) | **POST** {file_file_distribution_href}set_label/ | Set a label
[**unset_label**](DistributionsFileApi.md#unset_label) | **POST** {file_file_distribution_href}unset_label/ | Unset a label
[**update**](DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution


# **add_role**
> NestedRoleResponse add_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Add a role

Add a role for this object to users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->add_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->add_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create**
> AsyncOperationResponse create(pulp_domain, file_file_distribution, x_task_diagnostics=x_task_diagnostics)

Create a file distribution

Trigger an asynchronous create task

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    pulp_domain = 'pulp_domain_example' # str | 
    file_file_distribution = pulpcore.client.pulp_file.FileFileDistribution() # FileFileDistribution | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a file distribution
        api_response = api_instance.create(pulp_domain, file_file_distribution, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->create: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete**
> AsyncOperationResponse delete(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics)

Delete a file distribution

Trigger an asynchronous delete task

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Delete a file distribution
        api_response = api_instance.delete(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->delete:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFileDistributionResponseList 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 file distributions

 FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_distribution_response_list import PaginatedfileFileDistributionResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(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 | Filter results where repository matches value (optional)
    repository__in = ['repository__in_example'] # List[str] | Filter results where repository is in a comma-separated list of values (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 file 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 DistributionsFileApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| 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]**](str.md)| 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]**](str.md)| 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| 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**| Filter results where repository matches value | [optional] 
 **repository__in** | [**List[str]**](str.md)| Filter results where repository is in a comma-separated list of values | [optional] 
 **with_content** | **str**| Filter distributions based on the content served by them | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFileDistributionResponseList**](PaginatedfileFileDistributionResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_roles**
> ObjectRolesResponse list_roles(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

List roles

List roles assigned to this object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_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(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of DistributionsFileApi->list_roles:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->list_roles: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**ObjectRolesResponse**](ObjectRolesResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **my_permissions**
> MyPermissionsResponse my_permissions(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_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(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of DistributionsFileApi->my_permissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->my_permissions: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**MyPermissionsResponse**](MyPermissionsResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **partial_update**
> FileFileDistributionResponse partial_update(file_file_distribution_href, patchedfile_file_distribution, x_task_diagnostics=x_task_diagnostics)

Update a file distribution

Update the entity partially and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse
from pulpcore.client.pulp_file.models.patchedfile_file_distribution import PatchedfileFileDistribution
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    patchedfile_file_distribution = pulpcore.client.pulp_file.PatchedfileFileDistribution() # PatchedfileFileDistribution | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file distribution
        api_response = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->partial_update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->partial_update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **patchedfile_file_distribution** | [**PatchedfileFileDistribution**](PatchedfileFileDistribution.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileDistributionResponse**](FileFileDistributionResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFileDistributionResponse read(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file distribution

 FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_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 file distribution
        api_response = api_instance.read(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of DistributionsFileApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFileDistributionResponse**](FileFileDistributionResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **remove_role**
> NestedRoleResponse remove_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Remove a role

Remove a role for this object from users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->remove_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->remove_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **set_label**
> SetLabelResponse set_label(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.set_label import SetLabel
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    set_label = pulpcore.client.pulp_file.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(file_file_distribution_href, set_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->set_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->set_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **set_label** | [**SetLabel**](SetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**SetLabelResponse**](SetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **unset_label**
> UnsetLabelResponse unset_label(file_file_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)

Unset a label

Unset a single pulp_label on the object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    unset_label = pulpcore.client.pulp_file.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(file_file_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->unset_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->unset_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**UnsetLabelResponse**](UnsetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update**
> FileFileDistributionResponse update(file_file_distribution_href, file_file_distribution, x_task_diagnostics=x_task_diagnostics)

Update a file distribution

Update the entity and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution
from pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)
    file_file_distribution_href = 'file_file_distribution_href_example' # str | 
    file_file_distribution = pulpcore.client.pulp_file.FileFileDistribution() # FileFileDistribution | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file distribution
        api_response = api_instance.update(file_file_distribution_href, file_file_distribution, x_task_diagnostics=x_task_diagnostics)
        print("The response of DistributionsFileApi->update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling DistributionsFileApi->update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_distribution_href** | **str**|  | 
 **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileDistributionResponse**](FileFileDistributionResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# FileFileAlternateContentSource

Serializer for File alternate content source.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Name of Alternate Content Source. | 
**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] 
**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] 
**remote** | **str** | The remote to provide alternate content source. | 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileAlternateContentSource from a JSON string
file_file_alternate_content_source_instance = FileFileAlternateContentSource.from_json(json)
# print the JSON string representation of the object
print(FileFileAlternateContentSource.to_json())

# convert the object into a dict
file_file_alternate_content_source_dict = file_file_alternate_content_source_instance.to_dict()
# create an instance of FileFileAlternateContentSource from a dict
file_file_alternate_content_source_from_dict = FileFileAlternateContentSource.from_dict(file_file_alternate_content_source_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileAlternateContentSourceResponse

Serializer for File alternate content source.

## 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] 
**name** | **str** | Name of Alternate Content Source. | 
**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] 
**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] 
**remote** | **str** | The remote to provide alternate content source. | 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileAlternateContentSourceResponse from a JSON string
file_file_alternate_content_source_response_instance = FileFileAlternateContentSourceResponse.from_json(json)
# print the JSON string representation of the object
print(FileFileAlternateContentSourceResponse.to_json())

# convert the object into a dict
file_file_alternate_content_source_response_dict = file_file_alternate_content_source_response_instance.to_dict()
# create an instance of FileFileAlternateContentSourceResponse from a dict
file_file_alternate_content_source_response_from_dict = FileFileAlternateContentSourceResponse.from_dict(file_file_alternate_content_source_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileContentResponse

Serializer for File Content.

## 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] 
**relative_path** | **str** | Path where the artifact is located relative to distributions base_path | 
**md5** | **str** | The MD5 checksum if available. | [optional] [readonly] 
**sha1** | **str** | The SHA-1 checksum if available. | [optional] [readonly] 
**sha224** | **str** | The SHA-224 checksum if available. | [optional] [readonly] 
**sha256** | **str** | The SHA-256 checksum if available. | [optional] [readonly] 
**sha384** | **str** | The SHA-384 checksum if available. | [optional] [readonly] 
**sha512** | **str** | The SHA-512 checksum if available. | [optional] [readonly] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_content_response import FileFileContentResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileContentResponse from a JSON string
file_file_content_response_instance = FileFileContentResponse.from_json(json)
# print the JSON string representation of the object
print(FileFileContentResponse.to_json())

# convert the object into a dict
file_file_content_response_dict = file_file_content_response_instance.to_dict()
# create an instance of FileFileContentResponse from a dict
file_file_content_response_from_dict = FileFileContentResponse.from_dict(file_file_content_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileDistribution

Serializer for File 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] 
**publication** | **str** | Publication to be served | [optional] 
**checkpoint** | **bool** |  | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileDistribution from a JSON string
file_file_distribution_instance = FileFileDistribution.from_json(json)
# print the JSON string representation of the object
print(FileFileDistribution.to_json())

# convert the object into a dict
file_file_distribution_dict = file_file_distribution_instance.to_dict()
# create an instance of FileFileDistribution from a dict
file_file_distribution_from_dict = FileFileDistribution.from_dict(file_file_distribution_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileDistributionResponse

Serializer for File 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] 
**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] 
**publication** | **str** | Publication to be served | [optional] 
**checkpoint** | **bool** |  | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileDistributionResponse from a JSON string
file_file_distribution_response_instance = FileFileDistributionResponse.from_json(json)
# print the JSON string representation of the object
print(FileFileDistributionResponse.to_json())

# convert the object into a dict
file_file_distribution_response_dict = file_file_distribution_response_instance.to_dict()
# create an instance of FileFileDistributionResponse from a dict
file_file_distribution_response_from_dict = FileFileDistributionResponse.from_dict(file_file_distribution_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFilePublication

Serializer for File Publications.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**repository_version** | **str** |  | [optional] 
**repository** | **str** | A URI of the repository to be published. | [optional] 
**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
**checkpoint** | **bool** |  | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_publication import FileFilePublication

# TODO update the JSON string below
json = "{}"
# create an instance of FileFilePublication from a JSON string
file_file_publication_instance = FileFilePublication.from_json(json)
# print the JSON string representation of the object
print(FileFilePublication.to_json())

# convert the object into a dict
file_file_publication_dict = file_file_publication_instance.to_dict()
# create an instance of FileFilePublication from a dict
file_file_publication_from_dict = FileFilePublication.from_dict(file_file_publication_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFilePublicationResponse

Serializer for File Publications.

## 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] 
**repository_version** | **str** |  | [optional] 
**repository** | **str** | A URI of the repository to be published. | [optional] 
**distributions** | **List[str]** | This publication is currently hosted as defined by these distributions. | [optional] [readonly] 
**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']
**checkpoint** | **bool** |  | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_publication_response import FileFilePublicationResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFilePublicationResponse from a JSON string
file_file_publication_response_instance = FileFilePublicationResponse.from_json(json)
# print the JSON string representation of the object
print(FileFilePublicationResponse.to_json())

# convert the object into a dict
file_file_publication_response_dict = file_file_publication_response_instance.to_dict()
# create an instance of FileFilePublicationResponse from a dict
file_file_publication_response_from_dict = FileFilePublicationResponse.from_dict(file_file_publication_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileRemote

Serializer for File Remotes.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | A unique name for this remote. | 
**url** | **str** | The URL of an external content source. | 
**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] 
**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] 
**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [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] 
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [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] 
**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileRemote from a JSON string
file_file_remote_instance = FileFileRemote.from_json(json)
# print the JSON string representation of the object
print(FileFileRemote.to_json())

# convert the object into a dict
file_file_remote_dict = file_file_remote_instance.to_dict()
# create an instance of FileFileRemote from a dict
file_file_remote_from_dict = FileFileRemote.from_dict(file_file_remote_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileRemoteResponseHiddenFieldsInner


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** |  | 
**is_set** | **bool** |  | 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_remote_response_hidden_fields_inner import FileFileRemoteResponseHiddenFieldsInner

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileRemoteResponseHiddenFieldsInner from a JSON string
file_file_remote_response_hidden_fields_inner_instance = FileFileRemoteResponseHiddenFieldsInner.from_json(json)
# print the JSON string representation of the object
print(FileFileRemoteResponseHiddenFieldsInner.to_json())

# convert the object into a dict
file_file_remote_response_hidden_fields_inner_dict = file_file_remote_response_hidden_fields_inner_instance.to_dict()
# create an instance of FileFileRemoteResponseHiddenFieldsInner from a dict
file_file_remote_response_hidden_fields_inner_from_dict = FileFileRemoteResponseHiddenFieldsInner.from_dict(file_file_remote_response_hidden_fields_inner_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileRemoteResponse

Serializer for File Remotes.

## 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. | 
**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] 
**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] 
**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [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] 
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [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] 
**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] 
**hidden_fields** | [**List[FileFileRemoteResponseHiddenFieldsInner]**](FileFileRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] [readonly] 

## Example

```python
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileRemoteResponse from a JSON string
file_file_remote_response_instance = FileFileRemoteResponse.from_json(json)
# print the JSON string representation of the object
print(FileFileRemoteResponse.to_json())

# convert the object into a dict
file_file_remote_response_dict = file_file_remote_response_instance.to_dict()
# create an instance of FileFileRemoteResponse from a dict
file_file_remote_response_from_dict = FileFileRemoteResponse.from_dict(file_file_remote_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileRepository

Serializer for File 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] 
**remote** | **str** | An optional remote to use by default when syncing. | [optional] 
**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]
**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']

## Example

```python
from pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileRepository from a JSON string
file_file_repository_instance = FileFileRepository.from_json(json)
# print the JSON string representation of the object
print(FileFileRepository.to_json())

# convert the object into a dict
file_file_repository_dict = file_file_repository_instance.to_dict()
# create an instance of FileFileRepository from a dict
file_file_repository_from_dict = FileFileRepository.from_dict(file_file_repository_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# FileFileRepositoryResponse

Serializer for File 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] 
**remote** | **str** | An optional remote to use by default when syncing. | [optional] 
**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]
**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']

## Example

```python
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse

# TODO update the JSON string below
json = "{}"
# create an instance of FileFileRepositoryResponse from a JSON string
file_file_repository_response_instance = FileFileRepositoryResponse.from_json(json)
# print the JSON string representation of the object
print(FileFileRepositoryResponse.to_json())

# convert the object into a dict
file_file_repository_response_dict = file_file_repository_response_instance.to_dict()
# create an instance of FileFileRepositoryResponse from a dict
file_file_repository_response_from_dict = FileFileRepositoryResponse.from_dict(file_file_repository_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# MyPermissionsResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**permissions** | **List[str]** |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# 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

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# 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

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# ObjectRolesResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**roles** | [**List[NestedRoleResponse]**](NestedRoleResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFileAlternateContentSourceResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFileAlternateContentSourceResponse]**](FileFileAlternateContentSourceResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_alternate_content_source_response_list import PaginatedfileFileAlternateContentSourceResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFileAlternateContentSourceResponseList from a JSON string
paginatedfile_file_alternate_content_source_response_list_instance = PaginatedfileFileAlternateContentSourceResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFileAlternateContentSourceResponseList.to_json())

# convert the object into a dict
paginatedfile_file_alternate_content_source_response_list_dict = paginatedfile_file_alternate_content_source_response_list_instance.to_dict()
# create an instance of PaginatedfileFileAlternateContentSourceResponseList from a dict
paginatedfile_file_alternate_content_source_response_list_from_dict = PaginatedfileFileAlternateContentSourceResponseList.from_dict(paginatedfile_file_alternate_content_source_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFileContentResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFileContentResponse]**](FileFileContentResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_content_response_list import PaginatedfileFileContentResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFileContentResponseList from a JSON string
paginatedfile_file_content_response_list_instance = PaginatedfileFileContentResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFileContentResponseList.to_json())

# convert the object into a dict
paginatedfile_file_content_response_list_dict = paginatedfile_file_content_response_list_instance.to_dict()
# create an instance of PaginatedfileFileContentResponseList from a dict
paginatedfile_file_content_response_list_from_dict = PaginatedfileFileContentResponseList.from_dict(paginatedfile_file_content_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFileDistributionResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFileDistributionResponse]**](FileFileDistributionResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_distribution_response_list import PaginatedfileFileDistributionResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFileDistributionResponseList from a JSON string
paginatedfile_file_distribution_response_list_instance = PaginatedfileFileDistributionResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFileDistributionResponseList.to_json())

# convert the object into a dict
paginatedfile_file_distribution_response_list_dict = paginatedfile_file_distribution_response_list_instance.to_dict()
# create an instance of PaginatedfileFileDistributionResponseList from a dict
paginatedfile_file_distribution_response_list_from_dict = PaginatedfileFileDistributionResponseList.from_dict(paginatedfile_file_distribution_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFilePublicationResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFilePublicationResponse]**](FileFilePublicationResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_publication_response_list import PaginatedfileFilePublicationResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFilePublicationResponseList from a JSON string
paginatedfile_file_publication_response_list_instance = PaginatedfileFilePublicationResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFilePublicationResponseList.to_json())

# convert the object into a dict
paginatedfile_file_publication_response_list_dict = paginatedfile_file_publication_response_list_instance.to_dict()
# create an instance of PaginatedfileFilePublicationResponseList from a dict
paginatedfile_file_publication_response_list_from_dict = PaginatedfileFilePublicationResponseList.from_dict(paginatedfile_file_publication_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFileRemoteResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFileRemoteResponse]**](FileFileRemoteResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFileRemoteResponseList from a JSON string
paginatedfile_file_remote_response_list_instance = PaginatedfileFileRemoteResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFileRemoteResponseList.to_json())

# convert the object into a dict
paginatedfile_file_remote_response_list_dict = paginatedfile_file_remote_response_list_instance.to_dict()
# create an instance of PaginatedfileFileRemoteResponseList from a dict
paginatedfile_file_remote_response_list_from_dict = PaginatedfileFileRemoteResponseList.from_dict(paginatedfile_file_remote_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedfileFileRepositoryResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[FileFileRepositoryResponse]**](FileFileRepositoryResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList

# TODO update the JSON string below
json = "{}"
# create an instance of PaginatedfileFileRepositoryResponseList from a JSON string
paginatedfile_file_repository_response_list_instance = PaginatedfileFileRepositoryResponseList.from_json(json)
# print the JSON string representation of the object
print(PaginatedfileFileRepositoryResponseList.to_json())

# convert the object into a dict
paginatedfile_file_repository_response_list_dict = paginatedfile_file_repository_response_list_instance.to_dict()
# create an instance of PaginatedfileFileRepositoryResponseList from a dict
paginatedfile_file_repository_response_list_from_dict = PaginatedfileFileRepositoryResponseList.from_dict(paginatedfile_file_repository_response_list_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PaginatedRepositoryVersionResponseList


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**count** | **int** |  | 
**next** | **str** |  | [optional] 
**previous** | **str** |  | [optional] 
**results** | [**List[RepositoryVersionResponse]**](RepositoryVersionResponse.md) |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PatchedfileFileAlternateContentSource

Serializer for File alternate content source.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | Name of Alternate Content Source. | [optional] 
**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] 
**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] 
**remote** | **str** | The remote to provide alternate content source. | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.patchedfile_file_alternate_content_source import PatchedfileFileAlternateContentSource

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedfileFileAlternateContentSource from a JSON string
patchedfile_file_alternate_content_source_instance = PatchedfileFileAlternateContentSource.from_json(json)
# print the JSON string representation of the object
print(PatchedfileFileAlternateContentSource.to_json())

# convert the object into a dict
patchedfile_file_alternate_content_source_dict = patchedfile_file_alternate_content_source_instance.to_dict()
# create an instance of PatchedfileFileAlternateContentSource from a dict
patchedfile_file_alternate_content_source_from_dict = PatchedfileFileAlternateContentSource.from_dict(patchedfile_file_alternate_content_source_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PatchedfileFileDistribution

Serializer for File 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] 
**publication** | **str** | Publication to be served | [optional] 
**checkpoint** | **bool** |  | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.patchedfile_file_distribution import PatchedfileFileDistribution

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedfileFileDistribution from a JSON string
patchedfile_file_distribution_instance = PatchedfileFileDistribution.from_json(json)
# print the JSON string representation of the object
print(PatchedfileFileDistribution.to_json())

# convert the object into a dict
patchedfile_file_distribution_dict = patchedfile_file_distribution_instance.to_dict()
# create an instance of PatchedfileFileDistribution from a dict
patchedfile_file_distribution_from_dict = PatchedfileFileDistribution.from_dict(patchedfile_file_distribution_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PatchedfileFileRemote

Serializer for File Remotes.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | A unique name for this remote. | [optional] 
**url** | **str** | The URL of an external content source. | [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] 
**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] 
**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [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] 
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [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] 
**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] 

## Example

```python
from pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedfileFileRemote from a JSON string
patchedfile_file_remote_instance = PatchedfileFileRemote.from_json(json)
# print the JSON string representation of the object
print(PatchedfileFileRemote.to_json())

# convert the object into a dict
patchedfile_file_remote_dict = patchedfile_file_remote_instance.to_dict()
# create an instance of PatchedfileFileRemote from a dict
patchedfile_file_remote_from_dict = PatchedfileFileRemote.from_dict(patchedfile_file_remote_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PatchedfileFileRepository

Serializer for File 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] 
**remote** | **str** | An optional remote to use by default when syncing. | [optional] 
**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]
**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']

## Example

```python
from pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedfileFileRepository from a JSON string
patchedfile_file_repository_instance = PatchedfileFileRepository.from_json(json)
# print the JSON string representation of the object
print(PatchedfileFileRepository.to_json())

# convert the object into a dict
patchedfile_file_repository_dict = patchedfile_file_repository_instance.to_dict()
# create an instance of PatchedfileFileRepository from a dict
patchedfile_file_repository_from_dict = PatchedfileFileRepository.from_dict(patchedfile_file_repository_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# PolicyEnum

* `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.

## Enum

* `IMMEDIATE` (value: `'immediate'`)

* `ON_DEMAND` (value: `'on_demand'`)

* `STREAMED` (value: `'streamed'`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# pulpcore.client.pulp_file.PublicationsFileApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_role**](PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ | Add a role
[**create**](PublicationsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | Create a file publication
[**delete**](PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication
[**list**](PublicationsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | List file publications
[**list_roles**](PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ | List roles
[**my_permissions**](PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ | List user permissions
[**read**](PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication
[**remove_role**](PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ | Remove a role


# **add_role**
> NestedRoleResponse add_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Add a role

Add a role for this object to users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of PublicationsFileApi->add_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->add_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create**
> AsyncOperationResponse create(pulp_domain, file_file_publication, x_task_diagnostics=x_task_diagnostics)

Create a file publication

Trigger an asynchronous task to publish file content.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.models.file_file_publication import FileFilePublication
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    pulp_domain = 'pulp_domain_example' # str | 
    file_file_publication = pulpcore.client.pulp_file.FileFilePublication() # FileFilePublication | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a file publication
        api_response = api_instance.create(pulp_domain, file_file_publication, x_task_diagnostics=x_task_diagnostics)
        print("The response of PublicationsFileApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->create: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **file_file_publication** | [**FileFilePublication**](FileFilePublication.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete**
> delete(file_file_publication_href, x_task_diagnostics=x_task_diagnostics)

Delete a file publication

 A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Delete a file publication
        api_instance.delete(file_file_publication_href, x_task_diagnostics=x_task_diagnostics)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

void (empty response body)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | No response body |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFilePublicationResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, checkpoint=checkpoint, content=content, content__in=content__in, limit=limit, 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, pulp_id__in=pulp_id__in, q=q, repository=repository, repository_version=repository_version, fields=fields, exclude_fields=exclude_fields)

List file publications

 A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_publication_response_list import PaginatedfileFilePublicationResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(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)
    checkpoint = True # bool | Filter results where checkpoint matches value (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)
    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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (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_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)
    pulp_id__in = ['pulp_id__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)
    repository = 'repository_example' # str | Repository referenced by HREF/PRN (optional)
    repository_version = 'repository_version_example' # str | Repository Version 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 file publications
        api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, checkpoint=checkpoint, content=content, content__in=content__in, limit=limit, 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, pulp_id__in=pulp_id__in, q=q, repository=repository, repository_version=repository_version, fields=fields, exclude_fields=exclude_fields)
        print("The response of PublicationsFileApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **checkpoint** | **bool**| Filter results where checkpoint matches value | [optional] 
 **content** | **str**| Content Unit referenced by HREF/PRN | [optional] 
 **content__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] 
 **prn__in** | [**List[str]**](str.md)| 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]**](datetime.md)| Filter results where pulp_created is between two comma separated values | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] 
 **repository** | **str**| Repository referenced by HREF/PRN | [optional] 
 **repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFilePublicationResponseList**](PaginatedfileFilePublicationResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_roles**
> ObjectRolesResponse list_roles(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

List roles

List roles assigned to this object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_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(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of PublicationsFileApi->list_roles:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->list_roles: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**ObjectRolesResponse**](ObjectRolesResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **my_permissions**
> MyPermissionsResponse my_permissions(file_file_publication_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_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(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of PublicationsFileApi->my_permissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->my_permissions: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**MyPermissionsResponse**](MyPermissionsResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFilePublicationResponse read(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file publication

 A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_publication_response import FileFilePublicationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_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 file publication
        api_response = api_instance.read(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of PublicationsFileApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFilePublicationResponse**](FileFilePublicationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **remove_role**
> NestedRoleResponse remove_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Remove a role

Remove a role for this object from users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)
    file_file_publication_href = 'file_file_publication_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of PublicationsFileApi->remove_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling PublicationsFileApi->remove_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_publication_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# pulpcore.client.pulp_file.RemotesFileApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_role**](RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ | Add a role
[**create**](RemotesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | Create a file remote
[**delete**](RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote
[**list**](RemotesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | List file remotes
[**list_roles**](RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ | List roles
[**my_permissions**](RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ | List user permissions
[**partial_update**](RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote
[**read**](RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote
[**remove_role**](RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ | Remove a role
[**set_label**](RemotesFileApi.md#set_label) | **POST** {file_file_remote_href}set_label/ | Set a label
[**unset_label**](RemotesFileApi.md#unset_label) | **POST** {file_file_remote_href}unset_label/ | Unset a label
[**update**](RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote


# **add_role**
> NestedRoleResponse add_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Add a role

Add a role for this object to users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->add_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->add_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create**
> FileFileRemoteResponse create(pulp_domain, file_file_remote, x_task_diagnostics=x_task_diagnostics)

Create a file remote

 FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    pulp_domain = 'pulp_domain_example' # str | 
    file_file_remote = pulpcore.client.pulp_file.FileFileRemote() # FileFileRemote | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a file remote
        api_response = api_instance.create(pulp_domain, file_file_remote, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->create: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **file_file_remote** | [**FileFileRemote**](FileFileRemote.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRemoteResponse**](FileFileRemoteResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete**
> AsyncOperationResponse delete(file_file_remote_href, x_task_diagnostics=x_task_diagnostics)

Delete a file remote

Trigger an asynchronous delete task

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Delete a file remote
        api_response = api_instance.delete(file_file_remote_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->delete:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFileRemoteResponseList 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 file remotes

 FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(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 file 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 RemotesFileApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| 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]**](str.md)| 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| 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]**](datetime.md)| 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]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFileRemoteResponseList**](PaginatedfileFileRemoteResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_roles**
> ObjectRolesResponse list_roles(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

List roles

List roles assigned to this object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_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(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RemotesFileApi->list_roles:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->list_roles: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**ObjectRolesResponse**](ObjectRolesResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **my_permissions**
> MyPermissionsResponse my_permissions(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_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(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RemotesFileApi->my_permissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->my_permissions: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**MyPermissionsResponse**](MyPermissionsResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **partial_update**
> FileFileRemoteResponse partial_update(file_file_remote_href, patchedfile_file_remote, x_task_diagnostics=x_task_diagnostics)

Update a file remote

Update the entity partially and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
from pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    patchedfile_file_remote = pulpcore.client.pulp_file.PatchedfileFileRemote() # PatchedfileFileRemote | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file remote
        api_response = api_instance.partial_update(file_file_remote_href, patchedfile_file_remote, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->partial_update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->partial_update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **patchedfile_file_remote** | [**PatchedfileFileRemote**](PatchedfileFileRemote.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRemoteResponse**](FileFileRemoteResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFileRemoteResponse read(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file remote

 FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_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 file remote
        api_response = api_instance.read(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RemotesFileApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFileRemoteResponse**](FileFileRemoteResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **remove_role**
> NestedRoleResponse remove_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Remove a role

Remove a role for this object from users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->remove_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->remove_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **set_label**
> SetLabelResponse set_label(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.set_label import SetLabel
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    set_label = pulpcore.client.pulp_file.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(file_file_remote_href, set_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->set_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->set_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **set_label** | [**SetLabel**](SetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**SetLabelResponse**](SetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **unset_label**
> UnsetLabelResponse unset_label(file_file_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)

Unset a label

Unset a single pulp_label on the object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    unset_label = pulpcore.client.pulp_file.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(file_file_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->unset_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->unset_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**UnsetLabelResponse**](UnsetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update**
> FileFileRemoteResponse update(file_file_remote_href, file_file_remote, x_task_diagnostics=x_task_diagnostics)

Update a file remote

Update the entity and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote
from pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)
    file_file_remote_href = 'file_file_remote_href_example' # str | 
    file_file_remote = pulpcore.client.pulp_file.FileFileRemote() # FileFileRemote | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file remote
        api_response = api_instance.update(file_file_remote_href, file_file_remote, x_task_diagnostics=x_task_diagnostics)
        print("The response of RemotesFileApi->update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RemotesFileApi->update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_remote_href** | **str**|  | 
 **file_file_remote** | [**FileFileRemote**](FileFileRemote.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRemoteResponse**](FileFileRemoteResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# 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

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# pulpcore.client.pulp_file.RepositoriesFileApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_role**](RepositoriesFileApi.md#add_role) | **POST** {file_file_repository_href}add_role/ | Add a role
[**create**](RepositoriesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | Create a file repository
[**delete**](RepositoriesFileApi.md#delete) | **DELETE** {file_file_repository_href} | Delete a file repository
[**list**](RepositoriesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | List file repositorys
[**list_roles**](RepositoriesFileApi.md#list_roles) | **GET** {file_file_repository_href}list_roles/ | List roles
[**modify**](RepositoriesFileApi.md#modify) | **POST** {file_file_repository_href}modify/ | Modify Repository Content
[**my_permissions**](RepositoriesFileApi.md#my_permissions) | **GET** {file_file_repository_href}my_permissions/ | List user permissions
[**partial_update**](RepositoriesFileApi.md#partial_update) | **PATCH** {file_file_repository_href} | Update a file repository
[**read**](RepositoriesFileApi.md#read) | **GET** {file_file_repository_href} | Inspect a file repository
[**remove_role**](RepositoriesFileApi.md#remove_role) | **POST** {file_file_repository_href}remove_role/ | Remove a role
[**set_label**](RepositoriesFileApi.md#set_label) | **POST** {file_file_repository_href}set_label/ | Set a label
[**sync**](RepositoriesFileApi.md#sync) | **POST** {file_file_repository_href}sync/ | Sync from a remote
[**unset_label**](RepositoriesFileApi.md#unset_label) | **POST** {file_file_repository_href}unset_label/ | Unset a label
[**update**](RepositoriesFileApi.md#update) | **PUT** {file_file_repository_href} | Update a file repository


# **add_role**
> NestedRoleResponse add_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Add a role

Add a role for this object to users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->add_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->add_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create**
> FileFileRepositoryResponse create(pulp_domain, file_file_repository, x_task_diagnostics=x_task_diagnostics)

Create a file repository

 FileRepository represents a single file repository, to which content can be synced, added, or removed.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    pulp_domain = 'pulp_domain_example' # str | 
    file_file_repository = pulpcore.client.pulp_file.FileFileRepository() # FileFileRepository | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Create a file repository
        api_response = api_instance.create(pulp_domain, file_file_repository, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->create:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->create: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **file_file_repository** | [**FileFileRepository**](FileFileRepository.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete**
> AsyncOperationResponse delete(file_file_repository_href, x_task_diagnostics=x_task_diagnostics)

Delete a file repository

Trigger an asynchronous delete task

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Delete a file repository
        api_response = api_instance.delete(file_file_repository_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->delete:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedfileFileRepositoryResponseList 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_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 file repositorys

 FileRepository represents a single file repository, to which content can be synced, added, or removed.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(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) * `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 | Foreign Key referenced by HREF (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 file 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_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 RepositoriesFileApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **pulp_domain** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| 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]**](str.md)| 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] 
 **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] 
 **pulp_id__in** | [**List[str]**](str.md)| 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**| Foreign Key referenced by HREF | [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]**](int.md)| 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]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedfileFileRepositoryResponseList**](PaginatedfileFileRepositoryResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list_roles**
> ObjectRolesResponse list_roles(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

List roles

List roles assigned to this object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_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(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RepositoriesFileApi->list_roles:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->list_roles: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**ObjectRolesResponse**](ObjectRolesResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **modify**
> AsyncOperationResponse modify(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.models.repository_add_remove_content import RepositoryAddRemoveContent
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    repository_add_remove_content = pulpcore.client.pulp_file.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(file_file_repository_href, repository_add_remove_content, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->modify:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->modify: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **my_permissions**
> MyPermissionsResponse my_permissions(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_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(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RepositoriesFileApi->my_permissions:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->my_permissions: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**MyPermissionsResponse**](MyPermissionsResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **partial_update**
> FileFileRepositoryResponse partial_update(file_file_repository_href, patchedfile_file_repository, x_task_diagnostics=x_task_diagnostics)

Update a file repository

Update the entity partially and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
from pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    patchedfile_file_repository = pulpcore.client.pulp_file.PatchedfileFileRepository() # PatchedfileFileRepository | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file repository
        api_response = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->partial_update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->partial_update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **patchedfile_file_repository** | [**PatchedfileFileRepository**](PatchedfileFileRepository.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> FileFileRepositoryResponse read(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a file repository

 FileRepository represents a single file repository, to which content can be synced, added, or removed.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_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 file repository
        api_response = api_instance.read(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RepositoriesFileApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **remove_role**
> NestedRoleResponse remove_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)

Remove a role

Remove a role for this object from users/groups.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.nested_role import NestedRole
from pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    nested_role = pulpcore.client.pulp_file.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(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->remove_role:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->remove_role: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **nested_role** | [**NestedRole**](NestedRole.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**NestedRoleResponse**](NestedRoleResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **set_label**
> SetLabelResponse set_label(file_file_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

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.set_label import SetLabel
from pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    set_label = pulpcore.client.pulp_file.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(file_file_repository_href, set_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->set_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->set_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **set_label** | [**SetLabel**](SetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**SetLabelResponse**](SetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **sync**
> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url, x_task_diagnostics=x_task_diagnostics)

Sync from a remote

Trigger an asynchronous task to sync file content.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    repository_sync_url = pulpcore.client.pulp_file.RepositorySyncURL() # RepositorySyncURL | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Sync from a remote
        api_response = api_instance.sync(file_file_repository_href, repository_sync_url, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->sync:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->sync: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **unset_label**
> UnsetLabelResponse unset_label(file_file_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)

Unset a label

Unset a single pulp_label on the object.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.unset_label import UnsetLabel
from pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    unset_label = pulpcore.client.pulp_file.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(file_file_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->unset_label:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->unset_label: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**UnsetLabelResponse**](UnsetLabelResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update**
> FileFileRepositoryResponse update(file_file_repository_href, file_file_repository, x_task_diagnostics=x_task_diagnostics)

Update a file repository

Update the entity and trigger an asynchronous task if necessary

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository
from pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)
    file_file_repository_href = 'file_file_repository_href_example' # str | 
    file_file_repository = pulpcore.client.pulp_file.FileFileRepository() # FileFileRepository | 
    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)

    try:
        # Update a file repository
        api_response = api_instance.update(file_file_repository_href, file_file_repository, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileApi->update:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileApi->update: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **file_file_repository** | [**FileFileRepository**](FileFileRepository.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# pulpcore.client.pulp_file.RepositoriesFileVersionsApi

All URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete**](RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version
[**list**](RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions
[**read**](RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version
[**repair**](RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ | 


# **delete**
> AsyncOperationResponse delete(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics)

Delete a repository version

Trigger an asynchronous task to delete a repository version.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)
    file_file_repository_version_href = 'file_file_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(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileVersionsApi->delete:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileVersionsApi->delete: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_version_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **list**
> PaginatedRepositoryVersionResponseList list(file_file_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

 FileRepositoryVersion represents a single file repository version.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)
    file_file_repository_href = 'file_file_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(file_file_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 RepositoriesFileVersionsApi->list:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileVersionsApi->list: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **content** | **str**| Content Unit referenced by HREF/PRN | [optional] 
 **content__in** | [**List[str]**](str.md)| 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]**](int.md)| 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]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `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]**](str.md)| 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]**](datetime.md)| Filter results where pulp_created is between two comma separated values | [optional] 
 **pulp_href__in** | [**List[str]**](str.md)| 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]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **read**
> RepositoryVersionResponse read(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)

Inspect a repository version

 FileRepositoryVersion represents a single file repository version.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.repository_version_response import RepositoryVersionResponse
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)
    file_file_repository_version_href = 'file_file_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(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
        print("The response of RepositoriesFileVersionsApi->read:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileVersionsApi->read: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_version_href** | **str**|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 
 **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] 
 **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] 

### Return type

[**RepositoryVersionResponse**](RepositoryVersionResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **repair**
> AsyncOperationResponse repair(file_file_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)



Trigger an asynchronous task to repair a repository version.

### Example

* OAuth Authentication (json_header_remote_authentication):
* Basic Authentication (basicAuth):
* Api Key Authentication (cookieAuth):

```python
import pulpcore.client.pulp_file
from pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse
from pulpcore.client.pulp_file.models.repair import Repair
from pulpcore.client.pulp_file.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_file.Configuration(
    host = "https://env-ephemeral-xtzmuk.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.

configuration.access_token = os.environ["ACCESS_TOKEN"]

# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_file.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_file.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)
    file_file_repository_version_href = 'file_file_repository_version_href_example' # str | 
    repair = pulpcore.client.pulp_file.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(file_file_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)
        print("The response of RepositoriesFileVersionsApi->repair:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RepositoriesFileVersionsApi->repair: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **file_file_repository_version_href** | **str**|  | 
 **repair** | [**Repair**](Repair.md)|  | 
 **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] 

### Return type

[**AsyncOperationResponse**](AsyncOperationResponse.md)

### Authorization

[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)

### 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]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# 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] 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# RepositorySyncURL

A mixin for validating unknown serializers' fields.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**remote** | **str** | A remote to sync from. This will override a remote set on repository. | [optional] 
**mirror** | **bool** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to False]

## Example

```python
from pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL

# TODO update the JSON string below
json = "{}"
# create an instance of RepositorySyncURL from a JSON string
repository_sync_url_instance = RepositorySyncURL.from_json(json)
# print the JSON string representation of the object
print(RepositorySyncURL.to_json())

# convert the object into a dict
repository_sync_url_dict = repository_sync_url_instance.to_dict()
# create an instance of RepositorySyncURL from a dict
repository_sync_url_from_dict = RepositorySyncURL.from_dict(repository_sync_url_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# 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**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly] 
**vuln_report** | **str** |  | [optional] [readonly] 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# SetLabel

Serializer for synchronously setting a label.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** |  | 
**value** | **str** |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# SetLabelResponse

Serializer for synchronously setting a label.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** |  | 
**value** | **str** |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# TaskGroupOperationResponse

Serializer for asynchronous operations that return a task group.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**task_group** | **str** | The href of the task group. | 

## Example

```python
from pulpcore.client.pulp_file.models.task_group_operation_response import TaskGroupOperationResponse

# TODO update the JSON string below
json = "{}"
# create an instance of TaskGroupOperationResponse from a JSON string
task_group_operation_response_instance = TaskGroupOperationResponse.from_json(json)
# print the JSON string representation of the object
print(TaskGroupOperationResponse.to_json())

# convert the object into a dict
task_group_operation_response_dict = task_group_operation_response_instance.to_dict()
# create an instance of TaskGroupOperationResponse from a dict
task_group_operation_response_from_dict = TaskGroupOperationResponse.from_dict(task_group_operation_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# UnsetLabel

Serializer for synchronously UNsetting a label.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** |  | 

## Example

```python
from pulpcore.client.pulp_file.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]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


# UnsetLabelResponse

Serializer for synchronously UNsetting a label.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**key** | **str** |  | 
**value** | **str** |  | [optional] [readonly] 

## Example

```python
from pulpcore.client.pulp_file.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)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "crc-pulp-file-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pulp, pulpcore, client, Pulp 3 API",
    "author": "Pulp Team",
    "author_email": "pulp-list@redhat.com",
    "download_url": "https://files.pythonhosted.org/packages/fa/15/bcc112e707e862a627b7b7fa612e65962f463a13c0d1b0fc72a17113386c/crc_pulp_file_client-20251030.1.tar.gz",
    "platform": null,
    "description": "# pulpcore.client.pulp_file.AcsFileApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**add_role**](AcsFileApi.md#add_role) | **POST** {file_file_alternate_content_source_href}add_role/ | Add a role\n[**create**](AcsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | Create a file alternate content source\n[**delete**](AcsFileApi.md#delete) | **DELETE** {file_file_alternate_content_source_href} | Delete a file alternate content source\n[**list**](AcsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/acs/file/file/ | List file alternate content sources\n[**list_roles**](AcsFileApi.md#list_roles) | **GET** {file_file_alternate_content_source_href}list_roles/ | List roles\n[**my_permissions**](AcsFileApi.md#my_permissions) | **GET** {file_file_alternate_content_source_href}my_permissions/ | List user permissions\n[**partial_update**](AcsFileApi.md#partial_update) | **PATCH** {file_file_alternate_content_source_href} | Update a file alternate content source\n[**read**](AcsFileApi.md#read) | **GET** {file_file_alternate_content_source_href} | Inspect a file alternate content source\n[**refresh**](AcsFileApi.md#refresh) | **POST** {file_file_alternate_content_source_href}refresh/ | Refresh metadata\n[**remove_role**](AcsFileApi.md#remove_role) | **POST** {file_file_alternate_content_source_href}remove_role/ | Remove a role\n[**update**](AcsFileApi.md#update) | **PUT** {file_file_alternate_content_source_href} | Update a file alternate content source\n\n\n# **add_role**\n> NestedRoleResponse add_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nAdd a role\n\nAdd a role for this object to users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Add a role\n        api_response = api_instance.add_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->add_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->add_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **create**\n> FileFileAlternateContentSourceResponse create(pulp_domain, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n\nCreate a file alternate content source\n\nAlternate Content Source ViewSet for File\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    file_file_alternate_content_source = pulpcore.client.pulp_file.FileFileAlternateContentSource() # FileFileAlternateContentSource | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Create a file alternate content source\n        api_response = api_instance.create(pulp_domain, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **delete**\n> AsyncOperationResponse delete(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a file alternate content source\n\nTrigger an asynchronous delete ACS task\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a file alternate content source\n        api_response = api_instance.delete(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->delete:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFileAlternateContentSourceResponseList 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, q=q, fields=fields, exclude_fields=exclude_fields)\n\nList file alternate content sources\n\nAlternate Content Source ViewSet for File\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_alternate_content_source_response_list import PaginatedfileFileAlternateContentSourceResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    name = 'name_example' # str | Filter results where name matches value (optional)\n    name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)\n    name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)\n    name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)\n    name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)\n    name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)\n    name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)\n    name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)\n    name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file alternate content sources\n        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, q=q, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of AcsFileApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **name** | **str**| Filter results where name matches value | [optional] \n **name__contains** | **str**| Filter results where name contains value | [optional] \n **name__icontains** | **str**| Filter results where name contains value | [optional] \n **name__iexact** | **str**| Filter results where name matches value | [optional] \n **name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional] \n **name__iregex** | **str**| Filter results where name matches regex value | [optional] \n **name__istartswith** | **str**| Filter results where name starts with value | [optional] \n **name__regex** | **str**| Filter results where name matches regex value | [optional] \n **name__startswith** | **str**| Filter results where name starts with value | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFileAlternateContentSourceResponseList**](PaginatedfileFileAlternateContentSourceResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list_roles**\n> ObjectRolesResponse list_roles(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList roles\n\nList roles assigned to this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List roles\n        api_response = api_instance.list_roles(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of AcsFileApi->list_roles:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->list_roles: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**ObjectRolesResponse**](ObjectRolesResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **my_permissions**\n> MyPermissionsResponse my_permissions(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList user permissions\n\nList permissions available to the current user on this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List user permissions\n        api_response = api_instance.my_permissions(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of AcsFileApi->my_permissions:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->my_permissions: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**MyPermissionsResponse**](MyPermissionsResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **partial_update**\n> FileFileAlternateContentSourceResponse partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file alternate content source\n\nUpdate the entity partially and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse\nfrom pulpcore.client.pulp_file.models.patchedfile_file_alternate_content_source import PatchedfileFileAlternateContentSource\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    patchedfile_file_alternate_content_source = pulpcore.client.pulp_file.PatchedfileFileAlternateContentSource() # PatchedfileFileAlternateContentSource | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file alternate content source\n        api_response = api_instance.partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->partial_update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->partial_update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **patchedfile_file_alternate_content_source** | [**PatchedfileFileAlternateContentSource**](PatchedfileFileAlternateContentSource.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFileAlternateContentSourceResponse read(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file alternate content source\n\nAlternate Content Source ViewSet for File\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file alternate content source\n        api_response = api_instance.read(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of AcsFileApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **refresh**\n> TaskGroupOperationResponse refresh(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)\n\nRefresh metadata\n\nTrigger an asynchronous task to create Alternate Content Source content.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.task_group_operation_response import TaskGroupOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Refresh metadata\n        api_response = api_instance.refresh(file_file_alternate_content_source_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->refresh:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->refresh: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**TaskGroupOperationResponse**](TaskGroupOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **remove_role**\n> NestedRoleResponse remove_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nRemove a role\n\nRemove a role for this object from users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Remove a role\n        api_response = api_instance.remove_role(file_file_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->remove_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->remove_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **update**\n> FileFileAlternateContentSourceResponse update(file_file_alternate_content_source_href, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file alternate content source\n\nUpdate the entity and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.AcsFileApi(api_client)\n    file_file_alternate_content_source_href = 'file_file_alternate_content_source_href_example' # str | \n    file_file_alternate_content_source = pulpcore.client.pulp_file.FileFileAlternateContentSource() # FileFileAlternateContentSource | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file alternate content source\n        api_response = api_instance.update(file_file_alternate_content_source_href, file_file_alternate_content_source, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of AcsFileApi->update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling AcsFileApi->update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_alternate_content_source_href** | **str**|  | \n **file_file_alternate_content_source** | [**FileFileAlternateContentSource**](FileFileAlternateContentSource.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileAlternateContentSourceResponse**](FileFileAlternateContentSourceResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# AsyncOperationResponse\n\nSerializer for asynchronous operations.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**task** | **str** | The href of the task. | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of AsyncOperationResponse from a JSON string\nasync_operation_response_instance = AsyncOperationResponse.from_json(json)\n# print the JSON string representation of the object\nprint(AsyncOperationResponse.to_json())\n\n# convert the object into a dict\nasync_operation_response_dict = async_operation_response_instance.to_dict()\n# create an instance of AsyncOperationResponse from a dict\nasync_operation_response_from_dict = AsyncOperationResponse.from_dict(async_operation_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# pulpcore.client.pulp_file.ContentFilesApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**create**](ContentFilesApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | Create a file content\n[**list**](ContentFilesApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/content/file/files/ | List file contents\n[**read**](ContentFilesApi.md#read) | **GET** {file_file_content_href} | Inspect a file content\n[**set_label**](ContentFilesApi.md#set_label) | **POST** {file_file_content_href}set_label/ | Set a label\n[**unset_label**](ContentFilesApi.md#unset_label) | **POST** {file_file_content_href}unset_label/ | Unset a label\n\n\n# **create**\n> AsyncOperationResponse create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url)\n\nCreate a file content\n\nTrigger an asynchronous task to create content,optionally create new repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path\n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)\n    pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)\n    artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)\n    file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)\n    upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)\n    file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)\n\n    try:\n        # Create a file content\n        api_response = api_instance.create(pulp_domain, relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url)\n        print(\"The response of ContentFilesApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling ContentFilesApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **relative_path** | **str**| Path where the artifact is located relative to distributions base_path | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **repository** | **str**| A URI of a repository the new content unit should be associated with. | [optional] \n **pulp_labels** | [**Dict[str, Optional[str]]**](Dict.md)| A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] \n **artifact** | **str**| Artifact file representing the physical content | [optional] \n **file** | **bytearray**| An uploaded file that may be turned into the content unit. | [optional] \n **upload** | **str**| An uncommitted upload that may be turned into the content unit. | [optional] \n **file_url** | **str**| A url that Pulp can download and turn into the content unit. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFileContentResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, digest=digest, 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, relative_path=relative_path, relative_path__contains=relative_path__contains, relative_path__icontains=relative_path__icontains, relative_path__iexact=relative_path__iexact, relative_path__in=relative_path__in, relative_path__iregex=relative_path__iregex, relative_path__istartswith=relative_path__istartswith, relative_path__regex=relative_path__regex, relative_path__startswith=relative_path__startswith, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, sha256=sha256, fields=fields, exclude_fields=exclude_fields)\n\nList file contents\n\n FileContent represents a single file and its metadata, which can be added and removed from repositories.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_content_response_list import PaginatedfileFileContentResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    digest = 'digest_example' # str | Filter results where digest matches value (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)\n    orphaned_for = 3.4 # float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. (optional)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    relative_path = 'relative_path_example' # str | Filter results where relative_path matches value (optional)\n    relative_path__contains = 'relative_path__contains_example' # str | Filter results where relative_path contains value (optional)\n    relative_path__icontains = 'relative_path__icontains_example' # str | Filter results where relative_path contains value (optional)\n    relative_path__iexact = 'relative_path__iexact_example' # str | Filter results where relative_path matches value (optional)\n    relative_path__in = ['relative_path__in_example'] # List[str] | Filter results where relative_path is in a comma-separated list of values (optional)\n    relative_path__iregex = 'relative_path__iregex_example' # str | Filter results where relative_path matches regex value (optional)\n    relative_path__istartswith = 'relative_path__istartswith_example' # str | Filter results where relative_path starts with value (optional)\n    relative_path__regex = 'relative_path__regex_example' # str | Filter results where relative_path matches regex value (optional)\n    relative_path__startswith = 'relative_path__startswith_example' # str | Filter results where relative_path starts with value (optional)\n    repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)\n    repository_version_added = 'repository_version_added_example' # str | Repository Version referenced by HREF/PRN (optional)\n    repository_version_removed = 'repository_version_removed_example' # str | Repository Version referenced by HREF/PRN (optional)\n    sha256 = 'sha256_example' # str |  (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file contents\n        api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, digest=digest, 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, relative_path=relative_path, relative_path__contains=relative_path__contains, relative_path__icontains=relative_path__icontains, relative_path__iexact=relative_path__iexact, relative_path__in=relative_path__in, relative_path__iregex=relative_path__iregex, relative_path__istartswith=relative_path__istartswith, relative_path__regex=relative_path__regex, relative_path__startswith=relative_path__startswith, repository_version=repository_version, repository_version_added=repository_version_added, repository_version_removed=repository_version_removed, sha256=sha256, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of ContentFilesApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling ContentFilesApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **digest** | **str**| Filter results where digest matches value | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] \n **orphaned_for** | **float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_label_select** | **str**| Filter labels by search string | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **relative_path** | **str**| Filter results where relative_path matches value | [optional] \n **relative_path__contains** | **str**| Filter results where relative_path contains value | [optional] \n **relative_path__icontains** | **str**| Filter results where relative_path contains value | [optional] \n **relative_path__iexact** | **str**| Filter results where relative_path matches value | [optional] \n **relative_path__in** | [**List[str]**](str.md)| Filter results where relative_path is in a comma-separated list of values | [optional] \n **relative_path__iregex** | **str**| Filter results where relative_path matches regex value | [optional] \n **relative_path__istartswith** | **str**| Filter results where relative_path starts with value | [optional] \n **relative_path__regex** | **str**| Filter results where relative_path matches regex value | [optional] \n **relative_path__startswith** | **str**| Filter results where relative_path starts with value | [optional] \n **repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional] \n **repository_version_added** | **str**| Repository Version referenced by HREF/PRN | [optional] \n **repository_version_removed** | **str**| Repository Version referenced by HREF/PRN | [optional] \n **sha256** | **str**|  | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFileContentResponseList**](PaginatedfileFileContentResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFileContentResponse read(file_file_content_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file content\n\n FileContent represents a single file and its metadata, which can be added and removed from repositories.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_content_response import FileFileContentResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)\n    file_file_content_href = 'file_file_content_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file content\n        api_response = api_instance.read(file_file_content_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of ContentFilesApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling ContentFilesApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_content_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFileContentResponse**](FileFileContentResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **set_label**\n> SetLabelResponse set_label(file_file_content_href, set_label, x_task_diagnostics=x_task_diagnostics)\n\nSet a label\n\nSet a single pulp_label on the object to a specific value or null.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.set_label import SetLabel\nfrom pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)\n    file_file_content_href = 'file_file_content_href_example' # str | \n    set_label = pulpcore.client.pulp_file.SetLabel() # SetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Set a label\n        api_response = api_instance.set_label(file_file_content_href, set_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of ContentFilesApi->set_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling ContentFilesApi->set_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_content_href** | **str**|  | \n **set_label** | [**SetLabel**](SetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**SetLabelResponse**](SetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **unset_label**\n> UnsetLabelResponse unset_label(file_file_content_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n\nUnset a label\n\nUnset a single pulp_label on the object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.unset_label import UnsetLabel\nfrom pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.ContentFilesApi(api_client)\n    file_file_content_href = 'file_file_content_href_example' # str | \n    unset_label = pulpcore.client.pulp_file.UnsetLabel() # UnsetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Unset a label\n        api_response = api_instance.unset_label(file_file_content_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of ContentFilesApi->unset_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling ContentFilesApi->unset_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_content_href** | **str**|  | \n **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**UnsetLabelResponse**](UnsetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# ContentSummaryResponse\n\nSerializer for the RepositoryVersion content summary\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**added** | **Dict[str, object]** |  | \n**removed** | **Dict[str, object]** |  | \n**present** | **Dict[str, object]** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.content_summary_response import ContentSummaryResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of ContentSummaryResponse from a JSON string\ncontent_summary_response_instance = ContentSummaryResponse.from_json(json)\n# print the JSON string representation of the object\nprint(ContentSummaryResponse.to_json())\n\n# convert the object into a dict\ncontent_summary_response_dict = content_summary_response_instance.to_dict()\n# create an instance of ContentSummaryResponse from a dict\ncontent_summary_response_from_dict = ContentSummaryResponse.from_dict(content_summary_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# pulpcore.client.pulp_file.DistributionsFileApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**add_role**](DistributionsFileApi.md#add_role) | **POST** {file_file_distribution_href}add_role/ | Add a role\n[**create**](DistributionsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | Create a file distribution\n[**delete**](DistributionsFileApi.md#delete) | **DELETE** {file_file_distribution_href} | Delete a file distribution\n[**list**](DistributionsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/distributions/file/file/ | List file distributions\n[**list_roles**](DistributionsFileApi.md#list_roles) | **GET** {file_file_distribution_href}list_roles/ | List roles\n[**my_permissions**](DistributionsFileApi.md#my_permissions) | **GET** {file_file_distribution_href}my_permissions/ | List user permissions\n[**partial_update**](DistributionsFileApi.md#partial_update) | **PATCH** {file_file_distribution_href} | Update a file distribution\n[**read**](DistributionsFileApi.md#read) | **GET** {file_file_distribution_href} | Inspect a file distribution\n[**remove_role**](DistributionsFileApi.md#remove_role) | **POST** {file_file_distribution_href}remove_role/ | Remove a role\n[**set_label**](DistributionsFileApi.md#set_label) | **POST** {file_file_distribution_href}set_label/ | Set a label\n[**unset_label**](DistributionsFileApi.md#unset_label) | **POST** {file_file_distribution_href}unset_label/ | Unset a label\n[**update**](DistributionsFileApi.md#update) | **PUT** {file_file_distribution_href} | Update a file distribution\n\n\n# **add_role**\n> NestedRoleResponse add_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nAdd a role\n\nAdd a role for this object to users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Add a role\n        api_response = api_instance.add_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->add_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->add_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **create**\n> AsyncOperationResponse create(pulp_domain, file_file_distribution, x_task_diagnostics=x_task_diagnostics)\n\nCreate a file distribution\n\nTrigger an asynchronous create task\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    file_file_distribution = pulpcore.client.pulp_file.FileFileDistribution() # FileFileDistribution | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Create a file distribution\n        api_response = api_instance.create(pulp_domain, file_file_distribution, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **delete**\n> AsyncOperationResponse delete(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a file distribution\n\nTrigger an asynchronous delete task\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a file distribution\n        api_response = api_instance.delete(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->delete:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFileDistributionResponseList 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)\n\nList file distributions\n\n FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_distribution_response_list import PaginatedfileFileDistributionResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    base_path = 'base_path_example' # str | Filter results where base_path matches value (optional)\n    base_path__contains = 'base_path__contains_example' # str | Filter results where base_path contains value (optional)\n    base_path__icontains = 'base_path__icontains_example' # str | Filter results where base_path contains value (optional)\n    base_path__in = ['base_path__in_example'] # List[str] | Filter results where base_path is in a comma-separated list of values (optional)\n    checkpoint = True # bool | Filter results where checkpoint matches value (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    name = 'name_example' # str | Filter results where name matches value (optional)\n    name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)\n    name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)\n    name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)\n    name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)\n    name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)\n    name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)\n    name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)\n    name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    repository = 'repository_example' # str | Filter results where repository matches value (optional)\n    repository__in = ['repository__in_example'] # List[str] | Filter results where repository is in a comma-separated list of values (optional)\n    with_content = 'with_content_example' # str | Filter distributions based on the content served by them (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file distributions\n        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)\n        print(\"The response of DistributionsFileApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **base_path** | **str**| Filter results where base_path matches value | [optional] \n **base_path__contains** | **str**| Filter results where base_path contains value | [optional] \n **base_path__icontains** | **str**| Filter results where base_path contains value | [optional] \n **base_path__in** | [**List[str]**](str.md)| Filter results where base_path is in a comma-separated list of values | [optional] \n **checkpoint** | **bool**| Filter results where checkpoint matches value | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **name** | **str**| Filter results where name matches value | [optional] \n **name__contains** | **str**| Filter results where name contains value | [optional] \n **name__icontains** | **str**| Filter results where name contains value | [optional] \n **name__iexact** | **str**| Filter results where name matches value | [optional] \n **name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional] \n **name__iregex** | **str**| Filter results where name matches regex value | [optional] \n **name__istartswith** | **str**| Filter results where name starts with value | [optional] \n **name__regex** | **str**| Filter results where name matches regex value | [optional] \n **name__startswith** | **str**| Filter results where name starts with value | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_label_select** | **str**| Filter labels by search string | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **repository** | **str**| Filter results where repository matches value | [optional] \n **repository__in** | [**List[str]**](str.md)| Filter results where repository is in a comma-separated list of values | [optional] \n **with_content** | **str**| Filter distributions based on the content served by them | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFileDistributionResponseList**](PaginatedfileFileDistributionResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list_roles**\n> ObjectRolesResponse list_roles(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList roles\n\nList roles assigned to this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List roles\n        api_response = api_instance.list_roles(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of DistributionsFileApi->list_roles:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->list_roles: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**ObjectRolesResponse**](ObjectRolesResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **my_permissions**\n> MyPermissionsResponse my_permissions(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList user permissions\n\nList permissions available to the current user on this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List user permissions\n        api_response = api_instance.my_permissions(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of DistributionsFileApi->my_permissions:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->my_permissions: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**MyPermissionsResponse**](MyPermissionsResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **partial_update**\n> FileFileDistributionResponse partial_update(file_file_distribution_href, patchedfile_file_distribution, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file distribution\n\nUpdate the entity partially and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse\nfrom pulpcore.client.pulp_file.models.patchedfile_file_distribution import PatchedfileFileDistribution\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    patchedfile_file_distribution = pulpcore.client.pulp_file.PatchedfileFileDistribution() # PatchedfileFileDistribution | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file distribution\n        api_response = api_instance.partial_update(file_file_distribution_href, patchedfile_file_distribution, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->partial_update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->partial_update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **patchedfile_file_distribution** | [**PatchedfileFileDistribution**](PatchedfileFileDistribution.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileDistributionResponse**](FileFileDistributionResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFileDistributionResponse read(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file distribution\n\n FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file distribution\n        api_response = api_instance.read(file_file_distribution_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of DistributionsFileApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFileDistributionResponse**](FileFileDistributionResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **remove_role**\n> NestedRoleResponse remove_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nRemove a role\n\nRemove a role for this object from users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Remove a role\n        api_response = api_instance.remove_role(file_file_distribution_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->remove_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->remove_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **set_label**\n> SetLabelResponse set_label(file_file_distribution_href, set_label, x_task_diagnostics=x_task_diagnostics)\n\nSet a label\n\nSet a single pulp_label on the object to a specific value or null.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.set_label import SetLabel\nfrom pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    set_label = pulpcore.client.pulp_file.SetLabel() # SetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Set a label\n        api_response = api_instance.set_label(file_file_distribution_href, set_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->set_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->set_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **set_label** | [**SetLabel**](SetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**SetLabelResponse**](SetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **unset_label**\n> UnsetLabelResponse unset_label(file_file_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n\nUnset a label\n\nUnset a single pulp_label on the object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.unset_label import UnsetLabel\nfrom pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    unset_label = pulpcore.client.pulp_file.UnsetLabel() # UnsetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Unset a label\n        api_response = api_instance.unset_label(file_file_distribution_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->unset_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->unset_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**UnsetLabelResponse**](UnsetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **update**\n> FileFileDistributionResponse update(file_file_distribution_href, file_file_distribution, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file distribution\n\nUpdate the entity and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution\nfrom pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.DistributionsFileApi(api_client)\n    file_file_distribution_href = 'file_file_distribution_href_example' # str | \n    file_file_distribution = pulpcore.client.pulp_file.FileFileDistribution() # FileFileDistribution | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file distribution\n        api_response = api_instance.update(file_file_distribution_href, file_file_distribution, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of DistributionsFileApi->update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling DistributionsFileApi->update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_distribution_href** | **str**|  | \n **file_file_distribution** | [**FileFileDistribution**](FileFileDistribution.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileDistributionResponse**](FileFileDistributionResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# FileFileAlternateContentSource\n\nSerializer for File alternate content source.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**name** | **str** | Name of Alternate Content Source. | \n**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] \n**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] \n**remote** | **str** | The remote to provide alternate content source. | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source import FileFileAlternateContentSource\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileAlternateContentSource from a JSON string\nfile_file_alternate_content_source_instance = FileFileAlternateContentSource.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileAlternateContentSource.to_json())\n\n# convert the object into a dict\nfile_file_alternate_content_source_dict = file_file_alternate_content_source_instance.to_dict()\n# create an instance of FileFileAlternateContentSource from a dict\nfile_file_alternate_content_source_from_dict = FileFileAlternateContentSource.from_dict(file_file_alternate_content_source_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileAlternateContentSourceResponse\n\nSerializer for File alternate content source.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**name** | **str** | Name of Alternate Content Source. | \n**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] \n**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] \n**remote** | **str** | The remote to provide alternate content source. | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_alternate_content_source_response import FileFileAlternateContentSourceResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileAlternateContentSourceResponse from a JSON string\nfile_file_alternate_content_source_response_instance = FileFileAlternateContentSourceResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileAlternateContentSourceResponse.to_json())\n\n# convert the object into a dict\nfile_file_alternate_content_source_response_dict = file_file_alternate_content_source_response_instance.to_dict()\n# create an instance of FileFileAlternateContentSourceResponse from a dict\nfile_file_alternate_content_source_response_from_dict = FileFileAlternateContentSourceResponse.from_dict(file_file_alternate_content_source_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileContentResponse\n\nSerializer for File Content.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**pulp_labels** | **Dict[str, Optional[str]]** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] \n**vuln_report** | **str** |  | [optional] [readonly] \n**artifact** | **str** | Artifact file representing the physical content | [optional] \n**relative_path** | **str** | Path where the artifact is located relative to distributions base_path | \n**md5** | **str** | The MD5 checksum if available. | [optional] [readonly] \n**sha1** | **str** | The SHA-1 checksum if available. | [optional] [readonly] \n**sha224** | **str** | The SHA-224 checksum if available. | [optional] [readonly] \n**sha256** | **str** | The SHA-256 checksum if available. | [optional] [readonly] \n**sha384** | **str** | The SHA-384 checksum if available. | [optional] [readonly] \n**sha512** | **str** | The SHA-512 checksum if available. | [optional] [readonly] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_content_response import FileFileContentResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileContentResponse from a JSON string\nfile_file_content_response_instance = FileFileContentResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileContentResponse.to_json())\n\n# convert the object into a dict\nfile_file_content_response_dict = file_file_content_response_instance.to_dict()\n# create an instance of FileFileContentResponse from a dict\nfile_file_content_response_from_dict = FileFileContentResponse.from_dict(file_file_content_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileDistribution\n\nSerializer for File Distributions.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**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\\") | \n**content_guard** | **str** | An optional content-guard. | [optional] \n**hidden** | **bool** | Whether this distribution should be shown in the content app. | [optional] [default to False]\n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**name** | **str** | A unique name. Ex, `rawhide` and `stable`. | \n**repository** | **str** | The latest RepositoryVersion for this Repository will be served. | [optional] \n**publication** | **str** | Publication to be served | [optional] \n**checkpoint** | **bool** |  | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_distribution import FileFileDistribution\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileDistribution from a JSON string\nfile_file_distribution_instance = FileFileDistribution.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileDistribution.to_json())\n\n# convert the object into a dict\nfile_file_distribution_dict = file_file_distribution_instance.to_dict()\n# create an instance of FileFileDistribution from a dict\nfile_file_distribution_from_dict = FileFileDistribution.from_dict(file_file_distribution_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileDistributionResponse\n\nSerializer for File Distributions.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**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\\") | \n**base_url** | **str** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly] \n**content_guard** | **str** | An optional content-guard. | [optional] \n**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] \n**hidden** | **bool** | Whether this distribution should be shown in the content app. | [optional] [default to False]\n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**name** | **str** | A unique name. Ex, `rawhide` and `stable`. | \n**repository** | **str** | The latest RepositoryVersion for this Repository will be served. | [optional] \n**publication** | **str** | Publication to be served | [optional] \n**checkpoint** | **bool** |  | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_distribution_response import FileFileDistributionResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileDistributionResponse from a JSON string\nfile_file_distribution_response_instance = FileFileDistributionResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileDistributionResponse.to_json())\n\n# convert the object into a dict\nfile_file_distribution_response_dict = file_file_distribution_response_instance.to_dict()\n# create an instance of FileFileDistributionResponse from a dict\nfile_file_distribution_response_from_dict = FileFileDistributionResponse.from_dict(file_file_distribution_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFilePublication\n\nSerializer for File Publications.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**repository_version** | **str** |  | [optional] \n**repository** | **str** | A URI of the repository to be published. | [optional] \n**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']\n**checkpoint** | **bool** |  | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_publication import FileFilePublication\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFilePublication from a JSON string\nfile_file_publication_instance = FileFilePublication.from_json(json)\n# print the JSON string representation of the object\nprint(FileFilePublication.to_json())\n\n# convert the object into a dict\nfile_file_publication_dict = file_file_publication_instance.to_dict()\n# create an instance of FileFilePublication from a dict\nfile_file_publication_from_dict = FileFilePublication.from_dict(file_file_publication_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFilePublicationResponse\n\nSerializer for File Publications.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**repository_version** | **str** |  | [optional] \n**repository** | **str** | A URI of the repository to be published. | [optional] \n**distributions** | **List[str]** | This publication is currently hosted as defined by these distributions. | [optional] [readonly] \n**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']\n**checkpoint** | **bool** |  | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_publication_response import FileFilePublicationResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFilePublicationResponse from a JSON string\nfile_file_publication_response_instance = FileFilePublicationResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFilePublicationResponse.to_json())\n\n# convert the object into a dict\nfile_file_publication_response_dict = file_file_publication_response_instance.to_dict()\n# create an instance of FileFilePublicationResponse from a dict\nfile_file_publication_response_from_dict = FileFilePublicationResponse.from_dict(file_file_publication_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileRemote\n\nSerializer for File Remotes.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**name** | **str** | A unique name for this remote. | \n**url** | **str** | The URL of an external content source. | \n**ca_cert** | **str** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] \n**client_cert** | **str** | A PEM encoded client certificate used for authentication. | [optional] \n**client_key** | **str** | A PEM encoded private key used for authentication. | [optional] \n**tls_validation** | **bool** | If True, TLS peer validation must be performed. | [optional] \n**proxy_url** | **str** | The proxy URL. Format: scheme://host:port | [optional] \n**proxy_username** | **str** | The username to authenticte to the proxy. | [optional] \n**proxy_password** | **str** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] \n**username** | **str** | The username to be used for authentication when syncing. | [optional] \n**password** | **str** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] \n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] \n**max_retries** | **int** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] \n**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] \n**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] \n**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] \n**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] \n**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] \n**headers** | **List[object]** | Headers for aiohttp.Clientsession | [optional] \n**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileRemote from a JSON string\nfile_file_remote_instance = FileFileRemote.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileRemote.to_json())\n\n# convert the object into a dict\nfile_file_remote_dict = file_file_remote_instance.to_dict()\n# create an instance of FileFileRemote from a dict\nfile_file_remote_from_dict = FileFileRemote.from_dict(file_file_remote_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileRemoteResponseHiddenFieldsInner\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**name** | **str** |  | \n**is_set** | **bool** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_remote_response_hidden_fields_inner import FileFileRemoteResponseHiddenFieldsInner\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileRemoteResponseHiddenFieldsInner from a JSON string\nfile_file_remote_response_hidden_fields_inner_instance = FileFileRemoteResponseHiddenFieldsInner.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileRemoteResponseHiddenFieldsInner.to_json())\n\n# convert the object into a dict\nfile_file_remote_response_hidden_fields_inner_dict = file_file_remote_response_hidden_fields_inner_instance.to_dict()\n# create an instance of FileFileRemoteResponseHiddenFieldsInner from a dict\nfile_file_remote_response_hidden_fields_inner_from_dict = FileFileRemoteResponseHiddenFieldsInner.from_dict(file_file_remote_response_hidden_fields_inner_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileRemoteResponse\n\nSerializer for File Remotes.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**pulp_last_updated** | **datetime** | Timestamp of the most recent update of the remote. | [optional] [readonly] \n**name** | **str** | A unique name for this remote. | \n**url** | **str** | The URL of an external content source. | \n**ca_cert** | **str** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] \n**client_cert** | **str** | A PEM encoded client certificate used for authentication. | [optional] \n**tls_validation** | **bool** | If True, TLS peer validation must be performed. | [optional] \n**proxy_url** | **str** | The proxy URL. Format: scheme://host:port | [optional] \n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] \n**max_retries** | **int** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] \n**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] \n**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] \n**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] \n**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] \n**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] \n**headers** | **List[object]** | Headers for aiohttp.Clientsession | [optional] \n**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] \n**hidden_fields** | [**List[FileFileRemoteResponseHiddenFieldsInner]**](FileFileRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] [readonly] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileRemoteResponse from a JSON string\nfile_file_remote_response_instance = FileFileRemoteResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileRemoteResponse.to_json())\n\n# convert the object into a dict\nfile_file_remote_response_dict = file_file_remote_response_instance.to_dict()\n# create an instance of FileFileRemoteResponse from a dict\nfile_file_remote_response_from_dict = FileFileRemoteResponse.from_dict(file_file_remote_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileRepository\n\nSerializer for File Repositories.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**name** | **str** | A unique name for this repository. | \n**description** | **str** | An optional description. | [optional] \n**retain_repo_versions** | **int** | Retain X versions of the repository. Default is null which retains all versions. | [optional] \n**remote** | **str** | An optional remote to use by default when syncing. | [optional] \n**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]\n**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']\n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileRepository from a JSON string\nfile_file_repository_instance = FileFileRepository.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileRepository.to_json())\n\n# convert the object into a dict\nfile_file_repository_dict = file_file_repository_instance.to_dict()\n# create an instance of FileFileRepository from a dict\nfile_file_repository_from_dict = FileFileRepository.from_dict(file_file_repository_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# FileFileRepositoryResponse\n\nSerializer for File Repositories.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**versions_href** | **str** |  | [optional] [readonly] \n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**latest_version_href** | **str** |  | [optional] [readonly] \n**name** | **str** | A unique name for this repository. | \n**description** | **str** | An optional description. | [optional] \n**retain_repo_versions** | **int** | Retain X versions of the repository. Default is null which retains all versions. | [optional] \n**remote** | **str** | An optional remote to use by default when syncing. | [optional] \n**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]\n**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']\n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of FileFileRepositoryResponse from a JSON string\nfile_file_repository_response_instance = FileFileRepositoryResponse.from_json(json)\n# print the JSON string representation of the object\nprint(FileFileRepositoryResponse.to_json())\n\n# convert the object into a dict\nfile_file_repository_response_dict = file_file_repository_response_instance.to_dict()\n# create an instance of FileFileRepositoryResponse from a dict\nfile_file_repository_response_from_dict = FileFileRepositoryResponse.from_dict(file_file_repository_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# MyPermissionsResponse\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**permissions** | **List[str]** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of MyPermissionsResponse from a JSON string\nmy_permissions_response_instance = MyPermissionsResponse.from_json(json)\n# print the JSON string representation of the object\nprint(MyPermissionsResponse.to_json())\n\n# convert the object into a dict\nmy_permissions_response_dict = my_permissions_response_instance.to_dict()\n# create an instance of MyPermissionsResponse from a dict\nmy_permissions_response_from_dict = MyPermissionsResponse.from_dict(my_permissions_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# NestedRole\n\nSerializer 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.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**users** | **List[str]** |  | [optional] [default to []]\n**groups** | **List[str]** |  | [optional] [default to []]\n**role** | **str** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of NestedRole from a JSON string\nnested_role_instance = NestedRole.from_json(json)\n# print the JSON string representation of the object\nprint(NestedRole.to_json())\n\n# convert the object into a dict\nnested_role_dict = nested_role_instance.to_dict()\n# create an instance of NestedRole from a dict\nnested_role_from_dict = NestedRole.from_dict(nested_role_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# NestedRoleResponse\n\nSerializer 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.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**users** | **List[str]** |  | [optional] [default to []]\n**groups** | **List[str]** |  | [optional] [default to []]\n**role** | **str** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of NestedRoleResponse from a JSON string\nnested_role_response_instance = NestedRoleResponse.from_json(json)\n# print the JSON string representation of the object\nprint(NestedRoleResponse.to_json())\n\n# convert the object into a dict\nnested_role_response_dict = nested_role_response_instance.to_dict()\n# create an instance of NestedRoleResponse from a dict\nnested_role_response_from_dict = NestedRoleResponse.from_dict(nested_role_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# ObjectRolesResponse\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**roles** | [**List[NestedRoleResponse]**](NestedRoleResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of ObjectRolesResponse from a JSON string\nobject_roles_response_instance = ObjectRolesResponse.from_json(json)\n# print the JSON string representation of the object\nprint(ObjectRolesResponse.to_json())\n\n# convert the object into a dict\nobject_roles_response_dict = object_roles_response_instance.to_dict()\n# create an instance of ObjectRolesResponse from a dict\nobject_roles_response_from_dict = ObjectRolesResponse.from_dict(object_roles_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFileAlternateContentSourceResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFileAlternateContentSourceResponse]**](FileFileAlternateContentSourceResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_alternate_content_source_response_list import PaginatedfileFileAlternateContentSourceResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFileAlternateContentSourceResponseList from a JSON string\npaginatedfile_file_alternate_content_source_response_list_instance = PaginatedfileFileAlternateContentSourceResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFileAlternateContentSourceResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_alternate_content_source_response_list_dict = paginatedfile_file_alternate_content_source_response_list_instance.to_dict()\n# create an instance of PaginatedfileFileAlternateContentSourceResponseList from a dict\npaginatedfile_file_alternate_content_source_response_list_from_dict = PaginatedfileFileAlternateContentSourceResponseList.from_dict(paginatedfile_file_alternate_content_source_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFileContentResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFileContentResponse]**](FileFileContentResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_content_response_list import PaginatedfileFileContentResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFileContentResponseList from a JSON string\npaginatedfile_file_content_response_list_instance = PaginatedfileFileContentResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFileContentResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_content_response_list_dict = paginatedfile_file_content_response_list_instance.to_dict()\n# create an instance of PaginatedfileFileContentResponseList from a dict\npaginatedfile_file_content_response_list_from_dict = PaginatedfileFileContentResponseList.from_dict(paginatedfile_file_content_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFileDistributionResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFileDistributionResponse]**](FileFileDistributionResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_distribution_response_list import PaginatedfileFileDistributionResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFileDistributionResponseList from a JSON string\npaginatedfile_file_distribution_response_list_instance = PaginatedfileFileDistributionResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFileDistributionResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_distribution_response_list_dict = paginatedfile_file_distribution_response_list_instance.to_dict()\n# create an instance of PaginatedfileFileDistributionResponseList from a dict\npaginatedfile_file_distribution_response_list_from_dict = PaginatedfileFileDistributionResponseList.from_dict(paginatedfile_file_distribution_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFilePublicationResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFilePublicationResponse]**](FileFilePublicationResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_publication_response_list import PaginatedfileFilePublicationResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFilePublicationResponseList from a JSON string\npaginatedfile_file_publication_response_list_instance = PaginatedfileFilePublicationResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFilePublicationResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_publication_response_list_dict = paginatedfile_file_publication_response_list_instance.to_dict()\n# create an instance of PaginatedfileFilePublicationResponseList from a dict\npaginatedfile_file_publication_response_list_from_dict = PaginatedfileFilePublicationResponseList.from_dict(paginatedfile_file_publication_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFileRemoteResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFileRemoteResponse]**](FileFileRemoteResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFileRemoteResponseList from a JSON string\npaginatedfile_file_remote_response_list_instance = PaginatedfileFileRemoteResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFileRemoteResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_remote_response_list_dict = paginatedfile_file_remote_response_list_instance.to_dict()\n# create an instance of PaginatedfileFileRemoteResponseList from a dict\npaginatedfile_file_remote_response_list_from_dict = PaginatedfileFileRemoteResponseList.from_dict(paginatedfile_file_remote_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedfileFileRepositoryResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[FileFileRepositoryResponse]**](FileFileRepositoryResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedfileFileRepositoryResponseList from a JSON string\npaginatedfile_file_repository_response_list_instance = PaginatedfileFileRepositoryResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedfileFileRepositoryResponseList.to_json())\n\n# convert the object into a dict\npaginatedfile_file_repository_response_list_dict = paginatedfile_file_repository_response_list_instance.to_dict()\n# create an instance of PaginatedfileFileRepositoryResponseList from a dict\npaginatedfile_file_repository_response_list_from_dict = PaginatedfileFileRepositoryResponseList.from_dict(paginatedfile_file_repository_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PaginatedRepositoryVersionResponseList\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**count** | **int** |  | \n**next** | **str** |  | [optional] \n**previous** | **str** |  | [optional] \n**results** | [**List[RepositoryVersionResponse]**](RepositoryVersionResponse.md) |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PaginatedRepositoryVersionResponseList from a JSON string\npaginated_repository_version_response_list_instance = PaginatedRepositoryVersionResponseList.from_json(json)\n# print the JSON string representation of the object\nprint(PaginatedRepositoryVersionResponseList.to_json())\n\n# convert the object into a dict\npaginated_repository_version_response_list_dict = paginated_repository_version_response_list_instance.to_dict()\n# create an instance of PaginatedRepositoryVersionResponseList from a dict\npaginated_repository_version_response_list_from_dict = PaginatedRepositoryVersionResponseList.from_dict(paginated_repository_version_response_list_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PatchedfileFileAlternateContentSource\n\nSerializer for File alternate content source.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**name** | **str** | Name of Alternate Content Source. | [optional] \n**last_refreshed** | **datetime** | Date of last refresh of AlternateContentSource. | [optional] \n**paths** | **List[str]** | List of paths that will be appended to the Remote url when searching for content. | [optional] \n**remote** | **str** | The remote to provide alternate content source. | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.patchedfile_file_alternate_content_source import PatchedfileFileAlternateContentSource\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PatchedfileFileAlternateContentSource from a JSON string\npatchedfile_file_alternate_content_source_instance = PatchedfileFileAlternateContentSource.from_json(json)\n# print the JSON string representation of the object\nprint(PatchedfileFileAlternateContentSource.to_json())\n\n# convert the object into a dict\npatchedfile_file_alternate_content_source_dict = patchedfile_file_alternate_content_source_instance.to_dict()\n# create an instance of PatchedfileFileAlternateContentSource from a dict\npatchedfile_file_alternate_content_source_from_dict = PatchedfileFileAlternateContentSource.from_dict(patchedfile_file_alternate_content_source_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PatchedfileFileDistribution\n\nSerializer for File Distributions.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**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] \n**content_guard** | **str** | An optional content-guard. | [optional] \n**hidden** | **bool** | Whether this distribution should be shown in the content app. | [optional] [default to False]\n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**name** | **str** | A unique name. Ex, `rawhide` and `stable`. | [optional] \n**repository** | **str** | The latest RepositoryVersion for this Repository will be served. | [optional] \n**publication** | **str** | Publication to be served | [optional] \n**checkpoint** | **bool** |  | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.patchedfile_file_distribution import PatchedfileFileDistribution\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PatchedfileFileDistribution from a JSON string\npatchedfile_file_distribution_instance = PatchedfileFileDistribution.from_json(json)\n# print the JSON string representation of the object\nprint(PatchedfileFileDistribution.to_json())\n\n# convert the object into a dict\npatchedfile_file_distribution_dict = patchedfile_file_distribution_instance.to_dict()\n# create an instance of PatchedfileFileDistribution from a dict\npatchedfile_file_distribution_from_dict = PatchedfileFileDistribution.from_dict(patchedfile_file_distribution_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PatchedfileFileRemote\n\nSerializer for File Remotes.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**name** | **str** | A unique name for this remote. | [optional] \n**url** | **str** | The URL of an external content source. | [optional] \n**ca_cert** | **str** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] \n**client_cert** | **str** | A PEM encoded client certificate used for authentication. | [optional] \n**client_key** | **str** | A PEM encoded private key used for authentication. | [optional] \n**tls_validation** | **bool** | If True, TLS peer validation must be performed. | [optional] \n**proxy_url** | **str** | The proxy URL. Format: scheme://host:port | [optional] \n**proxy_username** | **str** | The username to authenticte to the proxy. | [optional] \n**proxy_password** | **str** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] \n**username** | **str** | The username to be used for authentication when syncing. | [optional] \n**password** | **str** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] \n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**download_concurrency** | **int** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] \n**max_retries** | **int** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] \n**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default.  * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] \n**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] \n**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] \n**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] \n**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] \n**headers** | **List[object]** | Headers for aiohttp.Clientsession | [optional] \n**rate_limit** | **int** | Limits requests per second for each concurrent downloader | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PatchedfileFileRemote from a JSON string\npatchedfile_file_remote_instance = PatchedfileFileRemote.from_json(json)\n# print the JSON string representation of the object\nprint(PatchedfileFileRemote.to_json())\n\n# convert the object into a dict\npatchedfile_file_remote_dict = patchedfile_file_remote_instance.to_dict()\n# create an instance of PatchedfileFileRemote from a dict\npatchedfile_file_remote_from_dict = PatchedfileFileRemote.from_dict(patchedfile_file_remote_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PatchedfileFileRepository\n\nSerializer for File Repositories.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_labels** | **Dict[str, Optional[str]]** |  | [optional] \n**name** | **str** | A unique name for this repository. | [optional] \n**description** | **str** | An optional description. | [optional] \n**retain_repo_versions** | **int** | Retain X versions of the repository. Default is null which retains all versions. | [optional] \n**remote** | **str** | An optional remote to use by default when syncing. | [optional] \n**autopublish** | **bool** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to False]\n**manifest** | **str** | Filename to use for manifest file containing metadata for all the files. | [optional] [default to 'PULP_MANIFEST']\n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of PatchedfileFileRepository from a JSON string\npatchedfile_file_repository_instance = PatchedfileFileRepository.from_json(json)\n# print the JSON string representation of the object\nprint(PatchedfileFileRepository.to_json())\n\n# convert the object into a dict\npatchedfile_file_repository_dict = patchedfile_file_repository_instance.to_dict()\n# create an instance of PatchedfileFileRepository from a dict\npatchedfile_file_repository_from_dict = PatchedfileFileRepository.from_dict(patchedfile_file_repository_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# PolicyEnum\n\n* `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.\n\n## Enum\n\n* `IMMEDIATE` (value: `'immediate'`)\n\n* `ON_DEMAND` (value: `'on_demand'`)\n\n* `STREAMED` (value: `'streamed'`)\n\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# pulpcore.client.pulp_file.PublicationsFileApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**add_role**](PublicationsFileApi.md#add_role) | **POST** {file_file_publication_href}add_role/ | Add a role\n[**create**](PublicationsFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | Create a file publication\n[**delete**](PublicationsFileApi.md#delete) | **DELETE** {file_file_publication_href} | Delete a file publication\n[**list**](PublicationsFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/publications/file/file/ | List file publications\n[**list_roles**](PublicationsFileApi.md#list_roles) | **GET** {file_file_publication_href}list_roles/ | List roles\n[**my_permissions**](PublicationsFileApi.md#my_permissions) | **GET** {file_file_publication_href}my_permissions/ | List user permissions\n[**read**](PublicationsFileApi.md#read) | **GET** {file_file_publication_href} | Inspect a file publication\n[**remove_role**](PublicationsFileApi.md#remove_role) | **POST** {file_file_publication_href}remove_role/ | Remove a role\n\n\n# **add_role**\n> NestedRoleResponse add_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nAdd a role\n\nAdd a role for this object to users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Add a role\n        api_response = api_instance.add_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of PublicationsFileApi->add_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->add_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **create**\n> AsyncOperationResponse create(pulp_domain, file_file_publication, x_task_diagnostics=x_task_diagnostics)\n\nCreate a file publication\n\nTrigger an asynchronous task to publish file content.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.models.file_file_publication import FileFilePublication\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    file_file_publication = pulpcore.client.pulp_file.FileFilePublication() # FileFilePublication | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Create a file publication\n        api_response = api_instance.create(pulp_domain, file_file_publication, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of PublicationsFileApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **file_file_publication** | [**FileFilePublication**](FileFilePublication.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **delete**\n> delete(file_file_publication_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a file publication\n\n A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a file publication\n        api_instance.delete(file_file_publication_href, x_task_diagnostics=x_task_diagnostics)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\nvoid (empty response body)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: Not defined\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**204** | No response body |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFilePublicationResponseList list(pulp_domain, x_task_diagnostics=x_task_diagnostics, checkpoint=checkpoint, content=content, content__in=content__in, limit=limit, 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, pulp_id__in=pulp_id__in, q=q, repository=repository, repository_version=repository_version, fields=fields, exclude_fields=exclude_fields)\n\nList file publications\n\n A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_publication_response_list import PaginatedfileFilePublicationResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    checkpoint = True # bool | Filter results where checkpoint matches value (optional)\n    content = 'content_example' # str | Content Unit referenced by HREF/PRN (optional)\n    content__in = ['content__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_created = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created matches value (optional)\n    pulp_created__gt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than value (optional)\n    pulp_created__gte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than or equal to value (optional)\n    pulp_created__isnull = True # bool | Filter results where pulp_created has a null value (optional)\n    pulp_created__lt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than value (optional)\n    pulp_created__lte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than or equal to value (optional)\n    pulp_created__range = ['2013-10-20T19:20:30+01:00'] # List[datetime] | Filter results where pulp_created is between two comma separated values (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    repository = 'repository_example' # str | Repository referenced by HREF/PRN (optional)\n    repository_version = 'repository_version_example' # str | Repository Version referenced by HREF/PRN (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file publications\n        api_response = api_instance.list(pulp_domain, x_task_diagnostics=x_task_diagnostics, checkpoint=checkpoint, content=content, content__in=content__in, limit=limit, 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, pulp_id__in=pulp_id__in, q=q, repository=repository, repository_version=repository_version, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of PublicationsFileApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **checkpoint** | **bool**| Filter results where checkpoint matches value | [optional] \n **content** | **str**| Content Unit referenced by HREF/PRN | [optional] \n **content__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_created** | **datetime**| Filter results where pulp_created matches value | [optional] \n **pulp_created__gt** | **datetime**| Filter results where pulp_created is greater than value | [optional] \n **pulp_created__gte** | **datetime**| Filter results where pulp_created is greater than or equal to value | [optional] \n **pulp_created__isnull** | **bool**| Filter results where pulp_created has a null value | [optional] \n **pulp_created__lt** | **datetime**| Filter results where pulp_created is less than value | [optional] \n **pulp_created__lte** | **datetime**| Filter results where pulp_created is less than or equal to value | [optional] \n **pulp_created__range** | [**List[datetime]**](datetime.md)| Filter results where pulp_created is between two comma separated values | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **repository** | **str**| Repository referenced by HREF/PRN | [optional] \n **repository_version** | **str**| Repository Version referenced by HREF/PRN | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFilePublicationResponseList**](PaginatedfileFilePublicationResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list_roles**\n> ObjectRolesResponse list_roles(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList roles\n\nList roles assigned to this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List roles\n        api_response = api_instance.list_roles(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of PublicationsFileApi->list_roles:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->list_roles: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**ObjectRolesResponse**](ObjectRolesResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **my_permissions**\n> MyPermissionsResponse my_permissions(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList user permissions\n\nList permissions available to the current user on this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List user permissions\n        api_response = api_instance.my_permissions(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of PublicationsFileApi->my_permissions:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->my_permissions: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**MyPermissionsResponse**](MyPermissionsResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFilePublicationResponse read(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file publication\n\n A FilePublication contains metadata about all the File Content in a particular File Repository Version. Once a FilePublication has been created, it can be hosted using the File Distribution API.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_publication_response import FileFilePublicationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file publication\n        api_response = api_instance.read(file_file_publication_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of PublicationsFileApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFilePublicationResponse**](FileFilePublicationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **remove_role**\n> NestedRoleResponse remove_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nRemove a role\n\nRemove a role for this object from users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.PublicationsFileApi(api_client)\n    file_file_publication_href = 'file_file_publication_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Remove a role\n        api_response = api_instance.remove_role(file_file_publication_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of PublicationsFileApi->remove_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling PublicationsFileApi->remove_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_publication_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# pulpcore.client.pulp_file.RemotesFileApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**add_role**](RemotesFileApi.md#add_role) | **POST** {file_file_remote_href}add_role/ | Add a role\n[**create**](RemotesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | Create a file remote\n[**delete**](RemotesFileApi.md#delete) | **DELETE** {file_file_remote_href} | Delete a file remote\n[**list**](RemotesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/remotes/file/file/ | List file remotes\n[**list_roles**](RemotesFileApi.md#list_roles) | **GET** {file_file_remote_href}list_roles/ | List roles\n[**my_permissions**](RemotesFileApi.md#my_permissions) | **GET** {file_file_remote_href}my_permissions/ | List user permissions\n[**partial_update**](RemotesFileApi.md#partial_update) | **PATCH** {file_file_remote_href} | Update a file remote\n[**read**](RemotesFileApi.md#read) | **GET** {file_file_remote_href} | Inspect a file remote\n[**remove_role**](RemotesFileApi.md#remove_role) | **POST** {file_file_remote_href}remove_role/ | Remove a role\n[**set_label**](RemotesFileApi.md#set_label) | **POST** {file_file_remote_href}set_label/ | Set a label\n[**unset_label**](RemotesFileApi.md#unset_label) | **POST** {file_file_remote_href}unset_label/ | Unset a label\n[**update**](RemotesFileApi.md#update) | **PUT** {file_file_remote_href} | Update a file remote\n\n\n# **add_role**\n> NestedRoleResponse add_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nAdd a role\n\nAdd a role for this object to users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Add a role\n        api_response = api_instance.add_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->add_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->add_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **create**\n> FileFileRemoteResponse create(pulp_domain, file_file_remote, x_task_diagnostics=x_task_diagnostics)\n\nCreate a file remote\n\n FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote\nfrom pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    file_file_remote = pulpcore.client.pulp_file.FileFileRemote() # FileFileRemote | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Create a file remote\n        api_response = api_instance.create(pulp_domain, file_file_remote, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **file_file_remote** | [**FileFileRemote**](FileFileRemote.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRemoteResponse**](FileFileRemoteResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **delete**\n> AsyncOperationResponse delete(file_file_remote_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a file remote\n\nTrigger an asynchronous delete task\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a file remote\n        api_response = api_instance.delete(file_file_remote_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->delete:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFileRemoteResponseList 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)\n\nList file remotes\n\n FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_remote_response_list import PaginatedfileFileRemoteResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    name = 'name_example' # str | Filter results where name matches value (optional)\n    name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)\n    name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)\n    name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)\n    name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)\n    name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)\n    name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)\n    name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)\n    name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)\n    pulp_last_updated = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated matches value (optional)\n    pulp_last_updated__gt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is greater than value (optional)\n    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)\n    pulp_last_updated__isnull = True # bool | Filter results where pulp_last_updated has a null value (optional)\n    pulp_last_updated__lt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_last_updated is less than value (optional)\n    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)\n    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)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file remotes\n        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)\n        print(\"The response of RemotesFileApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **name** | **str**| Filter results where name matches value | [optional] \n **name__contains** | **str**| Filter results where name contains value | [optional] \n **name__icontains** | **str**| Filter results where name contains value | [optional] \n **name__iexact** | **str**| Filter results where name matches value | [optional] \n **name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional] \n **name__iregex** | **str**| Filter results where name matches regex value | [optional] \n **name__istartswith** | **str**| Filter results where name starts with value | [optional] \n **name__regex** | **str**| Filter results where name matches regex value | [optional] \n **name__startswith** | **str**| Filter results where name starts with value | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_label_select** | **str**| Filter labels by search string | [optional] \n **pulp_last_updated** | **datetime**| Filter results where pulp_last_updated matches value | [optional] \n **pulp_last_updated__gt** | **datetime**| Filter results where pulp_last_updated is greater than value | [optional] \n **pulp_last_updated__gte** | **datetime**| Filter results where pulp_last_updated is greater than or equal to value | [optional] \n **pulp_last_updated__isnull** | **bool**| Filter results where pulp_last_updated has a null value | [optional] \n **pulp_last_updated__lt** | **datetime**| Filter results where pulp_last_updated is less than value | [optional] \n **pulp_last_updated__lte** | **datetime**| Filter results where pulp_last_updated is less than or equal to value | [optional] \n **pulp_last_updated__range** | [**List[datetime]**](datetime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFileRemoteResponseList**](PaginatedfileFileRemoteResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list_roles**\n> ObjectRolesResponse list_roles(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList roles\n\nList roles assigned to this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List roles\n        api_response = api_instance.list_roles(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RemotesFileApi->list_roles:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->list_roles: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**ObjectRolesResponse**](ObjectRolesResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **my_permissions**\n> MyPermissionsResponse my_permissions(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList user permissions\n\nList permissions available to the current user on this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List user permissions\n        api_response = api_instance.my_permissions(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RemotesFileApi->my_permissions:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->my_permissions: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**MyPermissionsResponse**](MyPermissionsResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **partial_update**\n> FileFileRemoteResponse partial_update(file_file_remote_href, patchedfile_file_remote, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file remote\n\nUpdate the entity partially and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse\nfrom pulpcore.client.pulp_file.models.patchedfile_file_remote import PatchedfileFileRemote\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    patchedfile_file_remote = pulpcore.client.pulp_file.PatchedfileFileRemote() # PatchedfileFileRemote | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file remote\n        api_response = api_instance.partial_update(file_file_remote_href, patchedfile_file_remote, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->partial_update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->partial_update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **patchedfile_file_remote** | [**PatchedfileFileRemote**](PatchedfileFileRemote.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRemoteResponse**](FileFileRemoteResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFileRemoteResponse read(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file remote\n\n FileRemote represents an external source of File Content.  The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file remote\n        api_response = api_instance.read(file_file_remote_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RemotesFileApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFileRemoteResponse**](FileFileRemoteResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **remove_role**\n> NestedRoleResponse remove_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nRemove a role\n\nRemove a role for this object from users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Remove a role\n        api_response = api_instance.remove_role(file_file_remote_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->remove_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->remove_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **set_label**\n> SetLabelResponse set_label(file_file_remote_href, set_label, x_task_diagnostics=x_task_diagnostics)\n\nSet a label\n\nSet a single pulp_label on the object to a specific value or null.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.set_label import SetLabel\nfrom pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    set_label = pulpcore.client.pulp_file.SetLabel() # SetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Set a label\n        api_response = api_instance.set_label(file_file_remote_href, set_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->set_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->set_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **set_label** | [**SetLabel**](SetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**SetLabelResponse**](SetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **unset_label**\n> UnsetLabelResponse unset_label(file_file_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n\nUnset a label\n\nUnset a single pulp_label on the object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.unset_label import UnsetLabel\nfrom pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    unset_label = pulpcore.client.pulp_file.UnsetLabel() # UnsetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Unset a label\n        api_response = api_instance.unset_label(file_file_remote_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->unset_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->unset_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**UnsetLabelResponse**](UnsetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **update**\n> FileFileRemoteResponse update(file_file_remote_href, file_file_remote, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file remote\n\nUpdate the entity and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_remote import FileFileRemote\nfrom pulpcore.client.pulp_file.models.file_file_remote_response import FileFileRemoteResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RemotesFileApi(api_client)\n    file_file_remote_href = 'file_file_remote_href_example' # str | \n    file_file_remote = pulpcore.client.pulp_file.FileFileRemote() # FileFileRemote | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file remote\n        api_response = api_instance.update(file_file_remote_href, file_file_remote, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RemotesFileApi->update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RemotesFileApi->update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_remote_href** | **str**|  | \n **file_file_remote** | [**FileFileRemote**](FileFileRemote.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRemoteResponse**](FileFileRemoteResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# Repair\n\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**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]\n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.repair import Repair\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of Repair from a JSON string\nrepair_instance = Repair.from_json(json)\n# print the JSON string representation of the object\nprint(Repair.to_json())\n\n# convert the object into a dict\nrepair_dict = repair_instance.to_dict()\n# create an instance of Repair from a dict\nrepair_from_dict = Repair.from_dict(repair_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# pulpcore.client.pulp_file.RepositoriesFileApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**add_role**](RepositoriesFileApi.md#add_role) | **POST** {file_file_repository_href}add_role/ | Add a role\n[**create**](RepositoriesFileApi.md#create) | **POST** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | Create a file repository\n[**delete**](RepositoriesFileApi.md#delete) | **DELETE** {file_file_repository_href} | Delete a file repository\n[**list**](RepositoriesFileApi.md#list) | **GET** /api/pulp/{pulp_domain}/api/v3/repositories/file/file/ | List file repositorys\n[**list_roles**](RepositoriesFileApi.md#list_roles) | **GET** {file_file_repository_href}list_roles/ | List roles\n[**modify**](RepositoriesFileApi.md#modify) | **POST** {file_file_repository_href}modify/ | Modify Repository Content\n[**my_permissions**](RepositoriesFileApi.md#my_permissions) | **GET** {file_file_repository_href}my_permissions/ | List user permissions\n[**partial_update**](RepositoriesFileApi.md#partial_update) | **PATCH** {file_file_repository_href} | Update a file repository\n[**read**](RepositoriesFileApi.md#read) | **GET** {file_file_repository_href} | Inspect a file repository\n[**remove_role**](RepositoriesFileApi.md#remove_role) | **POST** {file_file_repository_href}remove_role/ | Remove a role\n[**set_label**](RepositoriesFileApi.md#set_label) | **POST** {file_file_repository_href}set_label/ | Set a label\n[**sync**](RepositoriesFileApi.md#sync) | **POST** {file_file_repository_href}sync/ | Sync from a remote\n[**unset_label**](RepositoriesFileApi.md#unset_label) | **POST** {file_file_repository_href}unset_label/ | Unset a label\n[**update**](RepositoriesFileApi.md#update) | **PUT** {file_file_repository_href} | Update a file repository\n\n\n# **add_role**\n> NestedRoleResponse add_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nAdd a role\n\nAdd a role for this object to users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Add a role\n        api_response = api_instance.add_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->add_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->add_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **create**\n> FileFileRepositoryResponse create(pulp_domain, file_file_repository, x_task_diagnostics=x_task_diagnostics)\n\nCreate a file repository\n\n FileRepository represents a single file repository, to which content can be synced, added, or removed.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository\nfrom pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    file_file_repository = pulpcore.client.pulp_file.FileFileRepository() # FileFileRepository | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Create a file repository\n        api_response = api_instance.create(pulp_domain, file_file_repository, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->create:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->create: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **file_file_repository** | [**FileFileRepository**](FileFileRepository.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **delete**\n> AsyncOperationResponse delete(file_file_repository_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a file repository\n\nTrigger an asynchronous delete task\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a file repository\n        api_response = api_instance.delete(file_file_repository_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->delete:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedfileFileRepositoryResponseList 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_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)\n\nList file repositorys\n\n FileRepository represents a single file repository, to which content can be synced, added, or removed.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginatedfile_file_repository_response_list import PaginatedfileFileRepositoryResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    pulp_domain = 'pulp_domain_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    latest_with_content = 'latest_with_content_example' # str | Content Unit referenced by HREF/PRN (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    name = 'name_example' # str | Filter results where name matches value (optional)\n    name__contains = 'name__contains_example' # str | Filter results where name contains value (optional)\n    name__icontains = 'name__icontains_example' # str | Filter results where name contains value (optional)\n    name__iexact = 'name__iexact_example' # str | Filter results where name matches value (optional)\n    name__in = ['name__in_example'] # List[str] | Filter results where name is in a comma-separated list of values (optional)\n    name__iregex = 'name__iregex_example' # str | Filter results where name matches regex value (optional)\n    name__istartswith = 'name__istartswith_example' # str | Filter results where name starts with value (optional)\n    name__regex = 'name__regex_example' # str | Filter results where name matches regex value (optional)\n    name__startswith = 'name__startswith_example' # str | Filter results where name starts with value (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) (optional)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_id__in = ['pulp_id__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_label_select = 'pulp_label_select_example' # str | Filter labels by search string (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    remote = 'remote_example' # str | Foreign Key referenced by HREF (optional)\n    retain_repo_versions = 56 # int | Filter results where retain_repo_versions matches value (optional)\n    retain_repo_versions__gt = 56 # int | Filter results where retain_repo_versions is greater than value (optional)\n    retain_repo_versions__gte = 56 # int | Filter results where retain_repo_versions is greater than or equal to value (optional)\n    retain_repo_versions__isnull = True # bool | Filter results where retain_repo_versions has a null value (optional)\n    retain_repo_versions__lt = 56 # int | Filter results where retain_repo_versions is less than value (optional)\n    retain_repo_versions__lte = 56 # int | Filter results where retain_repo_versions is less than or equal to value (optional)\n    retain_repo_versions__ne = 56 # int | Filter results where retain_repo_versions not equal to value (optional)\n    retain_repo_versions__range = [56] # List[int] | Filter results where retain_repo_versions is between two comma separated values (optional)\n    with_content = 'with_content_example' # str | Content Unit referenced by HREF/PRN (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List file repositorys\n        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_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)\n        print(\"The response of RepositoriesFileApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **pulp_domain** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **latest_with_content** | **str**| Content Unit referenced by HREF/PRN | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **name** | **str**| Filter results where name matches value | [optional] \n **name__contains** | **str**| Filter results where name contains value | [optional] \n **name__icontains** | **str**| Filter results where name contains value | [optional] \n **name__iexact** | **str**| Filter results where name matches value | [optional] \n **name__in** | [**List[str]**](str.md)| Filter results where name is in a comma-separated list of values | [optional] \n **name__iregex** | **str**| Filter results where name matches regex value | [optional] \n **name__istartswith** | **str**| Filter results where name starts with value | [optional] \n **name__regex** | **str**| Filter results where name matches regex value | [optional] \n **name__startswith** | **str**| Filter results where name starts with value | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `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) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_id__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_label_select** | **str**| Filter labels by search string | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **remote** | **str**| Foreign Key referenced by HREF | [optional] \n **retain_repo_versions** | **int**| Filter results where retain_repo_versions matches value | [optional] \n **retain_repo_versions__gt** | **int**| Filter results where retain_repo_versions is greater than value | [optional] \n **retain_repo_versions__gte** | **int**| Filter results where retain_repo_versions is greater than or equal to value | [optional] \n **retain_repo_versions__isnull** | **bool**| Filter results where retain_repo_versions has a null value | [optional] \n **retain_repo_versions__lt** | **int**| Filter results where retain_repo_versions is less than value | [optional] \n **retain_repo_versions__lte** | **int**| Filter results where retain_repo_versions is less than or equal to value | [optional] \n **retain_repo_versions__ne** | **int**| Filter results where retain_repo_versions not equal to value | [optional] \n **retain_repo_versions__range** | [**List[int]**](int.md)| Filter results where retain_repo_versions is between two comma separated values | [optional] \n **with_content** | **str**| Content Unit referenced by HREF/PRN | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedfileFileRepositoryResponseList**](PaginatedfileFileRepositoryResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list_roles**\n> ObjectRolesResponse list_roles(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList roles\n\nList roles assigned to this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.object_roles_response import ObjectRolesResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List roles\n        api_response = api_instance.list_roles(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RepositoriesFileApi->list_roles:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->list_roles: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**ObjectRolesResponse**](ObjectRolesResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **modify**\n> AsyncOperationResponse modify(file_file_repository_href, repository_add_remove_content, x_task_diagnostics=x_task_diagnostics)\n\nModify Repository Content\n\nTrigger an asynchronous task to create a new repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.models.repository_add_remove_content import RepositoryAddRemoveContent\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    repository_add_remove_content = pulpcore.client.pulp_file.RepositoryAddRemoveContent() # RepositoryAddRemoveContent | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Modify Repository Content\n        api_response = api_instance.modify(file_file_repository_href, repository_add_remove_content, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->modify:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->modify: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **my_permissions**\n> MyPermissionsResponse my_permissions(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nList user permissions\n\nList permissions available to the current user on this object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.my_permissions_response import MyPermissionsResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List user permissions\n        api_response = api_instance.my_permissions(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RepositoriesFileApi->my_permissions:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->my_permissions: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**MyPermissionsResponse**](MyPermissionsResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **partial_update**\n> FileFileRepositoryResponse partial_update(file_file_repository_href, patchedfile_file_repository, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file repository\n\nUpdate the entity partially and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse\nfrom pulpcore.client.pulp_file.models.patchedfile_file_repository import PatchedfileFileRepository\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    patchedfile_file_repository = pulpcore.client.pulp_file.PatchedfileFileRepository() # PatchedfileFileRepository | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file repository\n        api_response = api_instance.partial_update(file_file_repository_href, patchedfile_file_repository, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->partial_update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->partial_update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **patchedfile_file_repository** | [**PatchedfileFileRepository**](PatchedfileFileRepository.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> FileFileRepositoryResponse read(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a file repository\n\n FileRepository represents a single file repository, to which content can be synced, added, or removed.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a file repository\n        api_response = api_instance.read(file_file_repository_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RepositoriesFileApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **remove_role**\n> NestedRoleResponse remove_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n\nRemove a role\n\nRemove a role for this object from users/groups.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.nested_role import NestedRole\nfrom pulpcore.client.pulp_file.models.nested_role_response import NestedRoleResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    nested_role = pulpcore.client.pulp_file.NestedRole() # NestedRole | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Remove a role\n        api_response = api_instance.remove_role(file_file_repository_href, nested_role, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->remove_role:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->remove_role: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **nested_role** | [**NestedRole**](NestedRole.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**NestedRoleResponse**](NestedRoleResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **set_label**\n> SetLabelResponse set_label(file_file_repository_href, set_label, x_task_diagnostics=x_task_diagnostics)\n\nSet a label\n\nSet a single pulp_label on the object to a specific value or null.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.set_label import SetLabel\nfrom pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    set_label = pulpcore.client.pulp_file.SetLabel() # SetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Set a label\n        api_response = api_instance.set_label(file_file_repository_href, set_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->set_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->set_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **set_label** | [**SetLabel**](SetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**SetLabelResponse**](SetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **sync**\n> AsyncOperationResponse sync(file_file_repository_href, repository_sync_url, x_task_diagnostics=x_task_diagnostics)\n\nSync from a remote\n\nTrigger an asynchronous task to sync file content.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    repository_sync_url = pulpcore.client.pulp_file.RepositorySyncURL() # RepositorySyncURL | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Sync from a remote\n        api_response = api_instance.sync(file_file_repository_href, repository_sync_url, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->sync:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->sync: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **unset_label**\n> UnsetLabelResponse unset_label(file_file_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n\nUnset a label\n\nUnset a single pulp_label on the object.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.unset_label import UnsetLabel\nfrom pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    unset_label = pulpcore.client.pulp_file.UnsetLabel() # UnsetLabel | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Unset a label\n        api_response = api_instance.unset_label(file_file_repository_href, unset_label, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->unset_label:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->unset_label: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **unset_label** | [**UnsetLabel**](UnsetLabel.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**UnsetLabelResponse**](UnsetLabelResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**201** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **update**\n> FileFileRepositoryResponse update(file_file_repository_href, file_file_repository, x_task_diagnostics=x_task_diagnostics)\n\nUpdate a file repository\n\nUpdate the entity and trigger an asynchronous task if necessary\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.file_file_repository import FileFileRepository\nfrom pulpcore.client.pulp_file.models.file_file_repository_response import FileFileRepositoryResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    file_file_repository = pulpcore.client.pulp_file.FileFileRepository() # FileFileRepository | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Update a file repository\n        api_response = api_instance.update(file_file_repository_href, file_file_repository, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileApi->update:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileApi->update: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **file_file_repository** | [**FileFileRepository**](FileFileRepository.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**FileFileRepositoryResponse**](FileFileRepositoryResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# pulpcore.client.pulp_file.RepositoriesFileVersionsApi\n\nAll URIs are relative to *https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com*\n\nMethod | HTTP request | Description\n------------- | ------------- | -------------\n[**delete**](RepositoriesFileVersionsApi.md#delete) | **DELETE** {file_file_repository_version_href} | Delete a repository version\n[**list**](RepositoriesFileVersionsApi.md#list) | **GET** {file_file_repository_href}versions/ | List repository versions\n[**read**](RepositoriesFileVersionsApi.md#read) | **GET** {file_file_repository_version_href} | Inspect a repository version\n[**repair**](RepositoriesFileVersionsApi.md#repair) | **POST** {file_file_repository_version_href}repair/ | \n\n\n# **delete**\n> AsyncOperationResponse delete(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics)\n\nDelete a repository version\n\nTrigger an asynchronous task to delete a repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)\n    file_file_repository_version_href = 'file_file_repository_version_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        # Delete a repository version\n        api_response = api_instance.delete(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileVersionsApi->delete:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileVersionsApi->delete: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_version_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **list**\n> PaginatedRepositoryVersionResponseList list(file_file_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)\n\nList repository versions\n\n FileRepositoryVersion represents a single file repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)\n    file_file_repository_href = 'file_file_repository_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    content = 'content_example' # str | Content Unit referenced by HREF/PRN (optional)\n    content__in = ['content__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    limit = 56 # int | Number of results to return per page. (optional)\n    number = 56 # int | Filter results where number matches value (optional)\n    number__gt = 56 # int | Filter results where number is greater than value (optional)\n    number__gte = 56 # int | Filter results where number is greater than or equal to value (optional)\n    number__lt = 56 # int | Filter results where number is less than value (optional)\n    number__lte = 56 # int | Filter results where number is less than or equal to value (optional)\n    number__range = [56] # List[int] | Filter results where number is between two comma separated values (optional)\n    offset = 56 # int | The initial index from which to return the results. (optional)\n    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)\n    prn__in = ['prn__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    pulp_created = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created matches value (optional)\n    pulp_created__gt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than value (optional)\n    pulp_created__gte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is greater than or equal to value (optional)\n    pulp_created__isnull = True # bool | Filter results where pulp_created has a null value (optional)\n    pulp_created__lt = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than value (optional)\n    pulp_created__lte = '2013-10-20T19:20:30+01:00' # datetime | Filter results where pulp_created is less than or equal to value (optional)\n    pulp_created__range = ['2013-10-20T19:20:30+01:00'] # List[datetime] | Filter results where pulp_created is between two comma separated values (optional)\n    pulp_href__in = ['pulp_href__in_example'] # List[str] | Multiple values may be separated by commas. (optional)\n    q = 'q_example' # str | Filter results by using NOT, AND and OR operations on other filters (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # List repository versions\n        api_response = api_instance.list(file_file_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)\n        print(\"The response of RepositoriesFileVersionsApi->list:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileVersionsApi->list: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **content** | **str**| Content Unit referenced by HREF/PRN | [optional] \n **content__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **limit** | **int**| Number of results to return per page. | [optional] \n **number** | **int**| Filter results where number matches value | [optional] \n **number__gt** | **int**| Filter results where number is greater than value | [optional] \n **number__gte** | **int**| Filter results where number is greater than or equal to value | [optional] \n **number__lt** | **int**| Filter results where number is less than value | [optional] \n **number__lte** | **int**| Filter results where number is less than or equal to value | [optional] \n **number__range** | [**List[int]**](int.md)| Filter results where number is between two comma separated values | [optional] \n **offset** | **int**| The initial index from which to return the results. | [optional] \n **ordering** | [**List[str]**](str.md)| Ordering  * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `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] \n **prn__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **pulp_created** | **datetime**| Filter results where pulp_created matches value | [optional] \n **pulp_created__gt** | **datetime**| Filter results where pulp_created is greater than value | [optional] \n **pulp_created__gte** | **datetime**| Filter results where pulp_created is greater than or equal to value | [optional] \n **pulp_created__isnull** | **bool**| Filter results where pulp_created has a null value | [optional] \n **pulp_created__lt** | **datetime**| Filter results where pulp_created is less than value | [optional] \n **pulp_created__lte** | **datetime**| Filter results where pulp_created is less than or equal to value | [optional] \n **pulp_created__range** | [**List[datetime]**](datetime.md)| Filter results where pulp_created is between two comma separated values | [optional] \n **pulp_href__in** | [**List[str]**](str.md)| Multiple values may be separated by commas. | [optional] \n **q** | **str**| Filter results by using NOT, AND and OR operations on other filters | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**PaginatedRepositoryVersionResponseList**](PaginatedRepositoryVersionResponseList.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **read**\n> RepositoryVersionResponse read(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n\nInspect a repository version\n\n FileRepositoryVersion represents a single file repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.repository_version_response import RepositoryVersionResponse\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)\n    file_file_repository_version_href = 'file_file_repository_version_href_example' # str | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)\n    exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)\n\n    try:\n        # Inspect a repository version\n        api_response = api_instance.read(file_file_repository_version_href, x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)\n        print(\"The response of RepositoriesFileVersionsApi->read:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileVersionsApi->read: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_version_href** | **str**|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n **fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional] \n **exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional] \n\n### Return type\n\n[**RepositoryVersionResponse**](RepositoryVersionResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: Not defined\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**200** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# **repair**\n> AsyncOperationResponse repair(file_file_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)\n\n\n\nTrigger an asynchronous task to repair a repository version.\n\n### Example\n\n* OAuth Authentication (json_header_remote_authentication):\n* Basic Authentication (basicAuth):\n* Api Key Authentication (cookieAuth):\n\n```python\nimport pulpcore.client.pulp_file\nfrom pulpcore.client.pulp_file.models.async_operation_response import AsyncOperationResponse\nfrom pulpcore.client.pulp_file.models.repair import Repair\nfrom pulpcore.client.pulp_file.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    host = \"https://env-ephemeral-xtzmuk.apps.crc-eph.r9lp.p1.openshiftapps.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconfiguration.access_token = os.environ[\"ACCESS_TOKEN\"]\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_file.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_file.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_file.RepositoriesFileVersionsApi(api_client)\n    file_file_repository_version_href = 'file_file_repository_version_href_example' # str | \n    repair = pulpcore.client.pulp_file.Repair() # Repair | \n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n\n    try:\n        api_response = api_instance.repair(file_file_repository_version_href, repair, x_task_diagnostics=x_task_diagnostics)\n        print(\"The response of RepositoriesFileVersionsApi->repair:\\n\")\n        pprint(api_response)\n    except Exception as e:\n        print(\"Exception when calling RepositoriesFileVersionsApi->repair: %s\\n\" % e)\n```\n\n\n\n### Parameters\n\n\nName | Type | Description  | Notes\n------------- | ------------- | ------------- | -------------\n **file_file_repository_version_href** | **str**|  | \n **repair** | [**Repair**](Repair.md)|  | \n **x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional] \n\n### Return type\n\n[**AsyncOperationResponse**](AsyncOperationResponse.md)\n\n### Authorization\n\n[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)\n\n### HTTP request headers\n\n - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data\n - **Accept**: application/json\n\n### HTTP response details\n\n| Status code | Description | Response headers |\n|-------------|-------------|------------------|\n**202** |  |  -  |\n\n[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)\n\n# RepositoryAddRemoveContent\n\nBase 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.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**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] \n**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] \n**base_version** | **str** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.repository_add_remove_content import RepositoryAddRemoveContent\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of RepositoryAddRemoveContent from a JSON string\nrepository_add_remove_content_instance = RepositoryAddRemoveContent.from_json(json)\n# print the JSON string representation of the object\nprint(RepositoryAddRemoveContent.to_json())\n\n# convert the object into a dict\nrepository_add_remove_content_dict = repository_add_remove_content_instance.to_dict()\n# create an instance of RepositoryAddRemoveContent from a dict\nrepository_add_remove_content_from_dict = RepositoryAddRemoveContent.from_dict(repository_add_remove_content_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# RepositorySyncURL\n\nA mixin for validating unknown serializers' fields.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**remote** | **str** | A remote to sync from. This will override a remote set on repository. | [optional] \n**mirror** | **bool** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to False]\n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.repository_sync_url import RepositorySyncURL\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of RepositorySyncURL from a JSON string\nrepository_sync_url_instance = RepositorySyncURL.from_json(json)\n# print the JSON string representation of the object\nprint(RepositorySyncURL.to_json())\n\n# convert the object into a dict\nrepository_sync_url_dict = repository_sync_url_instance.to_dict()\n# create an instance of RepositorySyncURL from a dict\nrepository_sync_url_from_dict = RepositorySyncURL.from_dict(repository_sync_url_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# RepositoryVersionResponse\n\nBase 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.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**pulp_href** | **str** |  | [optional] [readonly] \n**prn** | **str** | The Pulp Resource Name (PRN). | [optional] [readonly] \n**pulp_created** | **datetime** | Timestamp of creation. | [optional] [readonly] \n**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] \n**number** | **int** |  | [optional] [readonly] \n**repository** | **str** |  | [optional] [readonly] \n**base_version** | **str** | A repository version whose content was used as the initial set of content for this repository version | [optional] \n**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly] \n**vuln_report** | **str** |  | [optional] [readonly] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.repository_version_response import RepositoryVersionResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of RepositoryVersionResponse from a JSON string\nrepository_version_response_instance = RepositoryVersionResponse.from_json(json)\n# print the JSON string representation of the object\nprint(RepositoryVersionResponse.to_json())\n\n# convert the object into a dict\nrepository_version_response_dict = repository_version_response_instance.to_dict()\n# create an instance of RepositoryVersionResponse from a dict\nrepository_version_response_from_dict = RepositoryVersionResponse.from_dict(repository_version_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# SetLabel\n\nSerializer for synchronously setting a label.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**key** | **str** |  | \n**value** | **str** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.set_label import SetLabel\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of SetLabel from a JSON string\nset_label_instance = SetLabel.from_json(json)\n# print the JSON string representation of the object\nprint(SetLabel.to_json())\n\n# convert the object into a dict\nset_label_dict = set_label_instance.to_dict()\n# create an instance of SetLabel from a dict\nset_label_from_dict = SetLabel.from_dict(set_label_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# SetLabelResponse\n\nSerializer for synchronously setting a label.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**key** | **str** |  | \n**value** | **str** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.set_label_response import SetLabelResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of SetLabelResponse from a JSON string\nset_label_response_instance = SetLabelResponse.from_json(json)\n# print the JSON string representation of the object\nprint(SetLabelResponse.to_json())\n\n# convert the object into a dict\nset_label_response_dict = set_label_response_instance.to_dict()\n# create an instance of SetLabelResponse from a dict\nset_label_response_from_dict = SetLabelResponse.from_dict(set_label_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# TaskGroupOperationResponse\n\nSerializer for asynchronous operations that return a task group.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**task_group** | **str** | The href of the task group. | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.task_group_operation_response import TaskGroupOperationResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of TaskGroupOperationResponse from a JSON string\ntask_group_operation_response_instance = TaskGroupOperationResponse.from_json(json)\n# print the JSON string representation of the object\nprint(TaskGroupOperationResponse.to_json())\n\n# convert the object into a dict\ntask_group_operation_response_dict = task_group_operation_response_instance.to_dict()\n# create an instance of TaskGroupOperationResponse from a dict\ntask_group_operation_response_from_dict = TaskGroupOperationResponse.from_dict(task_group_operation_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# UnsetLabel\n\nSerializer for synchronously UNsetting a label.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**key** | **str** |  | \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.unset_label import UnsetLabel\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of UnsetLabel from a JSON string\nunset_label_instance = UnsetLabel.from_json(json)\n# print the JSON string representation of the object\nprint(UnsetLabel.to_json())\n\n# convert the object into a dict\nunset_label_dict = unset_label_instance.to_dict()\n# create an instance of UnsetLabel from a dict\nunset_label_from_dict = UnsetLabel.from_dict(unset_label_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n# UnsetLabelResponse\n\nSerializer for synchronously UNsetting a label.\n\n## Properties\n\nName | Type | Description | Notes\n------------ | ------------- | ------------- | -------------\n**key** | **str** |  | \n**value** | **str** |  | [optional] [readonly] \n\n## Example\n\n```python\nfrom pulpcore.client.pulp_file.models.unset_label_response import UnsetLabelResponse\n\n# TODO update the JSON string below\njson = \"{}\"\n# create an instance of UnsetLabelResponse from a JSON string\nunset_label_response_instance = UnsetLabelResponse.from_json(json)\n# print the JSON string representation of the object\nprint(UnsetLabelResponse.to_json())\n\n# convert the object into a dict\nunset_label_response_dict = unset_label_response_instance.to_dict()\n# create an instance of UnsetLabelResponse from a dict\nunset_label_response_from_dict = UnsetLabelResponse.from_dict(unset_label_response_dict)\n```\n[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)\n\n\n",
    "bugtrack_url": null,
    "license": "GPLv2+",
    "summary": "Pulp 3 API",
    "version": "20251030.1",
    "project_urls": null,
    "split_keywords": [
        "pulp",
        " pulpcore",
        " client",
        " pulp 3 api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8f8d1a4aba94d5ff91755b24721f3a71cd8a20602c5d6b2d2f7166094d0f10ff",
                "md5": "28d32f836a893825c292c030744b9aed",
                "sha256": "a04cbf0cf2d6a6a34f8281c6c07733e5ba7a58b19f17982863e0f76d3e80b062"
            },
            "downloads": -1,
            "filename": "crc_pulp_file_client-20251030.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "28d32f836a893825c292c030744b9aed",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 165133,
            "upload_time": "2025-10-30T12:27:57",
            "upload_time_iso_8601": "2025-10-30T12:27:57.131498Z",
            "url": "https://files.pythonhosted.org/packages/8f/8d/1a4aba94d5ff91755b24721f3a71cd8a20602c5d6b2d2f7166094d0f10ff/crc_pulp_file_client-20251030.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fa15bcc112e707e862a627b7b7fa612e65962f463a13c0d1b0fc72a17113386c",
                "md5": "03cacc3f9b60df276f48faac6f7d8e85",
                "sha256": "3936916e7d4f648db6dc218d02c2ed5aa39803f31e932c955d06e483ec814036"
            },
            "downloads": -1,
            "filename": "crc_pulp_file_client-20251030.1.tar.gz",
            "has_sig": false,
            "md5_digest": "03cacc3f9b60df276f48faac6f7d8e85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 135336,
            "upload_time": "2025-10-30T12:27:58",
            "upload_time_iso_8601": "2025-10-30T12:27:58.920407Z",
            "url": "https://files.pythonhosted.org/packages/fa/15/bcc112e707e862a627b7b7fa612e65962f463a13c0d1b0fc72a17113386c/crc_pulp_file_client-20251030.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-30 12:27:58",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "crc-pulp-file-client"
}
        
Elapsed time: 1.02248s