Authentication

Register as a new user (if allowed)

Changed on

Does not use authentication. Requires username, password and email.

post/register

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/register
  • Auth
    none required

Query parameters

usernamestring
passwordstring

hash('sha256', password) Deprecated: for privacy, send this in a form or JSON request body instead of the query string (query values land in server/proxy logs and browser history). Query-string support is retained for backward compatibility.

emailstring
fullnamestring

Request body

usernamestring required
passwordstring required

hash('sha256', password) Deprecated: for privacy, send this in a form or JSON request body instead of the query string (query values land in server/proxy logs and browser history). Query-string support is retained for backward compatibility.

emailstring required
fullnamestring

Response

Success or error

successstring

Changes

    • breaking

      removed the media type multipart/form-data from the request body

    • info

      api operation id register was added

    • info

      the query request parameter email became optional

    • info

      the query request parameter password became optional

    • info

      the query request parameter username became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status