event-sources

Create Event Source

Creates an event source.

Args: event_source: EventSource to register.

Returns: The created event source.

Raises: ValueError: If the plugin for an event source is not a valid event source plugin.

post/api/v1/event-sources

Request body

userstring uuid required
workspacestring uuid required
namestring required
flavorstring required
plugin_subtype'webhook' | 'pipeline_run' required

All possible types of Plugins.

descriptionstring
configurationobject required

Response

Successful Response

idstring uuid required
permission_deniedboolean
namestring required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.