Table of Contents

Search

  1. Preface
  2. Introduction to Edge Data Streaming Custom Entity Types
  3. Managing Custom Entity Types
  4. Custom Entities from Maven Archetypes
  5. REST APIs
  6. HTTP Request and Response Parameters
  7. Sample JSON Requests and Responses
  8. Glossary

Developer Guide

Developer Guide

Retrieve All Data Connections

Retrieve All Data Connections

Use the GET method to retrieve all data connections in EDS.

GET Request in JSON Format

Generate a GET request. For example, the following GET request retrieves all data connections:
GET /api/dataflows/{dataflow-id}/connections Content-Type: application/json Accept: application/json

GET Response in JSON Format

The following are sample responses for the 200 OK code when there are no data flows:
{ "success": true, "total": 0, "count": 0, "items": [] }
{ "total": 2, "count": 2, "success": true, "items": [ { "id": {connection-id-1}, "name": "UM_transport_1", "type": "_VDS_UM_TRANSPORT", "resolution": "UNICAST", "address": "", "daemon": "127.0.0.1:15380", "umMode": "UMS", "umpStoreName": "", "resolverPort": "", "requestTcpPort": "", "transportTcpPort": "", "umConfig": "" }, { "id": {connection-id-2},, "name": "WS_transport_1", "type": "_VDS_WS_TRANSPORT", "wsMode": "ACKNOWLEDGEMENT", "secure": false, "keystorePath": "", "keystore_password": "", "truststorePath": "", "truststorePassword": "", "port": "1234", "healthCheckUrl": "status", "server": "", "advancedConfig": "" } ] }
The following is a sample response for the 500 Internal Server Error code:
{ "success": false, "errors": [ { "code": INTERNAL_SERVER_ERROR, "parameters": [{error-message}], "errorMessage": "Failed to get all connections. Exception : {error-message}." } ] }

0 COMMENTS

We’d like to hear from you!