I am trying to query users based on skill. I use the POST /api/v2/users/search function.
Question 1: is there any documentation on this search function? I would like to know how what I can do with the several "types" (EXACT, STARTS_WITH, CONTAINS, REGEX, TERM, TERMS, REQUIRED_FIELDS, MATCH_ALL, QUERY_STRING)
Question 2: I am trying to query users that have one or more skills out a list of skills but NO other skill than those. Is that possible?
and then use your scripting language of choice to drop any results with more than 1 skill. If you're looking for an exact set of skills the equality test can be increased to only find people who have exactly those 2, 3, 4 skills, but the more complicated your search is the more it becomes additional post-processing logic.
If your needs are particularly complex and not real-time sensitive because your people's skills don't change that frequently it could be more effective to download all users and their skills from the Users API daily to a repository that handles whatever logic you need, instead of doing specific searches over and over.