Kittens - Backend Documentation 1.0 Help

Cat UID endpoints

GET

GET method/api/v1/cats/{uid}

Get a cat by its UID

Request parameters

Responses

{ "uid": "ffffffff-ffff-ffff-ffff-ffffffffffff", "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", "price": 6942, "owner": "ffffffff-ffff-ffff-ffff-ffffffffffff", "image": "data:image/...;base64,........", "imageMime": "image/gif" }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "Not found", "status": 404, "reason": "Requested path could not be found" }
{ "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" }

PUT

PUT method/api/v1/cats/{uid}

Update your cat's details. Requires authorization

Request parameters

{ "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", "weight": 420, "isStray": "false" }

Responses

{ "uid": "ffffffff-ffff-ffff-ffff-ffffffffffff", "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", "price": 6942, "owner": "ffffffff-ffff-ffff-ffff-ffffffffffff", "image": "data:image/...;base64,........", "imageMime": "image/gif" }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "Unauthorized", "status": 401, "reason": "Unauthorized" }
{ "error": "User account is not verified", "status": 403 }
{ "error": "Not found", "status": 404, "reason": "Requested path could not be found" }
{ "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" }

DELETE

DELETE method/api/v1/cats/{uid}

Delete one of your cats. Requires authorization.

Request parameters

Responses

{ "success": "true" }
{ "error": "Bad Request", "status": 400, "field_errors": [ "email" ] }
{ "error": "Unauthorized", "status": 401, "reason": "Unauthorized" }
{ "error": "Not found", "status": 404, "reason": "Requested path could not be found" }
{ "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