Get Webhook Events – Management API – MediaKind

Get Webhook Events

get https://app.mk.io/api/v1/projects/:project_name/webhook/rules/:rule_name/events

Get Events processed for the Webhook Rule.

RBAC Capability Required: webhooks.config.get

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

Parameter Type Required Description
project_name string Yes Name of the project
rule_name string Yes Name of the rule

Response

200 A single Webhook Rule

@odata.nextLink URL if the page length and number of items match.

Supplemental info:

Number of items returned

Type of items in the list

Operation type. Should always say 'list'

Pagination info: - end integer Required - records integer Required - start integer Required - total integer Required

Project info:

A list of Events for a Webhook rule:

Path to the resource that triggered the Event.

Event send status.

Allowed values: Pending, Retrying, Failed, Sent

The type of the Event.

Allowed values: MediaKind.JobStarted, MediaKind.JobFinished, MediaKind.StreamingLocatorCreated, MediaKind.ChannelInstanceStarted, MediaKind.ChannelInstanceStopped, MediaKind.ChannelInstanceError, MediaKind.ScheduledOperationAccepted, MediaKind.ScheduledOperationCompleted, MediaKind.ScheduledOperationError, MediaKind.ScheduledOperationOngoing

Errors

Pertinent information about the error: - code string Required - detail string Required - extraDetail map from strings to any Optional

  Extra information regarding this error.
- `ref` string Required
- `status` integer Required

Pertinent information about the error: - code string Required - detail string Required - extraDetail map from strings to any Optional - ref string Required - status integer Required