Roles
A user must be assigned of the following application roles to execute any of the procedures described on this page:admineditor
Resource Kinds
All references tokind below must be one of:
labsubjecttypeexperiment
List Resources
Each of the following “list” commands returns a table with the following columns:| Column | Description | Data Type |
|---|---|---|
kind | The resource kind. | VARCHAR |
id | ID of the resource. | VARCHAR |
name | Name of the resource. | VARCHAR |
status | Resource status | VARCHAR |
description | Resource description | VARCHAR |
resource_version | Current resource version | INT |
status must be one of ResourceStatus.
Examples
Get YAML for a single resource
| Column | Description | Data Type |
|---|---|---|
kind | The resource kind. | VARCHAR |
id | ID of the resource. | VARCHAR |
yaml | The full configuration (YAML) for a single resource. | VARCHAR |
Examples
Create or update resource
id specified exists, it gets updated, otherwise it will be created.