Account

Register the first user (admin) on the server. Will not do anything if an admin is already confirmed

Changed on
post/api/Account/register

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Account/register
  • Auth
    API key in header x-api-key

Request body

usernamestring required
emailstring nullable
passwordstring required

Response

OK

idinteger
oidcIdstring nullable
usernamestring nullable
emailstring nullable
rolesstring[] nullable
tokenstring nullable
refreshTokenstring nullable
apiKeystring nullable
kavitaVersionstring nullable
identityProvider0 | 1

Members:

  • 0 — Kavita
  • 1 — OpenID Connect (OpenIdConnect)
createdstring date-time
createdUtcstring date-time
coverImagestring nullable
primaryColorstring nullable
secondaryColorstring nullable

Changes

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • info

      added the required property / to the response with the status (media type: text/plain)

    • info

      added the required property / to the response with the status (media type: application/json)

    • info

      added the required property / to the response with the status (media type: text/json)

    • info

      added the required property / to the response with the status (media type: text/plain)

    • info

      added the required property / to the response with the status (media type: application/json)

    • info

      added the required property / to the response with the status (media type: text/json)