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 Data Flows

Retrieve Data Flows

Use the GET method to retrieve data flows in EDS.

GET Request in JSON Format

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

GET Response in JSON Format

The following is a sample response for the 200 OK code:
{ "success": true, "id": {dataflow-id}, "name": "Dataflow 1", "deploymentState": "DRAFT", "entities": { "count": 3, "total": 3, "items": [ { "id": 1, "name": "TCP", "type": "SOURCE", "pluginId": "_VDS_SRC_TCP", "deploymentState": "DRAFT" }, { "id": 2, "name": "Ultra Messaging", "type": "TARGET", "pluginId": "_VDS_TGT_UM", "deploymentState": "DRAFT" }, { "id": 3, "name": "um", "type": "connection", "pluginId": "_VDS_UM_TRANSPORT", "deploymentState": "DRAFT" } ] } }
The following is a sample response for the 404 Not Found code:
{ "success": false, "errors": [ { "code": DATAFLOW_NOT_FOUND, "parameters": [{dataflow-id}], "errorMessage": "Dataflow with Id: {dataflow-id} not found" } ] }
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 dataflow. Exception: {error-message}" } ] }

0 COMMENTS

We’d like to hear from you!