Search the docs
Menu
Updated Edit on GitHub

Console: setup-guide

Copy as Markdown

These routes are on the console, port 3375. They take an API token as Authorization: Bearer ndt_...; see API tokens.

The setup guide a new install shows its first admin on the overview.

GET /api/setup-guide

Show the setup guide's steps and which of them the server sees done.

visible says whether the overview shows the guide to your account. A step is done when the server sees it done, not when someone ticks it, and an account gets only the steps it may do itself.

Needs server.config. neodesk setup-guide status calls it.

200: Done (application/json)

Field Type Required
success true yes
data SetupGuideStatus yes
Error When
401 No session or API token, or one that is not valid (code session_required or token_invalid)
403 The account or the token may not do this, or a write from a browser came without a good CSRF token

POST /api/setup-guide/hide

Hide the setup guide on the overview for your account.

POST /api/setup-guide/show brings it back. Answers the guide's status, as GET /api/setup-guide does.

Needs server.config. neodesk setup-guide hide calls it.

200: Done (application/json)

Field Type Required
success true yes
data SetupGuideStatus yes
Error When
401 No session or API token, or one that is not valid (code session_required or token_invalid)
403 The account or the token may not do this, or a write from a browser came without a good CSRF token

POST /api/setup-guide/show

Show the setup guide on the overview for your account again.

Answers the guide's status, as GET /api/setup-guide does.

Needs server.config. neodesk setup-guide show calls it.

200: Done (application/json)

Field Type Required
success true yes
data SetupGuideStatus yes
Error When
401 No session or API token, or one that is not valid (code session_required or token_invalid)
403 The account or the token may not do this, or a write from a browser came without a good CSRF token

Type to search pages, sections, commands and settings.