v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-27192307552.2 KB
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