getPossibleUserConnections
query.
It returns the list of user contexts who can be invited to join the current user’s network.
Results will be returned with pagination and sorted by the name (ascending by default, the order can be reversed).
The same pagination approach as in other queries is used (for example, getCatalogData).
The following arguments can be used in the query:
Argument | Type | Description | Default |
---|---|---|---|
after | Cursor | Returns results that come after the specified cursor. Should be used together with first parameter. Cannot be used if before is set. | — |
before | Cursor | Returns results that come before the specified cursor. Should be used together with last parameter. Cannot be used if after is set. | — |
first | Integer | Returns up to the first N elements from the list. Required if after parameter is set. Cannot be used together with last . | — |
last | Integer | Returns up to the first N elements from the list. Required if before parameter is set. Cannot be used together with first . | — |
reverse | Boolean | Allows to change the order of the sorting to DESC . | FALSE |
name | String | Provides the possibility to filter by the user context name. Note: it makes sense only if the real user name is sent to Opigno API during the user context synchronization. | — |