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
|
PaginationResponse<Webhook> |
create(Webhook webhook)
Add Manifest Error Webhook (All Manifests)
|
Webhook |
createByManifestId(String manifestId,
Webhook webhook)
Add Manifest Error Webhook Notification (Specific Manifest)
|
Webhook |
update(String notificationId,
Webhook webhook)
Replace Manifest Error Webhook Notification
|
public ErrorApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<ErrorApi> builder()
public PaginationResponse<Webhook> create(Webhook webhook) throws BitmovinException
webhook
- Add a new webhook notification if a manifest creation failed with an error (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 (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 © 2019. All rights reserved.