Kittens - Backend Documentation 1.0 Help

Create Cat

POST method/api/v1/cats/create

Create a new cat owned by your user.

Request parameters

{ "name": "Lord Megatron Destroyer of Worlds", "age": 42, "description": "Lord Megatron Destroyer of Worlds, more affectionately known as Wiwi, used to be the general commander of the catworld army during the liberation of France from occupation.", "whenLastSeen": "27/02/1933", "whereLastSeen": "Platz der Republik 1, 11011 Berlin, Germany", "race": "", "furColor": "White", "weight": 420, "isStray": "false", "image": "data:image/...;base64,........", "imageMime": "image/gif" }

Responses

{ "uid": "ffffffff-ffff-ffff-ffff-ffffffffffff" }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "Unauthorized", "status": 401, "reason": "Unauthorized" }
{ "error": "User account is not verified", "status": 403 }
{ "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: 27 January 2025