@jellyfin/sdk
    Preparing search index...

    Function MediaSegmentsApiFp

    • MediaSegmentsApi - functional programming interface

      Parameters

      Returns {
          getItemSegments(
              itemId: string,
              includeSegmentTypes?: MediaSegmentType[],
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<MediaSegmentDtoQueryResult>,
          >;
      }

      • getItemSegments: function
        • Parameters

          • itemId: string

            The ItemId.

          • OptionalincludeSegmentTypes: MediaSegmentType[]

            Optional filter of requested segment types.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<MediaSegmentDtoQueryResult>,
          >