public class ErrorApi extends Object
Modifier and Type | Field and Description |
---|---|
CustomdataApi |
customdata |
Constructor and Description |
---|
ErrorApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<ErrorApi> |
builder()
Fluent builder for creating an instance of ErrorApi
|
Webhook |
create(Webhook webhook)
Add 'Encoding Error' Webhook
|
Webhook |
createByEncodingId(String encodingId,
Webhook webhook)
Add Error Webhook for a specific Encoding
|
BitmovinResponse |
deleteByEncodingIdAndWebhookId(String encodingId,
String webhookId)
Delete 'Encoding Error' Webhook for a specific Encoding
|
BitmovinResponse |
deleteByWebhookId(String webhookId)
Delete 'Encoding Error' Webhook
|
Webhook |
getByEncodingIdAndWebhookId(String encodingId,
String webhookId)
'Encoding Error' Webhook Details for a specific Encoding
|
Webhook |
getByWebhookId(String webhookId)
'Encoding Error' Webhook Details
|
PaginationResponse<Webhook> |
list()
List 'Encoding Error' Webhooks
|
PaginationResponse<Webhook> |
list(WebhookListQueryParams queryParams)
List 'Encoding Error' Webhooks
|
PaginationResponse<Webhook> |
listByEncodingId(String encodingId)
List 'Encoding Error' Webhooks for a specific Encoding
|
PaginationResponse<Webhook> |
listByEncodingId(String encodingId,
WebhookListByEncodingIdQueryParams queryParams)
List 'Encoding Error' Webhooks for a specific Encoding
|
public final CustomdataApi customdata
public ErrorApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ErrorApi> builder()
public Webhook create(Webhook webhook) throws BitmovinException
webhook
- The 'Encoding Error' Webhook to be added. A maximum number of 5 webhooks is allowed (required)BitmovinException
- if fails to make API callpublic Webhook createByEncodingId(String encodingId, Webhook webhook) throws BitmovinException
encodingId
- Id of the encoding (required)webhook
- The 'Encoding Error' Webhook to be added. A maximum number of 5 webhooks per Encoding is allowed (required)BitmovinException
- if fails to make API callpublic BitmovinResponse deleteByEncodingIdAndWebhookId(String encodingId, String webhookId) throws BitmovinException
encodingId
- Id of the encoding (required)webhookId
- Id of the webhook (required)BitmovinException
- if fails to make API callpublic BitmovinResponse deleteByWebhookId(String webhookId) throws BitmovinException
webhookId
- Id of the webhook (required)BitmovinException
- if fails to make API callpublic Webhook getByEncodingIdAndWebhookId(String encodingId, String webhookId) throws BitmovinException
encodingId
- Id of the encoding (required)webhookId
- Id of the webhook (required)BitmovinException
- if fails to make API callpublic Webhook getByWebhookId(String webhookId) throws BitmovinException
webhookId
- Id of the webhook (required)BitmovinException
- if fails to make API callpublic PaginationResponse<Webhook> list() throws BitmovinException
BitmovinException
- if fails to make API callpublic PaginationResponse<Webhook> list(WebhookListQueryParams queryParams) throws BitmovinException
queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callpublic PaginationResponse<Webhook> listByEncodingId(String encodingId) throws BitmovinException
encodingId
- Id of the encoding (required)BitmovinException
- if fails to make API callpublic PaginationResponse<Webhook> listByEncodingId(String encodingId, WebhookListByEncodingIdQueryParams queryParams) throws BitmovinException
encodingId
- Id of the encoding (required)queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callCopyright © 2022. All rights reserved.