Resources API endpoints
Resources are the shared catalog used by every lab: consumables (probe designs, virus constructs, reagents), hardware devices and suppliers. Changes by users without approval rights become approval requests.
Resources
| Resource | What it is | Portals |
|---|---|---|
consumable | The shared catalogue of single-use products, such as probe designs, virus constructs and reagents. | private, public |
hardwaredevice | The shared catalogue of durable devices, such as amplifiers, cameras and lasers. | private, public |
supplier | The shared list of companies and labs that supply consumables, hardware and animals. | 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 |
|---|---|---|
consumableapproval | A request to add or change a shared consumable, reviewed before it takes effect. | private |
hardwaredeviceapproval | A request to add or change a shared hardware device, reviewed before it takes effect. | private |
supplierapproval | A request to add or change a shared supplier, reviewed before it takes effect. | private |
All endpoints follow https://www.brainstem.org/api/{portal}/resources/{resource}/ and support the common query parameters.