oauth

Device

Current oauth HTTP operation. No resource-scope middleware on this operation. Access is resolved for the authenticated user or by the endpoint-specific OAuth checks. Production rate limit: 30 requests per 15-minute window, per client IP. RateLimit headers report the current window; respect Retry-After on 429. Requires an active registered client and only that client’s allowed scopes. Codes expire after 900 seconds; poll no faster than every 5 seconds. The user approves in the browser. No public self-serve client registration is provided.

post/oauth/device

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/oauth/device
  • Auth: none required

Request body

client_idstring required
scopestring

Response

Success

device_codestring required
user_codestring required
verification_uristring required
verification_uri_completestring required
expires_innumber required
intervalnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.