Authentication

Allows a non-admin user to reset their password without web access to the main site

Changed on

Sends a new password to the account's email address. The auth value here is a one-time reset token (sha256(username . sha256(email))), not a session token or API key, which is why no security scheme applies. Send this as a POST where possible -- the token is a credential and a GET puts it in server logs, proxy logs and browser history where it can be reused. Note the request also triggers a side effect (the reset email), so avoid link prefetchers.

get/me/lost-password

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/me/lost-password
  • Auth
    none required

Query parameters

authstring required

One-time password reset token: sha256(username . sha256(email)). Not a session token.

Response

Success

successstring

Changes

    • breaking

      the query request parameter auth became required

    • info

      api operation id lostPasswordMe was added

    • 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

      endpoint added