Yamcs HTTP API
- Alarms
- Audit
- Buckets
- Clearance
- Commands
- COP-1
- Database
- Events
- File Transfer
- IAM
- Indexes
- Links
- Management
- MDB Override
- MDB
- Packets
- Parameter Archive
- Processing
- Queue
- Replication
- Rocks DB
- Server
- Sessions
- Stream Archive
- Table
- Time Correlation
- Time
- Timeline
Related
Yamcs Release Notes
Yamcs Server Manual
Source Code Documentation
Download this Document
Get ServiceΒΆ
Get a service
URI Template
GET /api/services/{instance}/{name}
{instance}
Yamcs instance name. Or _global for system-wide services.
{name}
Service name
Response Type
interface ServiceInfo {
// Yamcs instance name
instance: string;
// Service name
name: string;
// Service state
state: ServiceState;
// Java class name
className: string;
// Processor name (in case this is a processor service)
processor: string;
// Short failure message when `state` is FAILED.
failureMessage: string;
// Stacktrace when `state` is FAILED.
failureCause: string;
}
Related Types
enum ServiceState {
// A service in this state is inactive. It does minimal work and
// consumes minimal resources.
NEW = "NEW",
// A service in this state is transitioning to ``RUNNING``.
STARTING = "STARTING",
// A service in this state is operational.
RUNNING = "RUNNING",
// A service in this state is transitioning to ``TERMINATED``.
STOPPING = "STOPPING",
// A service in this state has completed execution normally.
// It does minimal work and consumes minimal resources.
TERMINATED = "TERMINATED",
// A service in this state has encountered a problem and may
// not be operational. It cannot be started nor stopped.
FAILED = "FAILED",
}