User story #3067
closed
User story #3000: Build a REST API to manage all actions in Rudder (CRUD on Nodes, Groups, Directives and Rules)
REST API: Nodes
Added by François ARMAND almost 12 years ago.
Updated over 9 years ago.
Category:
Web - Nodes & inventories
Description
Based on the schema used in #3280, we should add an api to handle nodes.
Node api should :
- List nodes
- List accepted nodes
- List pending nodes
- Accept a pending node
- Refuse a pending node
- Delete an accepted Node.
- Target version changed from 24 to 2.6.0~beta1
- Status changed from 8 to In progress
- Assignee changed from François ARMAND to Arthur ANGLADE
- Subject changed from REST API: list pending nodes to REST API: Nodes
- Description updated (diff)
- Assignee changed from Arthur ANGLADE to Vincent MEMBRÉ
- Priority changed from 4 to 3
I changed the title and description of that issue to fit more with the goal of that issue
- Description updated (diff)
We should be able to list accepted nodes only too
This first version is :
- List nodes
- Get
- /api/nodes
- Two arrays, one containing accepted nodes, the other one pending nodes
- List accepted nodes
- Get
- /api/nodes/accepted
- Array of accepted nodes
- List pending nodes
- Get
- /api/nodes/pending
- Array of pending nodes
- Accept a pending node
- Put
- /api/nodes/accept/id
- the result of the accept node process
- Refuse a pending node
- Put
- /api/nodes/refuse/id
- Result of the refuse node process
- Delete an accepted node
- Delete
- /api/nodes/delete/id
- Result of the delete node process
- 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
- 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