Auth

Poll CLI device authorization

post/cli/auth/poll

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/cli/auth/poll
  • Auth: none required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

device_codestring required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/PollCLIAuthInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

expires_ininteger required
intervalinteger required
retry_afterinteger
statusstring required
tokenstring

Example response

{
  "$schema": "https://example.com/api/v1/schemas/PollCLIAuthOutputBody.json"
}

Changes

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