Skip to content

First-run setup state

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

Until done is true, the box’s own screen shows the setup steps. A box that already ran tasks when setup arrived is migrated and counts as done.

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"
]
}

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