Users API endpoints

The Users app exposes accounts, groups, laboratories and the invitation and request records that manage membership.

Resources

ResourceWhat it isPortals
userA person with a BrainSTEM account, who receives roles directly or through groups.private, public
groupA set of users, such as a lab or a team, that can be given a role as one.private, public
laboratoryLaboratory records.private, public

Supporting endpoints

Approval requests, membership invitations and link tables. Most workflows never call these directly; the main resources create and resolve them.

ResourceWhat it isPortals
groupmembershipinvitationGroup membership invitation records.private
groupmembershiprequestGroup membership request records.private
pendinginvitationAn invitation by email to someone without an account yet, for a role on a group, project or personal attribute; it takes effect when they sign up.private

All endpoints follow https://www.brainstem.org/api/{portal}/users/{resource}/ and support the common query parameters.