Skip to content
Get started

API Reference

Libraries

npm install @onkernel/hypeman
go get -u 'github.com/kernel/hypeman-go@v0.0.1'

API Overview

Health

Health check
get/health

Images

List images
get/images
Get image details
get/images/{name}
Delete image
delete/images/{name}

Instances

List instances
get/instances
Get instance details
get/instances/{id}
Stop and delete instance
delete/instances/{id}
Restore instance from standby
post/instances/{id}/restore
Start a stopped instance
post/instances/{id}/start
Stop instance (graceful shutdown)
post/instances/{id}/stop
Stream instance logs (SSE)
get/instances/{id}/logs
Get filesystem path info
get/instances/{id}/stat

InstancesVolumes

Attach volume to instance
post/instances/{id}/volumes/{volumeId}
Detach volume from instance
delete/instances/{id}/volumes/{volumeId}

Volumes

List volumes
get/volumes
Create volume from archive
post/volumes/from-archive
Get volume details
get/volumes/{id}
Delete volume
delete/volumes/{id}

Ingresses

List ingresses
get/ingresses
Create ingress
post/ingresses
Get ingress details
get/ingresses/{id}
Delete ingress
delete/ingresses/{id}

Builds

List builds
get/builds
Get build details
get/builds/{id}
Cancel build
delete/builds/{id}
Stream build events (SSE)
get/builds/{id}/events