jellyfin.generated.api_10_10.BrandingApi

All URIs are relative to http://localhost

Method HTTP request Description
get_branding_css GET /Branding/Css Gets branding css.
get_branding_css2 GET /Branding/Css.css Gets branding css.
get_branding_options GET /Branding/Configuration Gets branding configuration.

get_branding_css

str get_branding_css()

Gets branding css.

Example

import jellyfin.generated.api_10_10
from jellyfin.generated.api_10_10 import ApiClient, Configuration
from jellyfin.generated.api_10_10.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = Configuration(
    host = "http://localhost"
)

# Enter a context with an instance of the API client
with ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = jellyfin.generated.api_10_10.BrandingApi(api_client)

    try:
        # Gets branding css.
        api_response = api_instance.get_branding_css()
        print("The response of BrandingApi->get_branding_css:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling BrandingApi->get_branding_css: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

str

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/css, application/json, application/json; profile="CamelCase", application/json; profile="PascalCase"

HTTP response details

Status code Description Response headers
200 Branding css returned. -
204 No branding css configured. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_branding_css2

str get_branding_css2()

Gets branding css.

Example

import jellyfin.generated.api_10_10
from jellyfin.generated.api_10_10 import ApiClient, Configuration
from jellyfin.generated.api_10_10.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = Configuration(
    host = "http://localhost"
)

# Enter a context with an instance of the API client
with ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = jellyfin.generated.api_10_10.BrandingApi(api_client)

    try:
        # Gets branding css.
        api_response = api_instance.get_branding_css2()
        print("The response of BrandingApi->get_branding_css2:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling BrandingApi->get_branding_css2: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

str

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/css, application/json, application/json; profile="CamelCase", application/json; profile="PascalCase"

HTTP response details

Status code Description Response headers
200 Branding css returned. -
204 No branding css configured. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_branding_options

BrandingOptions get_branding_options()

Gets branding configuration.

Example

import jellyfin.generated.api_10_10
from jellyfin.generated.api_10_10 import ApiClient, Configuration
from jellyfin.generated.api_10_10.models.branding_options import BrandingOptions
from jellyfin.generated.api_10_10.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = Configuration(
    host = "http://localhost"
)

# Enter a context with an instance of the API client
with ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = jellyfin.generated.api_10_10.BrandingApi(api_client)

    try:
        # Gets branding configuration.
        api_response = api_instance.get_branding_options()
        print("The response of BrandingApi->get_branding_options:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling BrandingApi->get_branding_options: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

BrandingOptions

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/json; profile="CamelCase", application/json; profile="PascalCase"

HTTP response details

Status code Description Response headers
200 Branding configuration returned. -

[Back to top] [Back to API list] [Back to Model list] [Back to README]