jellyfin-sdk-swift/docs/BrandingAPI.md
PangMo5 56900dbf48 Add generate parameters
Add templates
Add api.json
2021-06-05 04:29:33 +09:00

3.6 KiB

BrandingAPI

All URIs are relative to http://localhost:8096

Method HTTP request Description
getBrandingCss GET /Branding/Css Gets branding css.
getBrandingCss2 GET /Branding/Css.css Gets branding css.
getBrandingOptions GET /Branding/Configuration Gets branding configuration.

getBrandingCss

    open class func getBrandingCss(completion: @escaping (_ data: String?, _ error: Error?) -> Void)

Gets branding css.

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import JellyfinAPI


// Gets branding css.
BrandingAPI.getBrandingCss() { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

This endpoint does not need any parameter.

Return type

String

Authorization

No authorization required

HTTP request headers

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

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

getBrandingCss2

    open class func getBrandingCss2(completion: @escaping (_ data: String?, _ error: Error?) -> Void)

Gets branding css.

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import JellyfinAPI


// Gets branding css.
BrandingAPI.getBrandingCss2() { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

This endpoint does not need any parameter.

Return type

String

Authorization

No authorization required

HTTP request headers

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

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

getBrandingOptions

    open class func getBrandingOptions(completion: @escaping (_ data: BrandingOptions?, _ error: Error?) -> Void)

Gets branding configuration.

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import JellyfinAPI


// Gets branding configuration.
BrandingAPI.getBrandingOptions() { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

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

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