List Connectors
POST
/v2/connectors/list
const url = 'http://localhost:3000/v2/connectors/list';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"id":"api.connectors.list","ver":"v2","ts":"2024-04-10T16:10:50+05:30","params":{"msgid":"4a7f14c3-d61e-4d4f-be78-181834eeff6d"},"request":{"filters":{"status":["Draft"]}}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/v2/connectors/list \ --header 'Content-Type: application/json' \ --data '{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-04-10T16:10:50+05:30", "params": { "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d" }, "request": { "filters": { "status": [ "Draft" ] } } }'Request Body
Section titled “Request Body ” Media type application/json
object
Example
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-04-10T16:10:50+05:30", "params": { "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d" }, "request": { "filters": { "status": [ "Draft" ] } }}Responses
Section titled “ Responses ”OK
Media type application/json
object
Examples
Success: Filtered based on status
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-07-30T15:25:51+05:30", "params": { "status": "SUCCESS", "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d", "resmsgid": "f506e725-eed4-41df-86dc-2477d5c4d19a" }, "responseCode": "OK", "result": { "data": [], "count": 0 }}Success: Filtered based on category
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-07-31T18:55:03+05:30", "params": { "status": "SUCCESS", "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d", "resmsgid": "e3a0dbff-daad-4bdd-abd4-6bb5e1e30cab" }, "responseCode": "OK", "result": { "data": [ { "id": "postgres-connector-1.0.0", "connector_id": "postgres-connector", "name": "PostgreSQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The PostgreSQL Connector is used to move data from any Postgres Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Postgresql_elephant.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.732Z", "updated_date": "2024-06-25T04:38:28.732Z", "live_date": "2024-06-25T04:38:28.732Z" }, { "id": "mysql-connector-1.0.0", "connector_id": "mysql-connector", "name": "MySQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MySQL Connector is used to move data from any MySQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/en/6/62/MySQL.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.834Z", "updated_date": "2024-06-25T04:38:28.834Z", "live_date": "2024-06-25T04:38:28.834Z" }, { "id": "oracle-connector-1.0.0", "connector_id": "oracle-connector", "name": "Oracle", "type": "source", "category": "Database", "version": "1.0.0", "description": "The Oracle Connector is used to move data from any Oracle Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/5/50/Oracle_logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.840Z", "updated_date": "2024-06-25T04:38:28.840Z", "live_date": "2024-06-25T04:38:28.840Z" }, { "id": "mssql-connector-1.0.0", "connector_id": "mssql-connector", "name": "MS SQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MS SQL Connector is used to move data from any MS SQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Microsoft_SQL_Server_Logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.847Z", "updated_date": "2024-06-25T04:38:28.847Z", "live_date": "2024-06-25T04:38:28.847Z" } ], "count": 4 }}Success: Connectors list with all filter options
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-07-31T18:56:32+05:30", "params": { "status": "SUCCESS", "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d", "resmsgid": "11a2f537-bd98-405b-97e5-0f0d5b86b2c3" }, "responseCode": "OK", "result": { "data": [ { "id": "postgres-connector-1.0.0", "connector_id": "postgres-connector", "name": "PostgreSQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The PostgreSQL Connector is used to move data from any Postgres Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Postgresql_elephant.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.732Z", "updated_date": "2024-06-25T04:38:28.732Z", "live_date": "2024-06-25T04:38:28.732Z" }, { "id": "mysql-connector-1.0.0", "connector_id": "mysql-connector", "name": "MySQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MySQL Connector is used to move data from any MySQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/en/6/62/MySQL.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.834Z", "updated_date": "2024-06-25T04:38:28.834Z", "live_date": "2024-06-25T04:38:28.834Z" }, { "id": "oracle-connector-1.0.0", "connector_id": "oracle-connector", "name": "Oracle", "type": "source", "category": "Database", "version": "1.0.0", "description": "The Oracle Connector is used to move data from any Oracle Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/5/50/Oracle_logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.840Z", "updated_date": "2024-06-25T04:38:28.840Z", "live_date": "2024-06-25T04:38:28.840Z" }, { "id": "mssql-connector-1.0.0", "connector_id": "mssql-connector", "name": "MS SQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MS SQL Connector is used to move data from any MS SQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Microsoft_SQL_Server_Logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.847Z", "updated_date": "2024-06-25T04:38:28.847Z", "live_date": "2024-06-25T04:38:28.847Z" }, { "id": "aws-s3-connector-0.1.0", "connector_id": "aws-s3-connector", "name": "AWS S3", "type": "source", "category": "File", "version": "0.1.0", "description": "The AWS S3 Connector is used to move data from any S3 Bucket to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/b/bc/Amazon-S3-Logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.237Z", "updated_date": "2024-06-25T04:39:21.237Z", "live_date": "2024-06-25T04:39:21.237Z" }, { "id": "azure-blob-connector-0.1.0", "connector_id": "azure-blob-connector", "name": "Azure Blob Store", "type": "source", "category": "File", "version": "0.1.0", "description": "The Azure Blob Store Connector is used to move data from any Azure Blob Container to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Microsoft_Azure.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.302Z", "updated_date": "2024-06-25T04:39:21.302Z", "live_date": "2024-06-25T04:39:21.302Z" }, { "id": "gcs-connector-0.1.0", "connector_id": "gcs-connector", "name": "Google Cloud Storage", "type": "source", "category": "File", "version": "0.1.0", "description": "The GCS Connector is used to move data from any Google Bucket to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/51/Google_Cloud_logo.svg/512px-Google_Cloud_logo.svg.png", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.364Z", "updated_date": "2024-06-25T04:39:21.364Z", "live_date": "2024-06-25T04:39:21.364Z" } ], "count": 7 }}Success: Connectors list without filters
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-07-31T18:57:37+05:30", "params": { "status": "SUCCESS", "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d", "resmsgid": "c2467e01-0a2d-401c-aa3d-dd16b804f723" }, "responseCode": "OK", "result": { "data": [ { "id": "postgres-connector-1.0.0", "connector_id": "postgres-connector", "name": "PostgreSQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The PostgreSQL Connector is used to move data from any Postgres Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Postgresql_elephant.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.732Z", "updated_date": "2024-06-25T04:38:28.732Z", "live_date": "2024-06-25T04:38:28.732Z" }, { "id": "mysql-connector-1.0.0", "connector_id": "mysql-connector", "name": "MySQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MySQL Connector is used to move data from any MySQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/en/6/62/MySQL.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.834Z", "updated_date": "2024-06-25T04:38:28.834Z", "live_date": "2024-06-25T04:38:28.834Z" }, { "id": "oracle-connector-1.0.0", "connector_id": "oracle-connector", "name": "Oracle", "type": "source", "category": "Database", "version": "1.0.0", "description": "The Oracle Connector is used to move data from any Oracle Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/5/50/Oracle_logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.840Z", "updated_date": "2024-06-25T04:38:28.840Z", "live_date": "2024-06-25T04:38:28.840Z" }, { "id": "mssql-connector-1.0.0", "connector_id": "mssql-connector", "name": "MS SQL", "type": "source", "category": "Database", "version": "1.0.0", "description": "The MS SQL Connector is used to move data from any MS SQL Table to the Obsrv platform", "technology": "scala", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/2/29/Microsoft_SQL_Server_Logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:38:28.847Z", "updated_date": "2024-06-25T04:38:28.847Z", "live_date": "2024-06-25T04:38:28.847Z" }, { "id": "aws-s3-connector-0.1.0", "connector_id": "aws-s3-connector", "name": "AWS S3", "type": "source", "category": "File", "version": "0.1.0", "description": "The AWS S3 Connector is used to move data from any S3 Bucket to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/b/bc/Amazon-S3-Logo.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.237Z", "updated_date": "2024-06-25T04:39:21.237Z", "live_date": "2024-06-25T04:39:21.237Z" }, { "id": "azure-blob-connector-0.1.0", "connector_id": "azure-blob-connector", "name": "Azure Blob Store", "type": "source", "category": "File", "version": "0.1.0", "description": "The Azure Blob Store Connector is used to move data from any Azure Blob Container to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/f/fa/Microsoft_Azure.svg", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.302Z", "updated_date": "2024-06-25T04:39:21.302Z", "live_date": "2024-06-25T04:39:21.302Z" }, { "id": "gcs-connector-0.1.0", "connector_id": "gcs-connector", "name": "Google Cloud Storage", "type": "source", "category": "File", "version": "0.1.0", "description": "The GCS Connector is used to move data from any Google Bucket to the Obsrv platform", "technology": "python", "runtime": "spark", "licence": "MIT", "owner": "Sunbird", "iconurl": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/51/Google_Cloud_logo.svg/512px-Google_Cloud_logo.svg.png", "status": "Live", "created_by": "SYSTEM", "updated_by": "SYSTEM", "created_date": "2024-06-25T04:39:21.364Z", "updated_date": "2024-06-25T04:39:21.364Z", "live_date": "2024-06-25T04:39:21.364Z" } ], "count": 7 }}Headers
Section titled “Headers ” X-Powered-By
string
Example
Express Content-Length
integer
Example
250 ETag
string
Example
W/"fa-+eWKIfUxsWBGuJy23qSucgLXke4" Date
string
Example
Tue, 30 Jul 2024 09:55:51 GMT Connection
string
Example
keep-alive Keep-Alive
string
Example
timeout=5Bad Request
Media type application/json
object
Example
{ "id": "api.connectors.list", "ver": "v2", "ts": "2024-07-30T15:13:14+05:30", "params": { "status": "FAILED", "msgid": "4a7f14c3-d61e-4d4f-be78-181834eeff6d", "resmsgid": "02fadde0-8c59-4420-8ab3-56474b01670b" }, "responseCode": "BAD_REQUEST", "result": {}, "error": { "code": "CONNECTORS_LIST_INPUT_INVALID", "message": "#properties/request/properties/filters/properties/status/minItems must NOT have fewer than 1 items" }}Headers
Section titled “Headers ” X-Powered-By
string
Example
Express Content-Length
integer
Example
399 ETag
string
Example
W/"18f-Hsau3RTrCuWgbSoS3cqIWuUq45k" Date
string
Example
Tue, 30 Jul 2024 09:43:14 GMT Connection
string
Example
keep-alive Keep-Alive
string
Example
timeout=5