V1::IntegrationsController

Integrations

index

Get a list of integrations

URL

GET /integrations

Objeto resposta

Array<integration>

The created integrations

show

Get a integration information

URL

GET /integrations/:id or

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

of the integration

Objeto resposta

integration

The requested integration

create

Create new integration

URL

POST /integrations

Parâmetros obrigatórios

Nome Tipo Descrição
integration Hash

The integration to create

integration[owner_type] String

The type of the owner

integration[owner_id] Integer

The id of the owner

Parâmetros opcionais

Nome Tipo Descrição
integration[metadata] Hash

Events to trigger

integration[metaconfig] Hash

Integration config

integration[active] Boolean

The status of the integration

integration[type] String

The type of the integration

Objeto resposta

integration

The created integration or a list of errors

update

Update an existing integration and redirect to 'show' action

URL

PUT/PATCH /integrations/:id

Parâmetros obrigatórios

Nome Tipo Descrição
integration Hash

The integration to create

integration[owner_type] String

The type of the owner

integration[owner_id] Integer

The id of the owner

Parâmetros opcionais

Nome Tipo Descrição
integration[metadata] Hash

Events to trigger

integration[metaconfig] Hash

Integration config

integration[active] Boolean

The status of the integration

integration[type] String

The type of the integration

Objeto resposta

integration

The created integration or a list of errors

destroy

Destroy integration

URL

DELETE /integrations/:id

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

Id of an integration

suggestions

Send integration suggestion

URL

POST /integrations/suggestions