ChannelsApi - axios parameter creator

  • Parameters

    Returns {
        getAllChannelFeatures: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getChannelFeatures: ((channelId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getChannelItems: ((channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: SortOrder[], filters?: ItemFilter[], sortBy?: ItemSortBy[], fields?: ItemFields[], options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getChannels: ((userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getLatestChannelItems: ((userId?: string, startIndex?: number, limit?: number, filters?: ItemFilter[], fields?: ItemFields[], channelIds?: string[], options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • getAllChannelFeatures: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get all channel features.

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

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getChannelFeatures: ((channelId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get channel features.

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

          • channelId: string

            Channel id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getChannelItems: ((channelId: string, folderId?: string, userId?: string, startIndex?: number, limit?: number, sortOrder?: SortOrder[], filters?: ItemFilter[], sortBy?: ItemSortBy[], fields?: ItemFields[], options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Get channel items.

        • (channelId, folderId?, userId?, startIndex?, limit?, sortOrder?, filters?, sortBy?, fields?, options?): Promise<RequestArgs>
        • Parameters

          • channelId: string

            Channel Id.

          • OptionalfolderId: string

            Optional. Folder Id.

          • OptionaluserId: string

            Optional. User Id.

          • OptionalstartIndex: number

            Optional. The record index to start at. All items with a lower index will be dropped from the results.

          • Optionallimit: number

            Optional. The maximum number of records to return.

          • OptionalsortOrder: SortOrder[]

            Optional. Sort Order - Ascending,Descending.

          • Optionalfilters: ItemFilter[]

            Optional. Specify additional filters to apply.

          • OptionalsortBy: ItemSortBy[]

            Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.

          • Optionalfields: ItemFields[]

            Optional. Specify additional fields of information to return in the output.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getChannels: ((userId?: string, startIndex?: number, limit?: number, supportsLatestItems?: boolean, supportsMediaDeletion?: boolean, isFavorite?: boolean, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets available channels.

        • (userId?, startIndex?, limit?, supportsLatestItems?, supportsMediaDeletion?, isFavorite?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserId: string

            User Id to filter by. Use System.Guid.Empty to not filter by user.

          • OptionalstartIndex: number

            Optional. The record index to start at. All items with a lower index will be dropped from the results.

          • Optionallimit: number

            Optional. The maximum number of records to return.

          • OptionalsupportsLatestItems: boolean

            Optional. Filter by channels that support getting latest items.

          • OptionalsupportsMediaDeletion: boolean

            Optional. Filter by channels that support media deletion.

          • OptionalisFavorite: boolean

            Optional. Filter by channels that are favorite.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getLatestChannelItems: ((userId?: string, startIndex?: number, limit?: number, filters?: ItemFilter[], fields?: ItemFields[], channelIds?: string[], options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets latest channel items.

        • (userId?, startIndex?, limit?, filters?, fields?, channelIds?, options?): Promise<RequestArgs>
        • Parameters

          • OptionaluserId: string

            Optional. User Id.

          • OptionalstartIndex: number

            Optional. The record index to start at. All items with a lower index will be dropped from the results.

          • Optionallimit: number

            Optional. The maximum number of records to return.

          • Optionalfilters: ItemFilter[]

            Optional. Specify additional filters to apply.

          • Optionalfields: ItemFields[]

            Optional. Specify additional fields of information to return in the output.

          • OptionalchannelIds: string[]

            Optional. Specify one or more channel id&#39;s, comma delimited.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>