Project

General

Profile

Actions

User story #10299

closed

API Doc missing possibilities of New Group's query syntax

Added by Janos Mattyasovszky over 7 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Documentation
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)


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #6221: Format of the query to update groups via API is not documentedRejectedFrançois ARMANDActions
Actions

Also available in: Atom PDF