Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Conversation

VinceMacBuche
Copy link
Member

@@ -102,9 +102,9 @@ HTTP/1.1 200 OK

@apiParam (Mono) {Query} query A query json object like we use as query in NodeGroups. A three field json object { 'composition' : 'and', 'select' : 'node', 'where' : [{"objectType":"node","attribute":"OS","comparator":"eq","value":"Linux"}]}, That parameter can be replace by the three following (select, composition, where)
@apiParam (Mono) {String} [composition=and] Boolean operator to use between each criteria. Other value is "And"
@apiParam (Mono) {String} [select=node] What kid of data we wnt to include. Here we can get policy servers/relay by setting 'nodeAndPolicyServer'
@apiParam (Mono) {String} [select=node] What kid of data we want to include. Here we can get policy servers/relay by setting 'nodeAndPolicyServer'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/kid/kinf/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er, kind.

@jooooooon
Copy link
Member

Aside from these comments this looks good!

@VinceMacBuche VinceMacBuche force-pushed the bug_8192/better_document_node_api_include_detail_always_returns_default branch from 6f00611 to 5780677 Compare May 3, 2016 13:05
@VinceMacBuche
Copy link
Member Author

PR updated

@VinceMacBuche VinceMacBuche merged commit b0e6ca2 into Normation:master May 3, 2016
@VinceMacBuche
Copy link
Member Author

All right, thanks @jooooooon ! Merging this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants