Personal Attributes API endpoints
Personal attributes are the lab’s own resources: setups, inventories, behavioral assays, data storage, licenses and protocols. They are shared with groups rather than projects, and each has invitation endpoints for members and groups.
Resources
| Resource | What it is | Portals |
|---|---|---|
setup | A physical rig, maze or apparatus in the lab, with the equipment installed in it. | private, public |
inventory | A place where the lab keeps track of its consumable stock. | private, public |
behavioralassay | The lab’s own implementation of a behavioral paradigm: how the task is actually run. | private, public |
datastorage | Where session data lives, how it can be reached and how it is organized. | private, public |
license | A regulatory authorization the lab works under, such as an animal research approval. | private, public |
protocol | A written method the lab reuses, such as a standard operating procedure. | private, public |
Supporting endpoints
Approval requests, membership invitations and link tables. Most workflows never call these directly; the main resources create and resolve them.
| Resource | What it is | Portals |
|---|---|---|
behavioralassaygroupmembershipinvitation | Table to store invitations for groups to join a behavioral assay. When any user in the group accepts / rejects the invitation, this record will be deleted. | private |
behavioralassaymembershipinvitation | Table to store invitations for members to join a behavioral assay. When the user accepts / rejects the invitation, this record will be deleted. | private |
datastoragegroupmembershipinvitation | Table to store invitations for groups to join a data storage. When any user in the group accepts / rejects the invitation, this record will be deleted. | private |
datastoragemembershipinvitation | Table to store invitations for members to join a data storage. When the user accepts / rejects the invitation, this record will be deleted. | private |
inventorygroupmembershipinvitation | Table to store invitations for groups to join an inventory. When any user in the group accepts / rejects the invitation, this record will be deleted. | private |
inventorymembershipinvitation | Table to store invitations for members to join an inventory. When the user accepts / rejects the invitation, this record will be deleted. | private |
licensegroupmembershipinvitation | Table to store invitations for groups to join a license. When any user in the group accepts / rejects the invitation, this record will be deleted. | private |
licensemembershipinvitation | Table to store invitations for members to join a license. When the user accepts / rejects the invitation, this record will be deleted. | private |
protocolgroupmembershipinvitation | Protocol group membership invitation records. | private |
protocolmembershipinvitation | Protocol membership invitation records. | private |
setupgroupmembershipinvitation | Table to store invitations for groups to join a data storage. When any user in the group accepts / rejects the invitation, this record will be deleted. | private |
setupmembershipinvitation | Table to store invitations for members to join a data storage. When the user accepts / rejects the invitation, this record will be deleted. | private |
All endpoints follow https://www.brainstem.org/api/{portal}/personal_attributes/{resource}/ and support the common query parameters.