demoapi

command
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Command demoapi runs the demo API on loopback.

It is a fixture with no authentication and deliberate failure-injection knobs, which is fine on 127.0.0.1 and an obvious foot-gun anywhere else — so binding a non-loopback address takes --unsafe-bind, and says why.

task server
curl 'localhost:8099/apps?limit=3&q=region:eu'
curl 'localhost:8099/apps?limit=3&latency=2s'   # watch a screen wait
curl -X POST localhost:8099/apps/app-00007/sync

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL