Possible to isolate data of users with specific attributes? (Postman API)
Hi all!
I'm currently exploring building APIs using Postman. With the resources available, I was able to call User data and Attributes separately using the following actions:
GET /d2l/api/lp/(version)/users/
GET /d2l/api/lp/(version)/attributes/users/(userId)
I wasn't able to find a way to generate a list of ALL users and their attributes. All the attribute actions seem to target a specific user. Is it possible to get a list of UserId of users with specific attributes?
Any advice or resources will be appreciated!
Best,
Philina
Best Answer
-
Hi Philina,
As you have noted there is no API call you can make to retrieve ann the attribute data published for all users. Rather you can retrieve the User Attribute Values Brightspace Data Set to return a list of all values for all defined user attributes for each user in your organization. See
The Brightspace DataSets and Advanced data sets can be requested using the API. See
The following GitHub resource is a demonstration of how to retrieve data from Brightspace via the Data Hub APIs
Hope that helps!
Answers
-
Hi Chris!
Thank you for the answer and the resources! These are super helpful!