Fetch cats

GET {{url}}/cats?offset=1&limit=10

API to fetch cats using paginated API. If the client omits the parameter you should use defaults (like offset=0 and limit=10)

Request Params

KeyDatatypeRequiredDescription
offsetnumberList offset
limitnumberMax number of items that respnse should have

RESPONSES

status: OK

{"data":[{"id":1,"name":"Taco","breed":"Abyssinian","owner":{"id":1,"name":"John Doe"}},{"id":2,"name":"Snowball","breed":"Birman","owner":{"id":12,"name":"Stuart Little"}},{"id":3,"name":"Fury","breed":"Birman","owner":{"id":12,"name":"Stuart Little"}}],"pagination":{"offset":1,"limit":3,"total":123}}