Random utilty endpoints for things that don't belong anywhere else in particular, e.g. endpoints for certain admin page tasks.
Random utilty endpoints for things that don't belong anywhere else in particular, e.g. endpoints for certain admin page tasks.
GET /api/util/random_token
Return a cryptographically secure random 32-byte token, encoded as a hexadecimal string.
Intended for use when creating a value for embedding-secret-key
.
## `GET /api/util/random_token` Return a cryptographically secure random 32-byte token, encoded as a hexadecimal string. Intended for use when creating a value for `embedding-secret-key`.
GET /api/util/stats
Anonymous usage stats. Endpoint for testing, and eventually exposing this to instance admins to let them see what is being phoned home.
You must be a superuser to do this.
## `GET /api/util/stats` Anonymous usage stats. Endpoint for testing, and eventually exposing this to instance admins to let them see what is being phoned home. You must be a superuser to do this.
POST /api/util/password_check
Endpoint that checks if the supplied password meets the currently configured password complexity rules.
password
Insufficient password strength## `POST /api/util/password_check` Endpoint that checks if the supplied password meets the currently configured password complexity rules. ##### PARAMS: * **`password`** Insufficient password strength
Ring routes for api/util: (GET_logs GET_random_token GET_stats POST_password_check)
Ring routes for api/util: (GET_logs GET_random_token GET_stats POST_password_check)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close