EventRouter Service, REST: Connector.List
Retrieves the list of connectors in the specified folder.
HTTP request
GET https://serverless-eventrouter.api.cloud.yandex.net/eventrouter/v1/connectors
Query parameters
Field |
Description |
busId |
string ID of the bus to list connectors in. Includes only one of the fields ID of the folder or bus to list connectors in. |
folderId |
string ID of the folder to list connectors in. Includes only one of the fields ID of the folder or bus to list connectors in. |
pageSize |
string (int64) The maximum number of results per response. |
pageToken |
string Page token. To get the next page of results, set |
filter |
string Supported fields for filter: |
Response
HTTP Code: 200 - OK
{
"connectors": [
{
"id": "string",
"busId": "string",
"folderId": "string",
"cloudId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"source": {
// Includes only one of the fields `dataStream`, `messageQueue`, `timer`
"dataStream": {
"database": "string",
"streamName": "string",
"consumer": "string",
"serviceAccountId": "string"
},
"messageQueue": {
"queueArn": "string",
"serviceAccountId": "string",
"visibilityTimeout": "string",
"batchSize": "string",
"pollingTimeout": "string"
},
"timer": {
"cronExpression": "string",
"timeZone": "string",
"payload": "string"
}
// end of the list of possible fields
},
"deletionProtection": "boolean",
"status": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
connectors[] |
List of connectors. |
nextPageToken |
string Token for getting the next page of the list of results. |
Connector
Field |
Description |
id |
string ID of the connector. |
busId |
string ID of the bus that the connector belongs to. |
folderId |
string ID of the folder that the connector resides in. |
cloudId |
string ID of the cloud that the connector resides in. |
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the connector. |
description |
string Description of the connector. |
labels |
object (map<string, string>) Resource labels as |
source |
Source of the connector. |
deletionProtection |
boolean Deletion protection. |
status |
enum (Status) Status of the connector.
|
Source
Field |
Description |
dataStream |
Includes only one of the fields |
messageQueue |
Includes only one of the fields |
timer |
Includes only one of the fields |
DataStream
Field |
Description |
database |
string Required field. Stream database. |
streamName |
string Required field. Stream name, absolute or relative. |
consumer |
string Required field. Consumer name. |
serviceAccountId |
string Required field. Service account which has read permission on the stream. |
MessageQueue
Field |
Description |
queueArn |
string Required field. Queue ARN. |
serviceAccountId |
string Required field. Service account which has read access to the queue. |
visibilityTimeout |
string (duration) Queue visibility timeout override. |
batchSize |
string (int64) Batch size for polling. |
pollingTimeout |
string (duration) Queue polling timeout. |
Timer
Field |
Description |
cronExpression |
string Required field. cron expression, with second precision |
timeZone |
string time zone, e.g. Europe/Moscow |
payload |
string payload to send to target |