Moku REST API
The Moku Scripting API is a RESTful HTTP interface served by the Moku device itself. A client first POSTs an empty JSON object to moku/claim_ownership to mint a Moku-Client-Key, then POSTs JSON parameter objects to /api// for every subsequent operation. Responses are a uniform envelope of success, code, messages and data. Because the API server runs on the customer's own hardware, there is no vendor-hosted base URL — the base URL is the device's IP address on the local network (IPv4, or a bracketed IPv6 link-local address over USB).