Skip to content

Setup

POST /setup

Creates the first authorized user for the database, which should appear in the users channel in JSON format. The credentials for this user is the username and password in the request body.

Headers:

N/A

Body:

{
    "name": "<username>",
    "password": "<password>"
}

Response:

{
    "message": "User created/<error message>",
    "status": "success/error"
}