Yamcs HTTP API
Methods
- 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
- SDLS
- Server
- Services
- Sessions
- Table
- Time Correlation
- Time
- Timeline
Related
Yamcs Release Notes
Yamcs Server Manual
Source Code Documentation
Download this Document
Save ViewΒΆ
Create or update a view
URI Template
POST /api/timeline/{instance}/views
PUT /api/timeline/{instance}/views/{id}
{instance}Yamcs instance name
Request Body
interface SaveViewRequest {
// Optional view identifier.
//
// If not set, an ID will be assigned by the server.
//
// If set, it should be a valid UUID. If a view with
// this identifier already exists, it is replaced.
id: string;
// View name
name: string;
// View description
description: string;
// The bands belonging to this view
bands: string[];
}
Response Type
interface TimelineView {
// Yamcs instance name
instance: string;
// View identifier. This is a UUID
id: string;
// View name
name: string;
// View description
description: string;
// array of bands
bands: TimelineBand[];
}
Related Types
interface TimelineBand {
// Yamcs instance name
instance: string;
// Band identifier (UUID)
id: string;
// Band name
name: string;
// User who has created the band
username: string;
// If true, all users have access to this band, otherwise only the user who has created it
shared: boolean;
// The band contains only items from this source
source: string;
// The band contains only items with these tags. If the list is empty,
// all items from the given source are part of the band.
tags: string[];
// If specified, the band shows only items matching this filter
filter: string;
// Type of band
type: TimelineBandType;
// Detailed description of this band
description: string;
// Additional properties used by the Yamcs Web UI for rendering purposes.
properties: {[key: string]: string};
// Mission-specific custom data. Unlike `properties`, this field is ignored
// by the Yamcs Web UI.
extra: {[key: string]: string};
}
enum TimelineBandType {
TIME_RULER = "TIME_RULER",
ITEM_BAND = "ITEM_BAND",
SPACER = "SPACER",
COMMAND_BAND = "COMMAND_BAND",
PARAMETER_PLOT = "PARAMETER_PLOT",
PARAMETER_STATES = "PARAMETER_STATES",
}