Start CLI Auth
Begin the device-code flow used by @xuda.ai/cli to sign a user in.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
poll_cli_authpublicPoll the device-code flow for a CLI access token once the user approves.
public_start_paid_bookingpublicHold a time for a visitor with no account and start paying for it on the booking page itself, for a service that takes payment when booking. Every check of a free booking runs first. The price and the currency are the service's own, decided on the server and never sent by the page; the charge is a direct charge on the owner's own connected Stripe account. The hold is extended while the card is typed, and the visitor's details wait on it until the payment is confirmed. Answers the client secret the page's card field needs and which hold to confirm, nothing more.
start_booking_paymentpublicSends a held appointment slot to Stripe so the visitor can pay for it before the booking exists. The charge lands directly on the owner's own connected Stripe account, so the calendar is never the merchant. The hold is extended while the card form is open, because ten minutes is the right answer for an abandoned browser tab and the wrong one for somebody who is paying, and Stripe will not hold a payment page open for less than thirty minutes anyway. Refused for a free service, which should simply be confirmed.
clear_session_logsadminHandles session logs.
get_host_locationuserWhere a server address or host name sits, by its public IP, for the map on the External VPS screen. Gives nothing for a private address or a name that does not resolve.
4 of 4 in Session and CLI auth