Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
This is a roll-up JIRA to create a REST API for the Agent per this discussion:
Child JIRA's for each REST resource can hang off this one. The following REST access points have been discussed:
- Add Adaptor:
POST /rest/v1.0/adaptor HTTP/1.0 Accept: text/plain Content-Type: application/json { "RecordType" : "[recordType]", "Cluster": "[clusterName]", [adaptor configs including offset, other tags ...] }
Returns: adaptor metadata including id
- Get Adaptor by id:
GET /rest/v1/adaptor/[id] HTTP/1.0
- Remove Adaptor by id:
DELETE /rest/v1/adaptor/[id] HTTP/1.0
- List all adaptors:
GET /rest/v1/adaptor HTTP/1.0
- Help
GET /rest/v1/help HTTP/1.0
- Statistics for all adaptors
GET /rest/v1/adaptorStats HTTP/1.0
- Statistics for a single adaptor by id
GET /rest/v1/adaptorStats/[id] HTTP/1.0
Attachments
There are no Sub-Tasks for this issue.