public class ErrorApi extends Object
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 'Manifest Error' Webhook (All Manifests)
|
Webhook |
createByManifestId(String manifestId,
Webhook webhook)
Add 'Manifest Error' Webhook Notification (Specific Manifest)
|
BitmovinResponse |
delete(String notificationId)
Delete 'Manifest Error' Webhook
|
Webhook |
update(String notificationId,
Webhook webhook)
Replace 'Manifest Error' Webhook Notification
|
public ErrorApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ErrorApi> builder()
public Webhook create(Webhook webhook) throws BitmovinException
webhook
- Add a new webhook notification if a manifest creation failed with an error. A maximum number of 5 webhooks is allowed (required)BitmovinException
- if fails to make API callpublic Webhook createByManifestId(String manifestId, Webhook webhook) throws BitmovinException
manifestId
- Id of the manifest resource (required)webhook
- The webhook notifications object. A maximum number of 5 webhooks per Manifest is allowed (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String notificationId) throws BitmovinException
notificationId
- Id of the webhook notification (required)BitmovinException
- if fails to make API callpublic Webhook update(String notificationId, Webhook webhook) throws BitmovinException
notificationId
- Id of the webhook notification (required)webhook
- The webhook notification with the updated values (required)BitmovinException
- if fails to make API callCopyright © 2021. All rights reserved.