How far Bottle can go
GET
/rounds/autonomy
const url = 'https://example.com/rounds/autonomy';const options = { method: 'GET', headers: {cookie: '__Host-bottle.session_token=<__Host-bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/rounds/autonomy \ --cookie __Host-bottle.session_token=<__Host-bottle.session_token>Each decision, its level, and what stands in the way of the next one.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Levels
Media typeapplication/json
object
levels
required
Array<object>
object
decision
required
string
level
required
string
nextLevel
required
string | null
notReady
required
Array<string>
checks
required
Array<object>
object
check
required
string
now
required
integer
needed
required
integer
covers
required
string
Example
{ "levels": [ { "decision": "plan", "level": "background", "nextLevel": "background", "notReady": [ "tooFewDays" ], "checks": [ { "check": "comparedDays", "covers": "tooFewDays" } ] } ]}Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Moving up needs the subscription paid up
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not the owner in the office app, or on a plan without rounds
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not open to this business
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}That level is not open yet
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Validation failed
Media typeapplication/json
object
error
required
string
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{ "error": "validation", "issues": [ { "path": "email", "message": "Invalid email" } ]}