docs(nav): add a User Guide Server section and move the Python API under Developer

This commit is contained in:
imSp4rky
2026-12-04 18:33:07 -07:00
parent d1b2395313
commit 34c8fabe6f
7 changed files with 40 additions and 37 deletions
+12 -13
View File
@@ -1,19 +1,18 @@
# REST API Overview
# Server Overview
unshackle ships with a built-in HTTP server. Alongside the command-line tool, you
can operate `unshackle serve` and drive the same download engine over a REST API:
searching services, listing titles and tracks, queueing downloads, watching live
progress, and browsing history, all as JSON over HTTP.
`unshackle serve` starts an HTTP server. The server can give the download engine of the
command-line tool as a REST API, and your CDM devices to other machines. The
[server modes](#server-modes) select which of the two it gives.
This page explains what the API is for, how to start the server, where it listens,
and how the endpoints are organised. Later pages cover each area in depth.
This page is for the operator of the server. The other pages of this section tell you how
to set the [API keys](authentication.md), how to watch the server from the
[dashboard](dashboard.md), and how a [`dl --remote` client](../../guide/remote-sessions.md)
connects to it.
!!! info "Who this section is for"
The REST API is for people who make automation, dashboards, or remote
clients on top of unshackle. If you only download the occasional title, the
[command-line tool](../../guide/cli-reference.md) does everything the API does
and is simpler to use. Reach for the API when you want a long-running service, a
job queue, or a web front-end.
!!! info "Pages for client developers"
To write a client for the REST API, start with the [REST API Quick Start](quickstart.md).
[Where to go next](#where-to-go-next) lists the other client pages. To download a title,
you do not need the server: the [command-line tool](../../guide/cli-reference.md) is simpler.
## What the API is for