GET /api/setup/admin_checklist
Return various "admin checklist" steps and whether they've been completed. You must be a superuser to see this!
You must be a superuser to do this.
## `GET /api/setup/admin_checklist` Return various "admin checklist" steps and whether they've been completed. You must be a superuser to see this! You must be a superuser to do this.
POST /api/setup/
Special endpoint for creating the first user during setup. This endpoint both creates the user AND logs them in and returns a session ID.
engine
schedules
value may be nil, or if non-nil, value must be a valid map of schedule maps for a DB.
allow_tracking
value may be nil, or if non-nil, value must satisfy one of the following requirements: 1) value must be a boolean. 2) value must be a valid boolean string ('true' or 'false').
email
value must be a valid email address.
first_name
value must be a non-blank string.
request
password
Insufficient password strength
name
is_full_sync
site_name
value must be a non-blank string.
token
Token does not match the setup token.
details
is_on_demand
last_name
value must be a non-blank string.
## `POST /api/setup/` Special endpoint for creating the first user during setup. This endpoint both creates the user AND logs them in and returns a session ID. ##### PARAMS: * **`engine`** * **`schedules`** value may be nil, or if non-nil, value must be a valid map of schedule maps for a DB. * **`allow_tracking`** value may be nil, or if non-nil, value must satisfy one of the following requirements: 1) value must be a boolean. 2) value must be a valid boolean string ('true' or 'false'). * **`email`** value must be a valid email address. * **`first_name`** value must be a non-blank string. * **`request`** * **`password`** Insufficient password strength * **`name`** * **`is_full_sync`** * **`site_name`** value must be a non-blank string. * **`token`** Token does not match the setup token. * **`details`** * **`is_on_demand`** * **`last_name`** value must be a non-blank string.
POST /api/setup/validate
Validate that we can connect to a database given a set of details.
engine
value must be a valid database engine.
details
token
Token does not match the setup token.
## `POST /api/setup/validate` Validate that we can connect to a database given a set of details. ##### PARAMS: * **`engine`** value must be a valid database engine. * **`details`** * **`token`** Token does not match the setup token.
Ring routes for api/setup: (GET_admin_checklist POST_ POST_validate)
Ring routes for api/setup: (GET_admin_checklist POST_ POST_validate)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close