UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

28 lines (27 loc) 1.02 kB
import { BaseAPI } from '../../../../../../common/BaseAPI'; import Configuration from '../../../../../../common/Configuration'; import CustomData from '../../../../../../models/CustomData'; /** * CustomdataApi - object-oriented interface * @export * @class CustomdataApi * @extends {BaseAPI} */ export default class CustomdataApi extends BaseAPI { constructor(configuration: Configuration); /** * @summary 'Encoding Error' Webhook Custom Data for a specific Encoding * @param {string} encodingId Id of the encoding * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof CustomdataApi */ getCustomDataByEncodingIdAndWebhookId(encodingId: string, webhookId: string): Promise<CustomData>; /** * @summary 'Encoding Error' Webhook Custom Data * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof CustomdataApi */ getCustomDataByWebhookId(webhookId: string): Promise<CustomData>; }