UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

45 lines (44 loc) 1.96 kB
import { BaseAPI } from '../../../../../../common/BaseAPI'; import Configuration from '../../../../../../common/Configuration'; import TypeApi from './type/TypeApi'; import VttApi from './vtt/VttApi'; import ImscApi from './imsc/ImscApi'; import SpriteApi from './sprite/SpriteApi'; import Fmp4Api from './fmp4/Fmp4Api'; import ChunkedTextApi from './chunkedText/ChunkedTextApi'; import CmafApi from './cmaf/CmafApi'; import Mp4Api from './mp4/Mp4Api'; import WebmApi from './webm/WebmApi'; import ProgressiveWebmApi from './progressiveWebm/ProgressiveWebmApi'; import DashRepresentation from '../../../../../../models/DashRepresentation'; import PaginationResponse from '../../../../../../models/PaginationResponse'; import { DashRepresentationListQueryParams, DashRepresentationListQueryParamsBuilder } from './DashRepresentationListQueryParams'; /** * RepresentationsApi - object-oriented interface * @export * @class RepresentationsApi * @extends {BaseAPI} */ export default class RepresentationsApi extends BaseAPI { type: TypeApi; vtt: VttApi; imsc: ImscApi; sprite: SpriteApi; fmp4: Fmp4Api; chunkedText: ChunkedTextApi; cmaf: CmafApi; mp4: Mp4Api; webm: WebmApi; progressiveWebm: ProgressiveWebmApi; constructor(configuration: Configuration); /** * @summary List all DASH Representations * @param {string} manifestId Id of the manifest * @param {string} periodId Id of the period * @param {string} adaptationsetId Id of the adaptation set * @param {*} [queryParameters] query parameters for filtering, sorting and pagination * @throws {BitmovinError} * @memberof RepresentationsApi */ list(manifestId: string, periodId: string, adaptationsetId: string, queryParameters?: DashRepresentationListQueryParams | ((q: DashRepresentationListQueryParamsBuilder) => DashRepresentationListQueryParamsBuilder)): Promise<PaginationResponse<DashRepresentation>>; }