Actions
User story #10299
closedAPI Doc missing possibilities of New Group's query syntax
Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Documentation
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
Hi,
At: https://www.rudder-project.org/rudder-api-doc/#api-Groups-createGroup
The formatting of the "query" option is missing:
query (optional) - JSON - Query to get Nodes. Empty Query is possible, but this group will not have nodes anymore
But according to an existing group this has a format of:
'query' => { 'composition' => 'And', 'where' => [ { 'attribute' => 'name.value', 'objectType' => 'serializedNodeProperty', 'comparator' => 'eq', 'value' => 'Key=Value' } ], 'select' => 'node' },
The possible formats seems to be missing from the API Doc (a search for serializedNodeProperty
does not show any hits in the API docs)
Actions