/api/setup

POST /api/setup

Changed on

Special endpoint for creating the first user during setup. This endpoint both creates the user AND logs them in and returns a session ID. This endpoint can also be used to set specific settings from the setup flow.

post/api/setup

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

tokenstring required

value must be a non-blank string.

Response

Successful response

Changes

    • breaking

      removed subschema #1 subschema #2 from the / request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the / request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the / request property oneOf list

    • info

      added subschema #1 subschema #2 to the / request property anyOf list

    • info

      added subschema #1 subschema #2 to the / request property anyOf list

    • info

      added subschema #1 subschema #2 to the / request property anyOf list

    • breaking

      api path removed without deprecation

    • info

      endpoint added