Basic API Endpoints

GET

method

Description:

Gets list of cats

Response:

					
					[{
    "id": string,
    "name": string,
    "type": string,
    "legs": number,
    "tail": boolean,
	"color": string,
	"image": string,
	"owner": string | null,
	"created_at": string,
	"deleted_at": string | null,
	"updated_at": string
}]
				

GET

method

Description:

Get a specific cat by ID

Response:

					
					{
    "id": string,
    "name": string,
    "type": string,
    "legs": number,
    "tail": boolean,
	"color": string,
	"image": string,
	"owner": string | null,
	"created_at": string,
	"deleted_at": string | null,
	"updated_at": string
}