Kittens - Backend Documentation 1.0 Help

Register User

POST method/api/v1/users/register

Create a new user

Request parameters

{ "email": "bob@foo.bar", "username": "Bob", "password": "Bob.Loves.Alice.42", "emailConfirmationBaseUrl": "https://example.com/users/confirm", "description": "I'm bob and i love cats. I live in catworld and have 2^64 cats in my house. Their names are the fibonacci sequence. Except cat number 42 whose name is Megatron.", "pronouns": "hee/hee" }

Responses

{ "username": "Bob", "email": "bob@foo.bar", "uid": "ffffffff-ffff-ffff-ffff-ffffffffffff" }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "User already exists", "status": 401 }
{ "error": "Server Error", "status": 500, "exception": "Baz given, expected Foo or Bar", "trace": "example", "thrownIn": "\App\Foo\Bar\Baz()", "file": "example", "line": 58, "severity": "example" }
Last modified: 14 January 2025