Skip to main content

EventDestinationAdapterInfo

A way to send events. Use configSchema and authSchema to build the config and auth of createEventDestination, and configUiSchema and authUiSchema to show them in a form.

type EventDestinationAdapterInfo {
id: EventDestinationAdapter!
name: String!
description: String!
configSchema: Map!
authSchema: Map!
configUiSchema: Map!
authUiSchema: Map!
signs: Boolean!
}

Fields​

EventDestinationAdapterInfo.id ● EventDestinationAdapter! non-null enum {#id}​

The value to pass as adapter.

EventDestinationAdapterInfo.name ● String! non-null scalar {#name}​

Display name.

EventDestinationAdapterInfo.description ● String! non-null scalar {#description}​

What the adapter does with each event.

EventDestinationAdapterInfo.configSchema ● Map! non-null scalar {#config-schema}​

JSON schema of a destination's config: where and how events are sent. The API returns it.

EventDestinationAdapterInfo.authSchema ● Map! non-null scalar {#auth-schema}​

JSON schema of a destination's auth: the credentials used to send events. The API never returns it.

EventDestinationAdapterInfo.configUiSchema ● Map! non-null scalar {#config-ui-schema}​

UI hints describing how to render the config form.

Follows react-jsonschema-form's uiSchema conventions: keys mirror configSchema's structure and values contain rendering directives. A map of string values uses ui:field: keyValueRows, a Massdriver field that shows name and value rows. Other clients need their own field for it. Returns an empty object when the adapter has no UI hints for config.

EventDestinationAdapterInfo.authUiSchema ● Map! non-null scalar {#auth-ui-schema}​

UI hints describing how to render the auth form.

Follows react-jsonschema-form's uiSchema conventions: keys mirror authSchema's structure and values contain rendering directives. A secret uses ui:widget: password, and a map of string values uses ui:field: keyValueRows, a Massdriver field that shows name and value rows. Returns an empty object when the adapter has no UI hints for auth.

EventDestinationAdapterInfo.signs ● Boolean! non-null scalar {#signs}​

Whether destinations get a signingSecret that signs each event.

Member Of​

EventDestinationAdaptersPage object