I am trying to query the Packetfence api for a list of users with their 
roles/categories.

If I GET a single user ie. https://[packetfence_address]:9999/api/v1/user/admin 
I get the category field back which is great
But when I GET https://[packetfence_address]:9999/api/v1/users or POST 
https://[packetfence_address]:9999/api/v1/users/search 

I have tried including the fields parameter with "category", "category_id" and 
"category_name" but I cant seem to find how to get this value back in the lists

Is there a specific field I need to use? Or any other way of getting the 
users's category without having to make a get request to each user? 


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to