Skip to content

Finish setup

POST
/setup/finish
curl --request POST \
--url http://127.0.0.1:7700/api/setup/finish \
--header 'Authorization: Bearer <token>'

Owner only. Marks setup done, so the box’s own screen shows the home screen.

The setup state.

Media typeapplication/json
object
done
required
boolean
finishedAt
string | null format: date-time
migrated

The box already ran tasks when setup arrived

boolean
steps
required
object
key
additional properties
object
at
string format: date-time
data
suggested
required
Array<string>

Example

{
"suggested": [
"welcome",
"network",
"safety",
"folders",
"apps",
"keys",
"updates",
"phone"
]
}

The owner’s route, called by someone who is not the box’s own screen or a device paired as the owner.

Media typeapplication/json
object
error
required

What went wrong

string

Example

{
"error": "only the box's own screen or the owner's paired device can do this"
}

GurtOS is open source under the Apache License 2.0.Source code on GitHub.