Tools
Start a CLI login (device-code pairing)
How martini login obtains a key without a browser on the same machine. Creates a pairing request and returns a short code plus a poll token. The person opens verificationUrl in the signed-in Martini app, types the code, picks an organization or "as you" (an account key with no organization), and approves; the CLI polls GET /v1/cli/login/{pollToken} until it is handed a fresh mtn_cli_… key (90-day expiry). Send X-Martini-Client: martini-cli/<version> so the approval page offers only what that CLI can collect. No authentication: the CLI has none yet. Rate limited per client.
post/v1/cli/login
Request
- Base URL: https://api.martini.film
- URL: https://api.martini.film/v1/cli/login
- Auth: none required
Request body
Response
The pairing request.
Changes
No recorded changes to this operation across all 1 revision of this API.