Get QueryAssist
Request
GET <REST API URL>/usergroups/queryAssist?query=string&caret=int
Parameter | Description |
---|---|
query | Filter query. See Query Syntax for the definition of supported logical operations syntax. Following fields and tuples are supported for UserGroups: access(project: project, with: role) — Has the given role in the given project access(project: project, with: permission) — Has the given permission in the given project access(project: project) — Has any permission in the given project access(with: role) — Has the given role in some project access(with: permission) — Has the given permission in some project has: ownRole — Groups with own roles has: subgroup — Groups with subgroups has: icon — All groups with an icon id: value — A group with the given id is: autoJoin — All groups with enabled auto join name: groupName — A group with the given name ownRole: role — Groups that have the given role as an own role parent: group — Subgroups of the given group project: project — All groups from the given project subgroup: group — A group that contains given group as subgroup |
caret | Query parameter of type int. |
Response
Response body
queryAssist
{ "query": string, "caret": int, "styleRanges": [queryStyleRange, ...], "suggestions": [querySuggestItem, ...] }