Project

General

Profile

User story #6470

Updated by François ARMAND almost 9 years ago

We want to add an API to search on nodes based on a query 

 We want to have the same query system like groups so we directly use that json in groups 

 We could have a simpler query mode (just put one query parameter) 



 We want to add "query" parameters to nodes "get" API requests 

 either you can use: 

     query: The full query like groups 

 Or: 

     select: "node" or "nodeAndPolicyServer" (default node) 
     composition: "and/or", default and 
     where: { "objectType" , "attribute", "comparator", "value" } 

 All the node request should now answer with the node model created in 3.0 (api node v5, and use the include params) 

Back