Table of Contents

Search

  1. Preface
  2. Introduction to Vibe Data Stream 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

Associate Source Services with Node Groups

Associate Source Services with Node Groups

Use the POST method to associate a source service with node groups in VDS.

POST Request in JSON Format

Generate a POST request. For example, the following POST request associates source services with node groups:
POST /api/dataflows/<dataflow-id>/sources/<source-id>/associatenodegroups Content-Type: application/json Accept: application/json

POST Body in JSON Format

{ "nodeGroups":[nodegroupId] }
{ "nodeGroups":[107] }

POST Response in JSON Format

The following is a sample response:
"success": true, "total": 1, "count": 1, "items": [ { "id": 107, "name": "nodegroup1", "success": true, "type": "STATIC", "nodes": [ { "id": 106, "name": "node1" } ] } ] }

0 COMMENTS

We’d like to hear from you!