User story #3295
closed
User story #3000: Build a REST API to manage all actions in Rudder (CRUD on Nodes, Groups, Directives and Rules)
Rest API : Groups
Added by Vincent MEMBRÉ almost 12 years ago.
Updated over 9 years ago.
Description
we should add an API based on the same model used for Rules (#3280) to manage Groups
A first version of the API would be
- List Groups
- Display Group Detail
- Delete Groups
- Clone Groups
- Enable Groups
- Disable Groups
A first version of the API (based on the same format as #3280):
- See a Group Details
- GET
- /api/groups/id
- Answer: group information, based on the following format :
{"group":{
"id": Group id
"displayName": Group name,
"description": Group description,
"query": query to fetch nodes,
"nodeIds": nodes in the group,
"isDynamic":boolean,
"isEnabled":boolean,
"isSystem":boolean
} }
- Delete Group
- DELETE
- /api/groups/delete/id
- Answer: The rule has been deleted
- Clone Group
- Put
- /api/groups/clone/id
- Answer: The new created Group details (on the same format than the rule details)
- Enable Group
- Put
- /api/groups/enable/id
- Answer : The Group has been enabled
- Disable Group
- Put
- /api/groups/disable/id
- Answer: The rule has been disabled
- Status changed from In progress to 10
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
Going to functionnal review for this first version.
- Target version changed from 2.6.0~beta1 to 2.6.0~rc1
- Target version changed from 2.6.0~rc1 to 2.7.0~beta1
- Category changed from 13 to API
- Status changed from 10 to Pending technical review
- Assignee changed from Jonathan CLARKE to François ARMAND
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
- Tracker changed from Enhancement to User story
Also available in: Atom
PDF