...
Note: This API is available only to administrators.
Get a batch of Headers for Users and Groups
Synapse provides a batch UserGroupHeader service to fetch information about a collection of users or groups, specified by Synapse IDs. UserGroupHeaders contain a user's name, e-mail address, display name, and picture URL, when available.
Code Block |
---|
GET |
...
https://repo-staging.sagebase.org/repo/v1/userGroupHeaders/batch?ids=1001,819
|
Note that ids are specified as request parameters at the end of the URL, separated by commas. In the example above, we are fetching headers for Synapse IDs 1001 and 819.
More Examples
Add a particular user with full access and identified individuals with read-only access to a project.
...