Official comment
Hi,
1. The easiest way is to query users with "Skills" relation:
POST /data/entityQuery
{
"typeName": "User",
"fields": ["Name"],
"where": {
"leftExpression": { "fieldName": "ExternalId" },
"operator": "Equal",
"rightExpression": {"value" : "3f7f08fd-92f0-434d-9b7b-b487cef22d31"}
},
"relations":[ { "name":"Skills", "fields": ["Name"] } ]
}
2. This case is somehow the opposite of the previous one. You can query skills with "UserGroups" relation:
POST /data/entityQuery
{
"typeName": "Skill",
"fields": ["Name"],
"where": {
"leftExpression": { "fieldName": "Name" },
"operator": "Equal",
"rightExpression": {"value" : "Javascript"}
},
"relations":[ { "name":"UserGroups", "fields": ["Name"] } ]
}
Regards.
Comment actions