Biome

POST /biome/register

Changed on

Create new user with username and password credentials

Request

  • Base URL
    http://localhost:9000/api
  • URL
    http://localhost:9000/api/biome/register
  • Auth
    none declared

Headers

SplinterProtocolVersioninteger
Example:2

The protocol version which the client can understand. If not provided, the node will respond using its latest protocol version.

Request body

usernameunknown required
hashed_passwordunknown required

Example request

{
  "username": "alice@acme.com",
  "hashed_password": "F4AABE0B40C9ABB8B6FD2EEACB39C965"
}

Response

User created successfully

messagestring

Example response

{
  "message": "User created successfully"
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status