Internal site. Jolli authentication required to view.
Skip to Content
API ReferenceInput ConnectorsPOST /v0/pipelines/{pipeline_name}/tables/{table_name}/connectors/{connector_name}/{action}

Control Input Connector

POST/v0/pipelines/{pipeline_name}/tables/{table_name}/connectors/{connector_name}/{action}Input Connectors

Try it

POST/v0/pipelines/{pipeline_name}/tables/{table_name}/connectors/{connector_name}/{action}
Authentication
Parameters

Start (resume) or pause the input connector.

The following values of the action argument are accepted: start and pause.

Input connectors can be in either the Running or Paused state. By default, connectors are initialized in the Running state when a pipeline is deployed. In this state, the connector actively fetches data from its configured data source and forwards it to the pipeline. If needed, a connector can be created in the Paused state by setting its paused property to true. When paused, the connector remains idle until reactivated using the start command. Conversely, a connector in the Running state can be paused at any time by issuing the pause command.

The current connector state can be retrieved via the GET /v0/pipelines/\{pipeline_name\}/stats endpoint.

Note that only if both the pipeline and the connector state is Running, is the input connector active.

Pipeline state Connector state Connector is active? -------------- --------------- -------------------- Paused Paused No Paused Running No Running Paused No Running Running Yes

Authentication

  • JSON web token (JWT) or API keyBearer token

Parameters

Path parameters

NameTypeRequiredDescription
pipeline_namestringYesUnique pipeline name
table_namestringYesSQL table name
connector_namestringYesInput connector name
actionstringYes

Response

200Action has been processed
404Pipeline, table and/or input connector with that name does not existapplication/json
  • object
    Information returned by REST API endpoints on error.
    • detailsobjectrequired
      Detailed error metadata. The contents of this field is determined by `error_code`.
    • error_codestringrequired
      Error code is a string that specifies this error type.
    • messagestringrequired
      Human-readable error message.
500application/json
  • object
    Information returned by REST API endpoints on error.
    • detailsobjectrequired
      Detailed error metadata. The contents of this field is determined by `error_code`.
    • error_codestringrequired
      Error code is a string that specifies this error type.
    • messagestringrequired
      Human-readable error message.
503application/json
  • object
    Information returned by REST API endpoints on error.
    • detailsobjectrequired
      Detailed error metadata. The contents of this field is determined by `error_code`.
    • error_codestringrequired
      Error code is a string that specifies this error type.
    • messagestringrequired
      Human-readable error message.
Request
curl -X POST 'https://api.example.com/v0/pipelines/{pipeline_name}/tables/{table_name}/connectors/{connector_name}/{action}' \ -H 'Authorization: Bearer YOUR_TOKEN'