Project

General

Profile

Actions

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.

Status:
Released
Priority:
2
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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
Actions #1

Updated by Vincent MEMBRÉ almost 12 years ago

A first version of the API (based on the same format as #3280):

  • List Groups
    • GET
    • /api/groups
    • Answer: list of availables Directives with following format :
      "group":{
        "id": id
        "displayName": name
      }
      

  • 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
Actions #2

Updated by Vincent MEMBRÉ almost 12 years ago

  • Status changed from In progress to 10
  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE

Going to functionnal review for this first version.

Actions #3

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.6.0~beta1 to 2.6.0~rc1
Actions #4

Updated by Jonathan CLARKE over 11 years ago

  • Target version changed from 2.6.0~rc1 to 2.7.0~beta1
Actions #5

Updated by Jonathan CLARKE over 11 years ago

  • Category changed from 13 to API
Actions #6

Updated by François ARMAND over 11 years ago

  • Status changed from 10 to Pending technical review
  • Assignee changed from Jonathan CLARKE to François ARMAND
Actions #7

Updated by Vincent MEMBRÉ over 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #8

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #9

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF