Yamcs HTTP API
- Activities
- Alarms
- Audit
- Buckets
- Clearance
- Commands
- COP-1
- Database
- Events
- File Transfer
- IAM
- Indexes
- Instances
- Links
- MDB Override
- MDB
- Packets
- Parameter Archive
- Parameter Lists
- Parameter Values
- Processing
- Queues
- Replication
- RocksDB
- Server
- Services
- Sessions
- Stream Archive
- Table
- Time Correlation
- Time
- Timeline
Related
Yamcs Release Notes
Yamcs Server Manual
Source Code Documentation
Download this Document
List TablesΒΆ
List tables
The response will only include fixed columns of the table. Tuples may always add extra value columns.
URI Template
GET /api/archive/{instance}/tables
{instance}
Yamcs instance name.
Response Type
interface ListTablesResponse {
tables: TableInfo[];
}
Related Types
interface TableInfo {
// Table name
name: string;
keyColumn: ColumnInfo[];
valueColumn: ColumnInfo[];
script: string;
histogramColumn: string[];
storageEngine: string;
formatVersion: number;
tablespace: string;
compressed: boolean;
partitioningInfo: PartitioningInfo;
}
interface ColumnInfo {
// Colum name
name: string;
// Column type
type: string;
enumValue: EnumValue[];
// Attribute indicating automatic auto increment upon
// record insertion. Only set for table column info.
autoIncrement: boolean;
}
interface EnumValue {
value: number;
label: string;
}
interface PartitioningInfo {
type: PartitioningType;
timeColumn: string;
timePartitionSchema: string;
valueColumn: string;
valueColumnType: string;
}
enum PartitioningType {
TIME = "TIME",
VALUE = "VALUE",
TIME_AND_VALUE = "TIME_AND_VALUE",
}