UserViewsApi - axios parameter creator

  • Parameters

    Returns {
        getGroupingOptions: ((userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getUserViews: ((userId?: string, includeExternalContent?: boolean, presetViews?: CollectionType[], includeHidden?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • getGroupingOptions: ((userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get user view grouping options.

        • (userId?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserId: string

            User id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getUserViews: ((userId?: string, includeExternalContent?: boolean, presetViews?: CollectionType[], includeHidden?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get user views.

        • (userId?, includeExternalContent?, presetViews?, includeHidden?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserId: string

            User id.

          • OptionalincludeExternalContent: boolean

            Whether or not to include external views such as channels or live tv.

          • OptionalpresetViews: CollectionType[]

            Preset views.

          • OptionalincludeHidden: boolean

            Whether or not to include hidden content.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>